aboutsummaryrefslogtreecommitdiff
path: root/manifests/vserver.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r--manifests/vserver.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index fdd8ed2..21bed26 100644
--- a/manifests/vserver.pp
+++ b/manifests/vserver.pp
@@ -46,9 +46,9 @@ class nodo::vserver inherits nodo {
}
# Nagios configuration
- if $use_nagios != false {
- include nagios::target::fqdn
- nagios::service::ping { "$fqdn": }
+ class { 'monitor':
+ type => 'vserver',
+ use_nagios => extlookup('vserver_use_nagios', 'false'),
}
}
}