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

Issue 6029451183783936: Add Filtermaster (Closed)

Created:
Nov. 8, 2013, 8:35 a.m. by christian
Modified:
Nov. 15, 2013, 8:05 a.m.
Visibility:
Public.

Description

Add Filtermaster

Patch Set 1 #

Total comments: 37

Patch Set 2 : Make style changes to the Filtermaster #

Patch Set 3 : Use a define for the repo download #

Total comments: 13

Patch Set 4 : Added all Changes, needs testing #

Patch Set 5 : Finishing Filtermaster and Testing #

Total comments: 18

Patch Set 6 : Add the Changes #

Total comments: 4

Patch Set 7 : Finish for rollout #

Total comments: 2

Patch Set 8 : Fix it #

Patch Set 9 : Add ssh #

Total comments: 11

Patch Set 10 : Fixes for ssh #

Patch Set 11 : Remove duplicate file #

Patch Set 12 : Remove file #

Total comments: 17

Patch Set 13 : All Done #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -10 lines) Patch
M Vagrantfile View 1 chunk +1 line, -0 lines 0 comments Download
A manifests/filtermasterserver.pp View 1 1 chunk +7 lines, -0 lines 0 comments Download
M manifests/nodes.pp View 1 1 chunk +1 line, -0 lines 0 comments Download
M manifests/vagrant.pp View 1 chunk +1 line, -0 lines 0 comments Download
A modules/filtermaster/files/sitescripts View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
A modules/filtermaster/files/update_repos.sh View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
A modules/filtermaster/manifests/init.pp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +129 lines, -0 lines 0 comments Download
R modules/filterserver/files/known_hosts View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M modules/filterserver/manifests/init.pp View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +14 lines, -8 lines 0 comments Download
A modules/private-stub/files/filtermaster.adblockplus.org_ssh.key View 1 2 3 4 5 6 7 8 9 1 chunk +27 lines, -0 lines 0 comments Download
A modules/private-stub/files/filtermaster.adblockplus.org_ssh.pub View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M modules/private-stub/files/rsync@easylist-downloads.adblockplus.org.pub View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25
christian
Added the Filtermaster to the puppet
Nov. 8, 2013, 8:36 a.m. (2013-11-08 08:36:18 UTC) #1
Felix Dahlke
Looks good overall, mostly style comments. http://codereview.adblockplus.org/6029451183783936/diff/5629499534213120/manifests/nodes.pp File manifests/nodes.pp (right): http://codereview.adblockplus.org/6029451183783936/diff/5629499534213120/manifests/nodes.pp#newcode8 manifests/nodes.pp:8: import 'filtermaster.pp' We ...
Nov. 8, 2013, 8:55 a.m. (2013-11-08 08:55:57 UTC) #2
christian
Make the Changes http://codereview.adblockplus.org/6029451183783936/diff/5629499534213120/manifests/nodes.pp File manifests/nodes.pp (right): http://codereview.adblockplus.org/6029451183783936/diff/5629499534213120/manifests/nodes.pp#newcode8 manifests/nodes.pp:8: import 'filtermaster.pp' On 2013/11/08 08:55:58, Felix ...
Nov. 8, 2013, 11:36 a.m. (2013-11-08 11:36:55 UTC) #3
Wladimir Palant
The authorized_keys should be inside the private-stub directory - we should have one for testing ...
Nov. 8, 2013, 3:32 p.m. (2013-11-08 15:32:06 UTC) #4
Felix Dahlke
http://codereview.adblockplus.org/6029451183783936/diff/5629499534213120/modules/filtermaster/manifests/init.pp File modules/filtermaster/manifests/init.pp (right): http://codereview.adblockplus.org/6029451183783936/diff/5629499534213120/modules/filtermaster/manifests/init.pp#newcode34 modules/filtermaster/manifests/init.pp:34: File['/home/rsync/.ssh'], On 2013/11/08 11:36:56, cvervoorts wrote: > On 2013/11/08 ...
Nov. 8, 2013, 3:49 p.m. (2013-11-08 15:49:39 UTC) #5
christian
Ok, have add the changes. I will test it tommorrow. But send in what I ...
Nov. 8, 2013, 4:25 p.m. (2013-11-08 16:25:01 UTC) #6
christian
I finished the filtermaster and added a script which updates the repos. It's a bash ...
Nov. 11, 2013, 1:31 p.m. (2013-11-11 13:31:48 UTC) #7
Wladimir Palant
http://codereview.adblockplus.org/6029451183783936/diff/5689792285114368/modules/filtermaster/files/update_repos.sh File modules/filtermaster/files/update_repos.sh (right): http://codereview.adblockplus.org/6029451183783936/diff/5689792285114368/modules/filtermaster/files/update_repos.sh#newcode9 modules/filtermaster/files/update_repos.sh:9: cd - These four commands can be replaced by ...
Nov. 12, 2013, 1:04 p.m. (2013-11-12 13:04:03 UTC) #8
christian
I think the filtermaster is ready (of course, i have to change the mail address ...
Nov. 12, 2013, 4:06 p.m. (2013-11-12 16:06:06 UTC) #9
Wladimir Palant
I think that the pointless requires are the only issue left - if Felix agrees ...
Nov. 13, 2013, 11:59 a.m. (2013-11-13 11:59:34 UTC) #10
christian
Ready :) http://codereview.adblockplus.org/6029451183783936/diff/5697982787747840/modules/filtermaster/manifests/init.pp File modules/filtermaster/manifests/init.pp (right): http://codereview.adblockplus.org/6029451183783936/diff/5697982787747840/modules/filtermaster/manifests/init.pp#newcode46 modules/filtermaster/manifests/init.pp:46: require => User['rsync'], On 2013/11/13 11:59:34, Wladimir ...
Nov. 13, 2013, 1:51 p.m. (2013-11-13 13:51:46 UTC) #11
Wladimir Palant
LGTM with the remaining nit fixed. http://codereview.adblockplus.org/6029451183783936/diff/5665117697998848/modules/filtermaster/manifests/init.pp File modules/filtermaster/manifests/init.pp (right): http://codereview.adblockplus.org/6029451183783936/diff/5665117697998848/modules/filtermaster/manifests/init.pp#newcode48 modules/filtermaster/manifests/init.pp:48: require => File['/home/rsync/.ssh'], ...
Nov. 13, 2013, 2:03 p.m. (2013-11-13 14:03:50 UTC) #12
christian
Sorry, overlooked it. http://codereview.adblockplus.org/6029451183783936/diff/5665117697998848/modules/filtermaster/manifests/init.pp File modules/filtermaster/manifests/init.pp (right): http://codereview.adblockplus.org/6029451183783936/diff/5665117697998848/modules/filtermaster/manifests/init.pp#newcode48 modules/filtermaster/manifests/init.pp:48: require => File['/home/rsync/.ssh'], On 2013/11/13 14:03:51, ...
Nov. 13, 2013, 2:15 p.m. (2013-11-13 14:15:27 UTC) #13
Felix Dahlke
LGTM
Nov. 13, 2013, 3:05 p.m. (2013-11-13 15:05:51 UTC) #14
Felix Dahlke
On 2013/11/13 15:05:51, Felix H. Dahlke wrote: > LGTM I take that back actually, the ...
Nov. 13, 2013, 6:20 p.m. (2013-11-13 18:20:25 UTC) #15
Wladimir Palant
http://codereview.adblockplus.org/6029451183783936/diff/5784178486411264/modules/private-stub/files/filtermaster-authorized_keys File modules/private-stub/files/filtermaster-authorized_keys (right): http://codereview.adblockplus.org/6029451183783936/diff/5784178486411264/modules/private-stub/files/filtermaster-authorized_keys#newcode1 modules/private-stub/files/filtermaster-authorized_keys:1: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDX4XK+lIIFKbqahR9AWxFtMoAbsZkwZXXffzgNvTbgWE0+4JujBQvoP4Nz2gbg18M/pN0pPgm2Lda1WwSs79qKOC9iRVb5LtEQHYLaif78E/rGEuqlclnkzybqx9+0qGdTwVoN4NylaKhLnvWWOlWRlk8FMKwhc68cnW7vIJYx4Wy27moHG5Nfiv9r3+bi70brfM9paQ/nWZCBFNphKAXyRx1rhutheU4MdGNqyPln2QC8x4sP5AgKnX4txSuNbYMCrMiBh3JrJrLIe+V+J056ciseyUmBix53LZKvOTHVRHrYA6wcJDyF6grhtk6jvx1TAqoCzf4smaivppIke/qr root@easylist-downloads.adblockplus.org No need to duplicate that file, ...
Nov. 14, 2013, 1:02 p.m. (2013-11-14 13:02:27 UTC) #16
christian
Make the changes to the ssh handling http://codereview.adblockplus.org/6029451183783936/diff/5784178486411264/modules/private-stub/files/filtermaster-authorized_keys File modules/private-stub/files/filtermaster-authorized_keys (right): http://codereview.adblockplus.org/6029451183783936/diff/5784178486411264/modules/private-stub/files/filtermaster-authorized_keys#newcode1 modules/private-stub/files/filtermaster-authorized_keys:1: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDX4XK+lIIFKbqahR9AWxFtMoAbsZkwZXXffzgNvTbgWE0+4JujBQvoP4Nz2gbg18M/pN0pPgm2Lda1WwSs79qKOC9iRVb5LtEQHYLaif78E/rGEuqlclnkzybqx9+0qGdTwVoN4NylaKhLnvWWOlWRlk8FMKwhc68cnW7vIJYx4Wy27moHG5Nfiv9r3+bi70brfM9paQ/nWZCBFNphKAXyRx1rhutheU4MdGNqyPln2QC8x4sP5AgKnX4txSuNbYMCrMiBh3JrJrLIe+V+J056ciseyUmBix53LZKvOTHVRHrYA6wcJDyF6grhtk6jvx1TAqoCzf4smaivppIke/qr ...
Nov. 14, 2013, 1:31 p.m. (2013-11-14 13:31:26 UTC) #17
Wladimir Palant
http://codereview.adblockplus.org/6029451183783936/diff/5784178486411264/modules/private-stub/files/filtermaster-authorized_keys File modules/private-stub/files/filtermaster-authorized_keys (right): http://codereview.adblockplus.org/6029451183783936/diff/5784178486411264/modules/private-stub/files/filtermaster-authorized_keys#newcode1 modules/private-stub/files/filtermaster-authorized_keys:1: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDX4XK+lIIFKbqahR9AWxFtMoAbsZkwZXXffzgNvTbgWE0+4JujBQvoP4Nz2gbg18M/pN0pPgm2Lda1WwSs79qKOC9iRVb5LtEQHYLaif78E/rGEuqlclnkzybqx9+0qGdTwVoN4NylaKhLnvWWOlWRlk8FMKwhc68cnW7vIJYx4Wy27moHG5Nfiv9r3+bi70brfM9paQ/nWZCBFNphKAXyRx1rhutheU4MdGNqyPln2QC8x4sP5AgKnX4txSuNbYMCrMiBh3JrJrLIe+V+J056ciseyUmBix53LZKvOTHVRHrYA6wcJDyF6grhtk6jvx1TAqoCzf4smaivppIke/qr root@easylist-downloads.adblockplus.org On 2013/11/14 13:31:26, cvervoorts wrote: > ...
Nov. 14, 2013, 2:10 p.m. (2013-11-14 14:10:22 UTC) #18
christian
Fixed http://codereview.adblockplus.org/6029451183783936/diff/5784178486411264/modules/private-stub/files/filtermaster-authorized_keys File modules/private-stub/files/filtermaster-authorized_keys (right): http://codereview.adblockplus.org/6029451183783936/diff/5784178486411264/modules/private-stub/files/filtermaster-authorized_keys#newcode1 modules/private-stub/files/filtermaster-authorized_keys:1: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDX4XK+lIIFKbqahR9AWxFtMoAbsZkwZXXffzgNvTbgWE0+4JujBQvoP4Nz2gbg18M/pN0pPgm2Lda1WwSs79qKOC9iRVb5LtEQHYLaif78E/rGEuqlclnkzybqx9+0qGdTwVoN4NylaKhLnvWWOlWRlk8FMKwhc68cnW7vIJYx4Wy27moHG5Nfiv9r3+bi70brfM9paQ/nWZCBFNphKAXyRx1rhutheU4MdGNqyPln2QC8x4sP5AgKnX4txSuNbYMCrMiBh3JrJrLIe+V+J056ciseyUmBix53LZKvOTHVRHrYA6wcJDyF6grhtk6jvx1TAqoCzf4smaivppIke/qr root@easylist-downloads.adblockplus.org On 2013/11/14 14:10:23, Wladimir Palant ...
Nov. 14, 2013, 2:18 p.m. (2013-11-14 14:18:47 UTC) #19
Wladimir Palant
modules/private-stub/files/rsync@filterserver_known_hosts still seems to be part of the patch even though it isn't used. LGTM ...
Nov. 14, 2013, 2:42 p.m. (2013-11-14 14:42:54 UTC) #20
christian
On 2013/11/14 14:42:54, Wladimir Palant wrote: > modules/private-stub/files/rsync@filterserver_known_hosts still seems to be part > of ...
Nov. 14, 2013, 2:52 p.m. (2013-11-14 14:52:03 UTC) #21
Wladimir Palant
LGTM
Nov. 14, 2013, 2:54 p.m. (2013-11-14 14:54:37 UTC) #22
Felix Dahlke
http://codereview.adblockplus.org/6029451183783936/diff/5763418761986048/modules/filtermaster/manifests/init.pp File modules/filtermaster/manifests/init.pp (right): http://codereview.adblockplus.org/6029451183783936/diff/5763418761986048/modules/filtermaster/manifests/init.pp#newcode30 modules/filtermaster/manifests/init.pp:30: file {'/home/rsync/.ssh': Can you move this down so it's ...
Nov. 14, 2013, 3:07 p.m. (2013-11-14 15:07:31 UTC) #23
christian
Should be everything http://codereview.adblockplus.org/6029451183783936/diff/5763418761986048/modules/filtermaster/manifests/init.pp File modules/filtermaster/manifests/init.pp (right): http://codereview.adblockplus.org/6029451183783936/diff/5763418761986048/modules/filtermaster/manifests/init.pp#newcode30 modules/filtermaster/manifests/init.pp:30: file {'/home/rsync/.ssh': On 2013/11/14 15:07:31, Felix ...
Nov. 14, 2013, 3:26 p.m. (2013-11-14 15:26:42 UTC) #24
Felix Dahlke
Nov. 14, 2013, 3:33 p.m. (2013-11-14 15:33:29 UTC) #25
Nice, LGTM!

http://codereview.adblockplus.org/6029451183783936/diff/5763418761986048/modu...
File modules/filtermaster/manifests/init.pp (right):

http://codereview.adblockplus.org/6029451183783936/diff/5763418761986048/modu...
modules/filtermaster/manifests/init.pp:72: exec { "fetch_${title}":
On 2013/11/14 15:26:43, cvervoorts wrote:
> On 2013/11/14 15:07:31, Felix H. Dahlke wrote:
> > No space before ", and ' instead of ".
> 
> remove space, will broke if i replace the " because of the variable
replacement
> will not work.

Oops, right.

Powered by Google App Engine
This is Rietveld