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