diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-09-03 16:05:22 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-09-03 16:05:22 +0000 |
commit | 4936c4da5d0bd81e31bc95382db499d30efe5b64 (patch) | |
tree | d6a9220fb2f9585adb61f308768c5f70509a256b /manifests/profile/base/aodh.pp | |
parent | 97d1c35cf97630637f82555e321aad7077b5364f (diff) | |
parent | e5f0042e47eb4c2b77348dcec0d3d2730e5d9841 (diff) |
Merge "Make service profiles default to rabbitmq_node_ips"
Diffstat (limited to 'manifests/profile/base/aodh.pp')
-rw-r--r-- | manifests/profile/base/aodh.pp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/profile/base/aodh.pp b/manifests/profile/base/aodh.pp index 07c0a88..2fad5b3 100644 --- a/manifests/profile/base/aodh.pp +++ b/manifests/profile/base/aodh.pp @@ -27,9 +27,15 @@ # (Optional) The hostname of the node responsible for bootstrapping tasks # Defaults to hiera('bootstrap_nodeid') # +# [*rabbit_hosts*] +# list of the rabbbit host IPs +# Defaults to hiera('rabbitmq_node_ips') +# + class tripleo::profile::base::aodh ( $step = hiera('step'), $bootstrap_node = hiera('bootstrap_nodeid', undef), + $rabbit_hosts = hiera('rabbitmq_node_ips', undef), ) { if $::hostname == downcase($bootstrap_node) { @@ -43,7 +49,9 @@ class tripleo::profile::base::aodh ( } if $step >= 4 or ($step >= 3 and $sync_db) { - include ::aodh + class { '::aodh' : + rabbit_hosts => $rabbit_hosts, + } include ::aodh::auth include ::aodh::config include ::aodh::client |