aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/pacemaker/neutron/plugins/plumgrid.pp
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-07-20 13:13:56 +0000
committerGerrit Code Review <review@openstack.org>2016-07-20 13:13:56 +0000
commitdfa0db9c7f5ece0914be616f963bf871563e6a1c (patch)
tree11daeacdf256a25a41cb5aa49352719ba0cd4fcb /manifests/profile/pacemaker/neutron/plugins/plumgrid.pp
parente121f195c8e8e33650b5b8a6472191b3f6ea5d21 (diff)
parent5927148c4b5813180204c2983b5c95b69a2ad265 (diff)
Merge "Make ::tripleo::profile::base classes work with multiple nodes"
Diffstat (limited to 'manifests/profile/pacemaker/neutron/plugins/plumgrid.pp')
-rw-r--r--manifests/profile/pacemaker/neutron/plugins/plumgrid.pp13
1 files changed, 3 insertions, 10 deletions
diff --git a/manifests/profile/pacemaker/neutron/plugins/plumgrid.pp b/manifests/profile/pacemaker/neutron/plugins/plumgrid.pp
index 57f9e31..7313ef9 100644
--- a/manifests/profile/pacemaker/neutron/plugins/plumgrid.pp
+++ b/manifests/profile/pacemaker/neutron/plugins/plumgrid.pp
@@ -18,16 +18,9 @@
#
# === Parameters
#
-# [*pacemaker_master*]
-# (Optional) The hostname of the pacemaker master
-# Defaults to hiera('bootstrap_nodeid', undef)
-#
-class tripleo::profile::pacemaker::neutron::plugins::plumgrid (
- $pacemaker_master = hiera('bootstrap_nodeid', undef),
-) {
+class tripleo::profile::pacemaker::neutron::plugins::plumgrid
+{
- class { '::tripleo::profile::base::neutron::plugins::plumgrid':
- sync_db => ($::hostname == downcase($pacemaker_master))
- }
+ include ::tripleo::profile::base::neutron::plugins::plumgrid
}