OLD | NEW |
1 class notificationserver { | 1 class notificationserver { |
2 class {'nginx': | 2 class {'nginx': |
3 worker_processes => 2, | 3 worker_processes => 2, |
4 worker_connections => 4000, | 4 worker_connections => 4000, |
5 ssl_session_cache => off, | 5 ssl_session_cache => off, |
6 } | 6 } |
7 | 7 |
8 class {'sitescripts': | 8 class {'statsclient': |
9 sitescriptsini_source => 'puppet:///modules/notificationserver/sitescripts.i
ni' | 9 log_path => '/var/log/nginx/access_log_notification.1.gz', |
| 10 custom_sitescriptsini_source => 'puppet:///modules/notificationserver/sitesc
ripts.ini' |
10 } | 11 } |
11 | 12 |
12 file {'/var/www': | 13 file {'/var/www': |
13 ensure => directory, | 14 ensure => directory, |
14 owner => nginx, | 15 owner => nginx, |
15 mode => 0755, | 16 mode => 0755, |
16 require => Package['nginx'] | 17 require => Package['nginx'] |
17 } | 18 } |
18 | 19 |
19 file {'/var/www/notification': | 20 file {'/var/www/notification': |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 enabled => true | 70 enabled => true |
70 } | 71 } |
71 | 72 |
72 file {'/etc/logrotate.d/nginx_notification.adblockplus.org': | 73 file {'/etc/logrotate.d/nginx_notification.adblockplus.org': |
73 ensure => file, | 74 ensure => file, |
74 mode => 0444, | 75 mode => 0444, |
75 require => Nginx::Hostconfig['notification.adblockplus.org'], | 76 require => Nginx::Hostconfig['notification.adblockplus.org'], |
76 source => 'puppet:///modules/notificationserver/logrotate' | 77 source => 'puppet:///modules/notificationserver/logrotate' |
77 } | 78 } |
78 } | 79 } |
OLD | NEW |