Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/updateserver/manifests/init.pp

Issue 5143068516810752: Added new stats server and user counter page (Closed)
Patch Set: Centralized stats processing Created Dec. 20, 2013, 3:47 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« manifests/downloadserver.pp ('K') | « modules/statsmaster/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld