Clean up unused params from aodh profiles
authorPradeep Kilambi <pkilambi@redhat.com>
Wed, 17 Aug 2016 14:50:12 +0000 (10:50 -0400)
committerPradeep Kilambi <pkilambi@redhat.com>
Wed, 17 Aug 2016 14:50:12 +0000 (10:50 -0400)
Change-Id: I7c89fcef8cdd0e73ef8c5d615bb55db177abd375

manifests/profile/base/aodh/api.pp
manifests/profile/base/aodh/evaluator.pp
manifests/profile/base/aodh/listener.pp
manifests/profile/base/aodh/notifier.pp

index 19ecfaf..3c4c0b6 100644 (file)
 #   for more details.
 #   Defaults to hiera('step')
 #
-# [*bootstrap_node*]
-#   (Optional) The hostname of the node responsible for bootstrapping tasks
-#   Defaults to hiera('bootstrap_nodeid')
-#
 class tripleo::profile::base::aodh::api (
-  $step           = hiera('step'),
-  $bootstrap_node = hiera('bootstrap_nodeid', undef),
+  $step = hiera('step'),
 ) {
 
-  if $::hostname == downcase($bootstrap_node) {
-    $sync_db = true
-  } else {
-    $sync_db = false
-  }
-
   include ::tripleo::profile::base::aodh
 
   if $step >= 4 {
index ca506bc..610d5a8 100644 (file)
 #   for more details.
 #   Defaults to hiera('step')
 #
-# [*bootstrap_node*]
-#   (Optional) The hostname of the node responsible for bootstrapping tasks
-#   Defaults to hiera('bootstrap_nodeid')
-#
 class tripleo::profile::base::aodh::evaluator (
-  $step           = hiera('step'),
-  $bootstrap_node = hiera('bootstrap_nodeid', undef),
+  $step = hiera('step'),
 ) {
 
-  if $::hostname == downcase($bootstrap_node) {
-    $sync_db = true
-  } else {
-    $sync_db = false
-  }
-
   include ::tripleo::profile::base::aodh
 
   if $step >= 4 {
index 57ad27f..d36e1bb 100644 (file)
 #   for more details.
 #   Defaults to hiera('step')
 #
-# [*bootstrap_node*]
-#   (Optional) The hostname of the node responsible for bootstrapping tasks
-#   Defaults to hiera('bootstrap_nodeid')
-#
 class tripleo::profile::base::aodh::listener (
-  $step           = hiera('step'),
-  $bootstrap_node = hiera('bootstrap_nodeid', undef),
+  $step = hiera('step'),
 ) {
 
-  if $::hostname == downcase($bootstrap_node) {
-    $sync_db = true
-  } else {
-    $sync_db = false
-  }
-
   include ::tripleo::profile::base::aodh
 
   if $step >= 4 {
index 03a0a6f..d2a3945 100644 (file)
 #   for more details.
 #   Defaults to hiera('step')
 #
-# [*bootstrap_node*]
-#   (Optional) The hostname of the node responsible for bootstrapping tasks
-#   Defaults to hiera('bootstrap_nodeid')
-#
 class tripleo::profile::base::aodh::notifier (
-  $step           = hiera('step'),
-  $bootstrap_node = hiera('bootstrap_nodeid', undef),
+  $step = hiera('step'),
 ) {
 
-  if $::hostname == downcase($bootstrap_node) {
-    $sync_db = true
-  } else {
-    $sync_db = false
-  }
-
   include ::tripleo::profile::base::aodh
 
   if $step >= 4 {