aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/heat.pp
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-03 16:05:22 +0000
committerGerrit Code Review <review@openstack.org>2016-09-03 16:05:22 +0000
commit4936c4da5d0bd81e31bc95382db499d30efe5b64 (patch)
treed6a9220fb2f9585adb61f308768c5f70509a256b /manifests/profile/base/heat.pp
parent97d1c35cf97630637f82555e321aad7077b5364f (diff)
parente5f0042e47eb4c2b77348dcec0d3d2730e5d9841 (diff)
Merge "Make service profiles default to rabbitmq_node_ips"
Diffstat (limited to 'manifests/profile/base/heat.pp')
-rw-r--r--manifests/profile/base/heat.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/profile/base/heat.pp b/manifests/profile/base/heat.pp
index cafe95e..027ab7e 100644
--- a/manifests/profile/base/heat.pp
+++ b/manifests/profile/base/heat.pp
@@ -35,11 +35,16 @@
# for more details.
# Defaults to hiera('step')
#
+# [*rabbit_hosts*]
+# list of the rabbbit host IPs
+# Defaults to hiera('rabbitmq_node_ips')
+
class tripleo::profile::base::heat (
$bootstrap_node = downcase(hiera('bootstrap_nodeid')),
$manage_db_purge = hiera('heat_enable_db_purge', true),
$notification_driver = 'messaging',
$step = hiera('step'),
+ $rabbit_hosts = hiera('rabbitmq_node_ips', undef),
) {
# Domain resources will be created at step5 on the bootstrap_node so we
# configure heat.conf at step3 and 4 but actually create the domain later.
@@ -54,6 +59,7 @@ class tripleo::profile::base::heat (
if $step >= 4 {
class { '::heat' :
notification_driver => $notification_driver,
+ rabbit_hosts => $rabbit_hosts,
}
include ::heat::config
include ::heat::cors