aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem')
-rw-r--r--manifests/subsystem/monitor.pp12
1 files changed, 2 insertions, 10 deletions
diff --git a/manifests/subsystem/monitor.pp b/manifests/subsystem/monitor.pp
index a444479..2c0d019 100644
--- a/manifests/subsystem/monitor.pp
+++ b/manifests/subsystem/monitor.pp
@@ -1,5 +1,4 @@
class nodo::subsystem::monitor(
- $type = 'vserver',
$use_nagios = hiera('nodo::subsystem::monitor::use_nagios', True),
$check_ping = hiera('nodo::subsystem::monitor::check_ping', present),
$check_ssh = hiera('nodo::subsystem::monitor::check_ssh', absent),
@@ -9,15 +8,8 @@ class nodo::subsystem::monitor(
) {
if $use_nagios != false {
-
- if $type == 'vserver' {
- include nagios::target::fqdn
- }
-
- if $type == 'host' {
- class{ 'nagios::target':
- address => $address,
- }
+ class{ 'nagios::target':
+ address => $address,
}
nagios::service::ping { "${::fqdn}":