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 {'statsclient': | 8 class {'sitescripts': |
9 log_path => '/var/log/nginx/access_log_notification.1.gz', | 9 sitescriptsini_source => 'puppet:///modules/notificationserver/sitescripts.i
ni' |
10 custom_sitescriptsini_source => 'puppet:///modules/notificationserver/sitesc
ripts.ini' | |
11 } | 10 } |
12 | 11 |
13 file {'/var/www': | 12 file {'/var/www': |
14 ensure => directory, | 13 ensure => directory, |
15 owner => nginx, | 14 owner => nginx, |
16 mode => 0755, | 15 mode => 0755, |
17 require => Package['nginx'] | 16 require => Package['nginx'] |
18 } | 17 } |
19 | 18 |
20 file {'/var/www/notification': | 19 file {'/var/www/notification': |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 enabled => true | 72 enabled => true |
74 } | 73 } |
75 | 74 |
76 file {'/etc/logrotate.d/nginx_notification.adblockplus.org': | 75 file {'/etc/logrotate.d/nginx_notification.adblockplus.org': |
77 ensure => file, | 76 ensure => file, |
78 mode => 0444, | 77 mode => 0444, |
79 require => Nginx::Hostconfig['notification.adblockplus.org'], | 78 require => Nginx::Hostconfig['notification.adblockplus.org'], |
80 source => 'puppet:///modules/notificationserver/logrotate' | 79 source => 'puppet:///modules/notificationserver/logrotate' |
81 } | 80 } |
82 } | 81 } |
OLD | NEW |