Remove unused parameter in sahara
authorCarlos Camacho <ccamacho@redhat.com>
Wed, 3 Aug 2016 15:33:10 +0000 (17:33 +0200)
committerCarlos Camacho <ccamacho@redhat.com>
Wed, 3 Aug 2016 15:40:54 +0000 (17:40 +0200)
Remove unused parameter in sahara

Change-Id: I46c033b410ab850289b798ee93990b6fb10c80ea

manifests/profile/pacemaker/sahara.pp

index e6e5117..0627017 100644 (file)
 #
 # === Parameters
 #
-# [*bootstrap_node*]
-#   (Optional) The hostname of the node responsible for bootstrapping tasks
-#   Defaults to hiera('bootstrap_nodeid')
-#
 # [*step*]
 #   (Optional) The current step in deployment. See tripleo-heat-templates
 #   for more details.
 #   Defaults to hiera('step')
 #
 class tripleo::profile::pacemaker::sahara (
-  $bootstrap_node       = hiera('bootstrap_nodeid'),
-  $step                 = hiera('step'),
+  $step = hiera('step'),
 ) {
 
   Service <| tag == 'sahara-service' |> {
@@ -39,11 +34,5 @@ class tripleo::profile::pacemaker::sahara (
     stop       => '/bin/true',
   }
 
-  if $::hostname == downcase($bootstrap_node) {
-    $pacemaker_master = true
-  } else {
-    $pacemaker_master = false
-  }
-
   include ::tripleo::profile::base::sahara
 }