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_connections => 4000, | 4 worker_connections => 4000, |
5 ssl_session_cache => off, | 5 ssl_session_cache => off, |
6 } | 6 } |
7 } | 7 } |
8 | 8 |
9 class {'sitescripts': | 9 class {'sitescripts': |
10 sitescriptsini_source => 'puppet:///modules/notificationserver/sitescripts.i
ni' | 10 sitescriptsini_source => 'puppet:///modules/notificationserver/sitescripts.i
ni' |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 ] | 44 ] |
45 } | 45 } |
46 | 46 |
47 customservice::supervisor {'spawn-fcgi': | 47 customservice::supervisor {'spawn-fcgi': |
48 pidfile => '/var/run/500-multiplexer_spawn-fcgi.pid', | 48 pidfile => '/var/run/500-multiplexer_spawn-fcgi.pid', |
49 } | 49 } |
50 | 50 |
51 File { | 51 File { |
52 owner => root, | 52 owner => root, |
53 group => root, | 53 group => root, |
54 mode => 0644, | 54 mode => '0644', |
55 } | 55 } |
56 | 56 |
57 nginx::hostconfig{'notification.adblockplus.org': | 57 nginx::hostconfig{'notification.adblockplus.org': |
58 source => 'puppet:///modules/notificationserver/site.conf', | 58 source => 'puppet:///modules/notificationserver/site.conf', |
59 global_config => template('notificationserver/global.conf.erb'), | 59 global_config => template('notificationserver/global.conf.erb'), |
60 is_default => $is_default, | 60 is_default => $is_default, |
61 certificate => 'easylist-downloads.adblockplus.org_sslcert.pem', | 61 certificate => 'easylist-downloads.adblockplus.org_sslcert.pem', |
62 private_key => 'easylist-downloads.adblockplus.org_sslcert.key', | 62 private_key => 'easylist-downloads.adblockplus.org_sslcert.key', |
63 log => 'access_log_notification', | 63 log => 'access_log_notification', |
64 log_format => 'notification', | 64 log_format => 'notification', |
65 } | 65 } |
66 } | 66 } |
OLD | NEW |