From 355547c5e83d74b90187552b309154659e4a8139 Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Mon, 8 Aug 2016 13:32:33 +0200 Subject: 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 --- manifests/profile/base/cinder/api.pp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'manifests/profile/base/cinder') diff --git a/manifests/profile/base/cinder/api.pp b/manifests/profile/base/cinder/api.pp index e15e112..370b402 100644 --- a/manifests/profile/base/cinder/api.pp +++ b/manifests/profile/base/cinder/api.pp @@ -37,9 +37,7 @@ class tripleo::profile::base::cinder::api ( $sync_db = false } - class { '::tripleo::profile::base::cinder': - pacemaker_master => $sync_db, - } + include ::tripleo::profile::base::cinder if $step >= 3 and $sync_db { include ::cinder::db::mysql -- cgit 1.2.3-korg