summaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/manila.pp
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-11-30 17:05:51 +0000
committerGerrit Code Review <review@openstack.org>2016-11-30 17:05:51 +0000
commit94857b61cf43b519357d1f3da89b2a083c11d3d8 (patch)
tree6bf906c41a8ad8553b6d0f1cc7c5916fb968ce94 /manifests/profile/base/manila.pp
parentf101ee540a450d3509e1c97aab00a97a2ecf8164 (diff)
parent91597fc56983ee20d77985e97ad7563fcd30f1bc (diff)
Merge "Use FQDNs for the services' RabbitMQ configuration"
Diffstat (limited to 'manifests/profile/base/manila.pp')
-rw-r--r--manifests/profile/base/manila.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/profile/base/manila.pp b/manifests/profile/base/manila.pp
index 3e16dff..f021f64 100644
--- a/manifests/profile/base/manila.pp
+++ b/manifests/profile/base/manila.pp
@@ -27,8 +27,8 @@
# Defaults to hiera('step')
#
# [*rabbit_hosts*]
-# list of the rabbbit host IPs
-# Defaults to hiera('rabbitmq_node_ips')
+# list of the rabbbit host fqdns
+# Defaults to hiera('rabbitmq_node_names')
#
# [*rabbit_port*]
# IP port for rabbitmq service
@@ -37,7 +37,7 @@
class tripleo::profile::base::manila (
$bootstrap_node = hiera('bootstrap_nodeid', undef),
$step = hiera('step'),
- $rabbit_hosts = hiera('rabbitmq_node_ips', undef),
+ $rabbit_hosts = hiera('rabbitmq_node_names', undef),
$rabbit_port = hiera('manila::rabbit_port', 5672),
) {
if $::hostname == downcase($bootstrap_node) {
@@ -47,7 +47,7 @@ class tripleo::profile::base::manila (
}
if $step >= 4 or ($step >= 3 and $sync_db) {
- $rabbit_endpoints = suffix(any2array(normalize_ip_for_uri($rabbit_hosts)), ":${rabbit_port}")
+ $rabbit_endpoints = suffix(any2array($rabbit_hosts), ":${rabbit_port}")
class { '::manila' :
rabbit_hosts => $rabbit_endpoints,
}