OLD | NEW |
1 node 'web2' { | 1 node 'web2' { |
2 include statsclient | |
3 | |
4 class {'web::server': | 2 class {'web::server': |
5 vhost => 'adblockplus.org', | 3 vhost => 'adblockplus.org', |
6 certificate => 'adblockplus.org_sslcert.pem', | 4 certificate => 'adblockplus.org_sslcert.pem', |
7 private_key => 'adblockplus.org_sslcert.key', | 5 private_key => 'adblockplus.org_sslcert.key', |
8 is_default => true, | 6 is_default => true, |
9 aliases => ['www.adblockplus.org'], | 7 aliases => ['www.adblockplus.org'], |
10 custom_config => template('web/adblockplus.org.conf.erb'), | 8 custom_config => template('web/adblockplus.org.conf.erb'), |
11 repository => 'web.adblockplus.org', | 9 repository => 'web.adblockplus.org', |
12 multiplexer_locations => ['/getSubscription'], | 10 multiplexer_locations => ['/getSubscription'], |
13 geoip => true, | 11 geoip => true, |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 minute => '5-55/10', | 91 minute => '5-55/10', |
94 } | 92 } |
95 | 93 |
96 adblockplus::log::rotation {'nginx_email_submission': | 94 adblockplus::log::rotation {'nginx_email_submission': |
97 count => 120, | 95 count => 120, |
98 ensure => 'present', | 96 ensure => 'present', |
99 interval => 'monthly', | 97 interval => 'monthly', |
100 path => '/var/log/nginx/email_submission', | 98 path => '/var/log/nginx/email_submission', |
101 } | 99 } |
102 } | 100 } |
OLD | NEW |