aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/pacemaker
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2016-07-08 09:07:27 -0400
committerDan Prince <dprince@redhat.com>2016-07-08 09:07:27 -0400
commit93c5d6103f9d4c12cd401d30b2408a8532c94922 (patch)
tree3eb5405be5e4c50a0ae38a759613174ed977e492 /manifests/profile/pacemaker
parent9f0ab60383509548e91740ec6559ab9af0f04199 (diff)
Use include for base neutron profile
Simplify the base neutron profile so that we always include the neutron and neutron::config classes at step 3. In doing so we can now simplify the pacemaker version to use a simple include which will avoid duplicate class errors. Change-Id: I95b9188607ab6c599ad4cde6faa1deb081618f3e
Diffstat (limited to 'manifests/profile/pacemaker')
-rw-r--r--manifests/profile/pacemaker/neutron.pp4
1 files changed, 1 insertions, 3 deletions
diff --git a/manifests/profile/pacemaker/neutron.pp b/manifests/profile/pacemaker/neutron.pp
index fff731d..75a75b3 100644
--- a/manifests/profile/pacemaker/neutron.pp
+++ b/manifests/profile/pacemaker/neutron.pp
@@ -61,9 +61,7 @@ class tripleo::profile::pacemaker::neutron (
stop => '/bin/true',
}
- class { '::tripleo::profile::base::neutron':
- sync_db => ($::hostname == downcase($pacemaker_master)),
- }
+ include ::tripleo::profile::base::neutron
if $step >= 4 {
include ::neutron::params