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

Delta Between Two Patch Sets: modules/filterserver/manifests/init.pp

Issue 5302563972841472: Merge filter and notification servers, have both tasks run on the same servers (Closed)
Left Patch Set: Created Jan. 30, 2014, 11:49 a.m.
Right Patch Set: Stopped misusing is_default parameter Created Jan. 30, 2014, 2:10 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « manifests/notificationserver.pp ('k') | modules/filterserver/templates/easylist-downloads.adblockplus.org.erb » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 class filterserver($is_default = false) { 1 class filterserver($is_default = false) {
2 if $is_default { 2 if !defined(Class['nginx']) {
3 class {'nginx': 3 class {'nginx':
Felix Dahlke 2014/01/30 13:51:48 Based on the Puppet documentation, I think this sh
4 worker_processes => 2, 4 worker_processes => 2,
5 worker_connections => 4000, 5 worker_connections => 4000,
6 ssl_session_cache => off, 6 ssl_session_cache => off,
7 } 7 }
8 }
8 9
10 if !defined(File['/var/www']) {
9 file {'/var/www': 11 file {'/var/www':
10 ensure => directory, 12 ensure => directory,
11 owner => nginx, 13 owner => nginx,
12 mode => 0755, 14 mode => 0755,
13 require => Package['nginx'] 15 require => Package['nginx']
14 } 16 }
15 } 17 }
16 18
17 user {'subscriptionstat': 19 user {'subscriptionstat':
18 ensure => absent, 20 ensure => absent,
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 File['/home/rsync/.ssh/id_rsa'], 129 File['/home/rsync/.ssh/id_rsa'],
128 User['rsync'] 130 User['rsync']
129 ], 131 ],
130 command => 'rsync -e "ssh -o CheckHostIP=no" -ltprz --delete rsync@filtermas ter.adblockplus.org:. /var/www/easylist/', 132 command => 'rsync -e "ssh -o CheckHostIP=no" -ltprz --delete rsync@filtermas ter.adblockplus.org:. /var/www/easylist/',
131 environment => ['MAILTO=admins@adblockplus.org,root'], 133 environment => ['MAILTO=admins@adblockplus.org,root'],
132 user => rsync, 134 user => rsync,
133 hour => '*', 135 hour => '*',
134 minute => '2-52/10' 136 minute => '2-52/10'
135 } 137 }
136 } 138 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld