OLD | NEW |
1 class updateserver { | 1 class updateserver { |
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': |
| 9 log_path => '/var/log/nginx/access_log_update.1.gz', |
| 10 } |
| 11 |
8 File { | 12 File { |
9 owner => root, | 13 owner => root, |
10 group => root | 14 group => root |
11 } | 15 } |
12 | 16 |
13 file {'/var/www': | 17 file {'/var/www': |
14 ensure => directory, | 18 ensure => directory, |
15 mode => 0755, | 19 mode => 0755, |
16 require => Package['nginx'] | 20 require => Package['nginx'] |
17 } | 21 } |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 enabled => true | 57 enabled => true |
54 } | 58 } |
55 | 59 |
56 file {'/etc/logrotate.d/nginx_update.adblockplus.org': | 60 file {'/etc/logrotate.d/nginx_update.adblockplus.org': |
57 ensure => file, | 61 ensure => file, |
58 mode => 0444, | 62 mode => 0444, |
59 require => Nginx::Hostconfig['update.adblockplus.org'], | 63 require => Nginx::Hostconfig['update.adblockplus.org'], |
60 source => 'puppet:///modules/updateserver/logrotate' | 64 source => 'puppet:///modules/updateserver/logrotate' |
61 } | 65 } |
62 } | 66 } |
OLD | NEW |