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, | 4 worker_processes => 2, |
5 worker_connections => 4000, | 5 worker_connections => 4000, |
6 ssl_session_cache => off, | 6 ssl_session_cache => off, |
7 } | 7 } |
8 } | 8 } |
9 | 9 |
10 class {'sitescripts': | 10 class {'sitescripts': |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 group => root, | 43 group => root, |
44 mode => 0644, | 44 mode => 0644, |
45 } | 45 } |
46 | 46 |
47 nginx::hostconfig{'notification.adblockplus.org': | 47 nginx::hostconfig{'notification.adblockplus.org': |
48 source => 'puppet:///modules/notificationserver/site.conf', | 48 source => 'puppet:///modules/notificationserver/site.conf', |
49 global_config => template('notificationserver/global.conf.erb'), | 49 global_config => template('notificationserver/global.conf.erb'), |
50 is_default => $is_default, | 50 is_default => $is_default, |
51 certificate => 'easylist-downloads.adblockplus.org_sslcert.pem', | 51 certificate => 'easylist-downloads.adblockplus.org_sslcert.pem', |
52 private_key => 'easylist-downloads.adblockplus.org_sslcert.key', | 52 private_key => 'easylist-downloads.adblockplus.org_sslcert.key', |
53 log => 'access_log_notification' | 53 log => 'access_log_notification', |
| 54 log_format => 'notification', |
54 } | 55 } |
55 } | 56 } |
OLD | NEW |