diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-10-19 13:55:42 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-10-19 13:55:42 +0000 |
commit | e86706f0f6c589ed8baeb9616b128a738b330a94 (patch) | |
tree | 65cb3b11b74addac0c4cca94d9988c672cfc0477 /manifests/profile/base/mistral.pp | |
parent | b078fcd39c414d1f897ae559ea11a0ce4b6b9c25 (diff) | |
parent | 597194a4199b34e1389b26f080ae1fefccbca924 (diff) |
Merge "Add port to rabbitmq node ip list"
Diffstat (limited to 'manifests/profile/base/mistral.pp')
-rw-r--r-- | manifests/profile/base/mistral.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/profile/base/mistral.pp b/manifests/profile/base/mistral.pp index 9986d22..dcd9d0b 100644 --- a/manifests/profile/base/mistral.pp +++ b/manifests/profile/base/mistral.pp @@ -30,11 +30,16 @@ # [*rabbit_hosts*] # list of the rabbbit host IPs # Defaults to hiera('rabbitmq_node_ips') +# +# [*rabbit_port*] +# IP port for rabbitmq service +# Defaults to hiera('mistral::rabbit_port', 5672) class tripleo::profile::base::mistral ( $bootstrap_node = hiera('bootstrap_nodeid', undef), $step = hiera('step'), $rabbit_hosts = hiera('rabbitmq_node_ips', undef), + $rabbit_port = hiera('mistral::rabbit_port', 5672), ) { if $::hostname == downcase($bootstrap_node) { $sync_db = true @@ -44,7 +49,7 @@ class tripleo::profile::base::mistral ( if $step >= 4 or ($step >= 3 and $sync_db) { class { '::mistral': - rabbit_hosts => $rabbit_hosts, + rabbit_hosts => suffix($rabbit_hosts, ":${rabbit_port}") } include ::mistral::config include ::mistral::client |