Index: manifests/monitoringserver.pp |
=================================================================== |
--- a/manifests/monitoringserver.pp |
+++ b/manifests/monitoringserver.pp |
@@ -1,17 +1,18 @@ |
node 'server4' { |
include base, ssh, puppetmaster |
class {'nagios::client': |
server_address => 'monitoring.adblockplus.org' |
} |
class {'nagios::server': |
- vhost => 'monitoring.adblockplus.org', |
+ domain => 'monitoring.adblockplus.org', |
+ is_default => 'true', |
htpasswd_source => 'puppet:///modules/private/nagios-htpasswd', |
admins => ['*'] |
} |
if $::environment == 'development' { |
nagios_contact {'root': |
service_notification_period => '24x7', |
host_notification_period => '24x7', |