Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: manifests/monitoringserver.pp

Issue 4894914248704000: Issue 254 - Switch from wildcard certificate to certificates for individual hosts (Closed)
Patch Set: Created April 10, 2014, 9 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « manifests/issuesserver.pp ('k') | manifests/statsserver.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « manifests/issuesserver.pp ('k') | manifests/statsserver.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld