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

Side by Side Diff: modules/downloadserver/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 downloadserver { 1 class downloadserver {
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_downloads.1.gz',
10 }
11
12 user {'hg': 8 user {'hg':
13 ensure => present, 9 ensure => present,
14 comment => 'Mercurial client user', 10 comment => 'Mercurial client user',
15 home => '/home/hg', 11 home => '/home/hg',
16 managehome => true 12 managehome => true
17 } 13 }
18 14
19 file {'/var/www': 15 file {'/var/www':
20 ensure => directory, 16 ensure => directory,
21 owner => hg, 17 owner => hg,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 require => [File['/home/rsync/.ssh/known_hosts'], 113 require => [File['/home/rsync/.ssh/known_hosts'],
118 File['/home/rsync/.ssh/id_rsa'], 114 File['/home/rsync/.ssh/id_rsa'],
119 File['/var/www/devbuilds']], 115 File['/var/www/devbuilds']],
120 command => 'rsync -e ssh -ltprz --delete devbuilds@ssh.adblockplus.org:. /va r/www/devbuilds', 116 command => 'rsync -e ssh -ltprz --delete devbuilds@ssh.adblockplus.org:. /va r/www/devbuilds',
121 environment => ['MAILTO=admins@adblockplus.org,root'], 117 environment => ['MAILTO=admins@adblockplus.org,root'],
122 user => rsync, 118 user => rsync,
123 hour => '*', 119 hour => '*',
124 minute => '4-54/10' 120 minute => '4-54/10'
125 } 121 }
126 } 122 }
OLDNEW

Powered by Google App Engine
This is Rietveld