aboutsummaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-23 19:08:52 +0000
committerGerrit Code Review <review@openstack.org>2016-09-23 19:08:52 +0000
commit3fd82ae8b2a2ed362b5af806f50afcfae3bd5da9 (patch)
treeba5fd9e960aefb2114163a630135e25ae697e08f /manifests
parent6ade8653d517b9759942e0a18ca8d8897d2d04c7 (diff)
parent9af87616d17cd4e3d986794f9db002aa51dbccab (diff)
Merge "Add support for rabbit hosts to mistral"
Diffstat (limited to 'manifests')
-rw-r--r--manifests/profile/base/mistral.pp9
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/profile/base/mistral.pp b/manifests/profile/base/mistral.pp
index cffb03e..3ebc3d5 100644
--- a/manifests/profile/base/mistral.pp
+++ b/manifests/profile/base/mistral.pp
@@ -27,9 +27,14 @@
# 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::mistral (
$bootstrap_node = hiera('bootstrap_nodeid', undef),
$step = hiera('step'),
+ $rabbit_hosts = hiera('rabbitmq_node_ips', undef),
) {
if $::hostname == downcase($bootstrap_node) {
$sync_db = true
@@ -42,7 +47,9 @@ class tripleo::profile::base::mistral (
}
if $step >= 4 or ($step >= 3 and $sync_db) {
- include ::mistral
+ class { '::mistral':
+ rabbit_hosts => $rabbit_hosts,
+ }
include ::mistral::config
include ::mistral::client
include ::mistral::db::sync