aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/database/mongodbcommon.pp
diff options
context:
space:
mode:
authorGiulio Fidente <gfidente@redhat.com>2016-08-08 13:32:33 +0200
committerGiulio Fidente <gfidente@redhat.com>2016-08-09 13:30:13 +0200
commit355547c5e83d74b90187552b309154659e4a8139 (patch)
tree06f20a2b77a6c6f08b53e4de5deb8c5a597e1a09 /manifests/profile/base/database/mongodbcommon.pp
parent689d80e97188342c84bb965980d48c8ed212e60d (diff)
Fix use of bootstrap_node in cinder base profile
By inspecting bootstrap_nodeid in cinder base profile we can set sync_db appropriately and not always default to true. Change-Id: I2484b1d70a17436c0d8eab9ea8df927d57783784
Diffstat (limited to 'manifests/profile/base/database/mongodbcommon.pp')
-rw-r--r--manifests/profile/base/database/mongodbcommon.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/manifests/profile/base/database/mongodbcommon.pp b/manifests/profile/base/database/mongodbcommon.pp
index 756ab85..13af899 100644
--- a/manifests/profile/base/database/mongodbcommon.pp
+++ b/manifests/profile/base/database/mongodbcommon.pp
@@ -31,8 +31,7 @@ class tripleo::profile::base::database::mongodbcommon (
) {
$port = '27017'
- # NOTE(gfidente): the following vars are needed on all nodes so they
- # need to stay out of pacemaker_master conditional.
+ # NOTE(gfidente): the following vars are needed on all nodes.
# The addresses mangling will hopefully go away when we'll be able to
# configure the connection string via hostnames, until then, we need to pass
# the list of IPv6 addresses *with* port and without the brackets as 'members'