aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/host.pp8
1 files changed, 5 insertions, 3 deletions
diff --git a/manifests/host.pp b/manifests/host.pp
index cae28ce..b9c2a6b 100644
--- a/manifests/host.pp
+++ b/manifests/host.pp
@@ -18,9 +18,11 @@ class nodo::host inherits nodo {
include vserver::host
# Monitoring
- class { 'monitor':
- type => 'host',
- use_nagios => extlookup('host_use_nagios', 'true'),
+ if !defined('monitor') {
+ class { 'monitor':
+ type => 'host',
+ use_nagios => extlookup('host_use_nagios', 'true'),
+ }
}
# Time configuration