aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-12-14 22:05:57 +0000
committerGerrit Code Review <review@openstack.org>2015-12-14 22:05:57 +0000
commit8841ad7bbb49eac406fcde61bd23aa79ba210b24 (patch)
treecc71ebcf73ecfe087df54053937bf7eecf5d377b
parent64c2ca04a14ef8e31a861fa394422731d9ca897f (diff)
parent2b74a3b53293814edc2dd77cff23d1c1a52fcbba (diff)
Merge "Add output for host entries"
-rw-r--r--overcloud.yaml6
-rw-r--r--puppet/all-nodes-config.yaml6
2 files changed, 12 insertions, 0 deletions
diff --git a/overcloud.yaml b/overcloud.yaml
index aa150a54..f9174439 100644
--- a/overcloud.yaml
+++ b/overcloud.yaml
@@ -1538,3 +1538,9 @@ outputs:
SwiftInternalVip:
description: VIP for Swift Proxy internal endpoint
value: {get_attr: [VipMap, net_ip_map, {get_param: [ServiceNetMap, SwiftProxyNetwork]}]}
+ HostsEntry:
+ description: |
+ The content that should be appended to your /etc/hosts if you want do get
+ hostname-based access to the deployed nodes (useful for testing without
+ setting up a DNS).
+ value: {get_attr: [allNodesConfig, hosts_entries]}
diff --git a/puppet/all-nodes-config.yaml b/puppet/all-nodes-config.yaml
index 2bc519bb..3908afee 100644
--- a/puppet/all-nodes-config.yaml
+++ b/puppet/all-nodes-config.yaml
@@ -245,3 +245,9 @@ outputs:
description: The ID of the allNodesConfigImpl resource.
value:
{get_resource: allNodesConfigImpl}
+ hosts_entries:
+ description: |
+ The content that should be appended to your /etc/hosts if you want do get
+ hostname-based access to the deployed nodes (useful for testing without
+ setting up a DNS).
+ value: {get_attr: [allNodesConfigImpl, config, hosts]}