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

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

Issue 9316104: Reduced the number of nginx worker processes to match the number ofCPU cores and removed unused va… (Closed)
Patch Set: Created Feb. 6, 2013, 8:38 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | modules/nginx/manifests/params.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class filterserver { 1 class filterserver {
2 user {'subscriptionstat': 2 user {'subscriptionstat':
3 ensure => present, 3 ensure => present,
4 home => '/home/subscriptionstat', 4 home => '/home/subscriptionstat',
5 managehome => true 5 managehome => true
6 } 6 }
7 7
8 file {'/home/subscriptionstat/.ssh': 8 file {'/home/subscriptionstat/.ssh':
9 ensure => directory, 9 ensure => directory,
10 owner => subscriptionstat, 10 owner => subscriptionstat,
(...skipping 11 matching lines...) Expand all
22 class {'ssh': 22 class {'ssh':
23 custom_configuration => 'Match User subscriptionstat 23 custom_configuration => 'Match User subscriptionstat
24 AllowTcpForwarding no 24 AllowTcpForwarding no
25 X11Forwarding no 25 X11Forwarding no
26 AllowAgentForwarding no 26 AllowAgentForwarding no
27 GatewayPorts no 27 GatewayPorts no
28 ForceCommand cat /var/www/subscriptionStats.ini' 28 ForceCommand cat /var/www/subscriptionStats.ini'
29 } 29 }
30 30
31 class {'nginx': 31 class {'nginx':
32 worker_processes => 4, 32 worker_processes => 2,
33 worker_connections => 4000 33 worker_connections => 4000
34 } 34 }
35 35
36 class {'sitescripts': 36 class {'sitescripts':
37 sitescriptsini_source => 'puppet:///modules/filterserver/sitescripts.ini' 37 sitescriptsini_source => 'puppet:///modules/filterserver/sitescripts.ini'
38 } 38 }
39 39
40 package {'python-geoip':} 40 package {'python-geoip':}
41 41
42 user {'rsync': 42 user {'rsync':
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 ensure => present, 209 ensure => present,
210 require => File['/opt/cron_geoipdb_update.sh'], 210 require => File['/opt/cron_geoipdb_update.sh'],
211 command => '/opt/cron_geoipdb_update.sh', 211 command => '/opt/cron_geoipdb_update.sh',
212 user => root, 212 user => root,
213 hour => 3, 213 hour => 3,
214 minute => 15, 214 minute => 15,
215 monthday => 3 215 monthday => 3
216 } 216 }
217 217
218 } 218 }
OLDNEW
« no previous file with comments | « no previous file | modules/nginx/manifests/params.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld