aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/all-nodes-config.yaml
diff options
context:
space:
mode:
authorJiri Stransky <jistr@redhat.com>2015-03-25 15:38:38 +0100
committerJiri Stransky <jistr@redhat.com>2015-03-25 15:38:38 +0100
commitf9b98d4c576d84be7167f1b728179d32a018a1a1 (patch)
tree3cda4612aa56f27e3f77f85568043a410ce20203 /puppet/all-nodes-config.yaml
parent5ddcfb66554a00e405351fee770892d219123b31 (diff)
Implement mongo_node_ips hiera key
We need a list of hosts where MongoDB is supposed to run (as a list of IP addresses, not names) to implement MongoDB support in overcloud. Change-Id: I4b80f13be7e50630314d0642fa32b7763b6a2921
Diffstat (limited to 'puppet/all-nodes-config.yaml')
-rw-r--r--puppet/all-nodes-config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/puppet/all-nodes-config.yaml b/puppet/all-nodes-config.yaml
index 7fca449e..55acb4b7 100644
--- a/puppet/all-nodes-config.yaml
+++ b/puppet/all-nodes-config.yaml
@@ -6,6 +6,8 @@ parameters:
type: comma_delimited_list
controller_hosts:
type: comma_delimited_list
+ controller_ips:
+ type: comma_delimited_list
block_storage_hosts:
type: comma_delimited_list
object_storage_hosts:
@@ -52,6 +54,10 @@ resources:
list_join:
- ','
- {get_param: controller_names}
+ mongo_node_ips:
+ list_join:
+ - ','
+ - {get_param: controller_ips}
outputs:
config_id: