OLD | NEW |
1 class notificationserver($is_default = false) { | 1 class notificationserver($is_default = false) { |
2 if !defined(Class['nginx']) { | 2 if !defined(Class['nginx']) { |
3 class {'nginx': | 3 class {'nginx': |
4 worker_processes => 2, | |
5 worker_connections => 4000, | 4 worker_connections => 4000, |
6 ssl_session_cache => off, | 5 ssl_session_cache => off, |
7 } | 6 } |
8 } | 7 } |
9 | 8 |
10 class {'sitescripts': | 9 class {'sitescripts': |
11 sitescriptsini_source => 'puppet:///modules/notificationserver/sitescripts.i
ni' | 10 sitescriptsini_source => 'puppet:///modules/notificationserver/sitescripts.i
ni' |
12 } | 11 } |
13 | 12 |
14 exec {'fetch_notifications': | 13 exec {'fetch_notifications': |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 nginx::hostconfig{'notification.adblockplus.org': | 54 nginx::hostconfig{'notification.adblockplus.org': |
56 source => 'puppet:///modules/notificationserver/site.conf', | 55 source => 'puppet:///modules/notificationserver/site.conf', |
57 global_config => template('notificationserver/global.conf.erb'), | 56 global_config => template('notificationserver/global.conf.erb'), |
58 is_default => $is_default, | 57 is_default => $is_default, |
59 certificate => 'easylist-downloads.adblockplus.org_sslcert.pem', | 58 certificate => 'easylist-downloads.adblockplus.org_sslcert.pem', |
60 private_key => 'easylist-downloads.adblockplus.org_sslcert.key', | 59 private_key => 'easylist-downloads.adblockplus.org_sslcert.key', |
61 log => 'access_log_notification', | 60 log => 'access_log_notification', |
62 log_format => 'notification', | 61 log_format => 'notification', |
63 } | 62 } |
64 } | 63 } |
OLD | NEW |