aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/monitor.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/monitor.pp')
-rw-r--r--manifests/subsystems/monitor.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/subsystems/monitor.pp b/manifests/subsystems/monitor.pp
index 3712e79..45608a9 100644
--- a/manifests/subsystems/monitor.pp
+++ b/manifests/subsystems/monitor.pp
@@ -1,14 +1,14 @@
class monitor(
- $type = 'vserver',
+ $type = 'vserver',
$use_nagios = hiera('nodo::monitor::use_nagios', True),
- $use_fqdn = hiera('nodo::monitor::use_nagios_fqdn', false)
+ $use_fqdn = hiera('nodo::monitor::use_nagios_fqdn', false)
) {
if $use_nagios != false {
if $type == 'vserver' {
include nagios::target::fqdn
- nagios::service::ping { "$fqdn": }
+ nagios::service::ping { "${::fqdn}": }
}
if $type == 'host' or $type == 'personal' {
@@ -18,7 +18,7 @@ class monitor(
else {
include nagios::target
}
- nagios::service::ping { "$fqdn": }
+ nagios::service::ping { "${::fqdn}": }
}
}