summaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/monitoring
diff options
context:
space:
mode:
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
}
}