aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/pacemaker/neutron/plugins/ml2.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/ml2.pp
parente121f195c8e8e33650b5b8a6472191b3f6ea5d21 (diff)
parent5927148c4b5813180204c2983b5c95b69a2ad265 (diff)
Merge "Make ::tripleo::profile::base classes work with multiple nodes"
Diffstat (limited to 'manifests/profile/pacemaker/neutron/plugins/ml2.pp')
-rw-r--r--manifests/profile/pacemaker/neutron/plugins/ml2.pp13
1 files changed, 3 insertions, 10 deletions
diff --git a/manifests/profile/pacemaker/neutron/plugins/ml2.pp b/manifests/profile/pacemaker/neutron/plugins/ml2.pp
index 6c9d8b1..e5e13b7 100644
--- a/manifests/profile/pacemaker/neutron/plugins/ml2.pp
+++ b/manifests/profile/pacemaker/neutron/plugins/ml2.pp
@@ -18,19 +18,12 @@
#
# === Parameters
#
-# [*pacemaker_master*]
-# (Optional) The hostname of the pacemaker master
-# Defaults to hiera('bootstrap_nodeid', undef)
-#
-class tripleo::profile::pacemaker::neutron::plugins::ml2 (
- $pacemaker_master = hiera('bootstrap_nodeid', undef),
-) {
+class tripleo::profile::pacemaker::neutron::plugins::ml2
+{
include ::neutron::params
include ::tripleo::profile::pacemaker::neutron
- class { '::tripleo::profile::base::neutron::plugins::ml2':
- sync_db => ($::hostname == downcase($pacemaker_master))
- }
+ include ::tripleo::profile::base::neutron::plugins::ml2
}