summaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/monitoring
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-16 23:25:23 +0000
committerGerrit Code Review <review@openstack.org>2017-06-16 23:25:23 +0000
commit8ca7a1e390ce50ac66a6861dae59bb44fbf0324a (patch)
tree04380590acfa8f36ed5ec661adc4ddb8c74bec01 /manifests/profile/base/monitoring
parentbb7e1829f683ca1cac2034ce0b450c0f7ce483ed (diff)
parent94f13e66089cc0b18d5b4b2f6e204160d836ac3e (diff)
Merge "Ensure hiera step value is an integer"
Diffstat (limited to 'manifests/profile/base/monitoring')
-rw-r--r--manifests/profile/base/monitoring/sensu.pp2
-rw-r--r--manifests/profile/base/monitoring/uchiwa.pp4
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/profile/base/monitoring/sensu.pp b/manifests/profile/base/monitoring/sensu.pp
index 91b7ac7..41db598 100644
--- a/manifests/profile/base/monitoring/sensu.pp
+++ b/manifests/profile/base/monitoring/sensu.pp
@@ -23,7 +23,7 @@
# Defaults to hiera('step')
#
class tripleo::profile::base::monitoring::sensu (
- $step = hiera('step', undef),
+ $step = Integer(hiera('step')),
) {
include ::sensu
package { 'osops-tools-monitoring-oschecks':
diff --git a/manifests/profile/base/monitoring/uchiwa.pp b/manifests/profile/base/monitoring/uchiwa.pp
index 2674b5f..153a0bd 100644
--- a/manifests/profile/base/monitoring/uchiwa.pp
+++ b/manifests/profile/base/monitoring/uchiwa.pp
@@ -23,9 +23,9 @@
# Defaults to hiera('step')
#
class tripleo::profile::base::monitoring::uchiwa (
- $step = hiera('step', undef),
+ $step = Integer(hiera('step')),
) {
- if $step == undef or $step >= 3 {
+ if $step >= 3 {
include ::uchiwa
}
}