| OLD | NEW | 
|---|
| 1 node 'server4' { | 1 node 'server4' { | 
| 2   include base, ssh, puppetmaster | 2   include base, ssh, puppetmaster | 
| 3 | 3 | 
| 4   class {'nagios::client': | 4   class {'nagios::client': | 
| 5     server_address => 'monitoring.adblockplus.org' | 5     server_address => 'monitoring.adblockplus.org' | 
| 6   } | 6   } | 
| 7 | 7 | 
| 8   class {'nagios::server': | 8   class {'nagios::server': | 
| 9     domain => 'monitoring.adblockplus.org', | 9     domain => 'monitoring.adblockplus.org', | 
|  | 10     certificate => 'monitoring.adblockplus.org_sslcert.pem', | 
|  | 11     private_key => 'monitoring.adblockplus.org_sslcert.key', | 
| 10     is_default => 'true', | 12     is_default => 'true', | 
| 11     htpasswd_source => 'puppet:///modules/private/nagios-htpasswd', | 13     htpasswd_source => 'puppet:///modules/private/nagios-htpasswd', | 
| 12     admins => ['*'] | 14     admins => ['*'] | 
| 13   } | 15   } | 
| 14 | 16 | 
| 15   if $::environment == 'development' { | 17   if $::environment == 'development' { | 
| 16     nagios_contact {'root': | 18     nagios_contact {'root': | 
| 17       service_notification_period => '24x7', | 19       service_notification_period => '24x7', | 
| 18       host_notification_period => '24x7', | 20       host_notification_period => '24x7', | 
| 19       service_notification_options => 'w,u,c,r', | 21       service_notification_options => 'w,u,c,r', | 
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 170     check_command => 'check_nrpe_1arg!check_connections', | 172     check_command => 'check_nrpe_1arg!check_connections', | 
| 171   } | 173   } | 
| 172 | 174 | 
| 173   nagios_service {'memory': | 175   nagios_service {'memory': | 
| 174     use => 'generic-service', | 176     use => 'generic-service', | 
| 175     hostgroup_name => 'all', | 177     hostgroup_name => 'all', | 
| 176     service_description => 'Memory', | 178     service_description => 'Memory', | 
| 177     check_command => 'check_nrpe_1arg!check_memory', | 179     check_command => 'check_nrpe_1arg!check_memory', | 
| 178   } | 180   } | 
| 179 } | 181 } | 
| OLD | NEW | 
|---|