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

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

Issue 6029451183783936: Add Filtermaster (Closed)
Left Patch Set: Remove duplicate file Created Nov. 14, 2013, 2:18 p.m.
Right Patch Set: All Done Created Nov. 14, 2013, 3:26 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 | « modules/filterserver/files/known_hosts ('k') | modules/private-stub/files/filtermaster.adblockplus.org_ssh.key » ('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 { 1 class filterserver {
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': 8 class {'statsclient':
9 log_path => '/var/log/nginx/access_log_easylist_downloads.1.gz', 9 log_path => '/var/log/nginx/access_log_easylist_downloads.1.gz',
10 } 10 }
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 source => 'puppet:///modules/filterserver/logrotate' 77 source => 'puppet:///modules/filterserver/logrotate'
78 } 78 }
79 79
80 file {'/home/rsync/.ssh': 80 file {'/home/rsync/.ssh':
81 ensure => directory, 81 ensure => directory,
82 require => User['rsync'], 82 require => User['rsync'],
83 owner => rsync, 83 owner => rsync,
84 mode => 0600; 84 mode => 0600;
85 } 85 }
86 86
87 concat{'/home/rsync/.ssh/known_hosts': 87 concat {'/home/rsync/.ssh/known_hosts':
88 owner => rsync, 88 owner => rsync,
89 mode => 0444, 89 mode => 0444,
90 } 90 }
91 91
92 concat::fragment{'filtermaster_hostname': 92 concat::fragment {'filtermaster_hostname':
93 target => '/home/rsync/.ssh/known_hosts', 93 target => '/home/rsync/.ssh/known_hosts',
94 content => 'filtermaster.adblockplus.org ', 94 content => 'filtermaster.adblockplus.org ',
95 order => 1, 95 order => 1,
96 } 96 }
97 97
98 concat::fragment{'filtermaster_hostkey': 98 concat::fragment {'filtermaster_hostkey':
99 target => '/home/rsync/.ssh/known_hosts', 99 target => '/home/rsync/.ssh/known_hosts',
100 source => 'puppet:///modules/private/filtermaster.adblockplus.org_ssh.pub', 100 source => 'puppet:///modules/private/filtermaster.adblockplus.org_ssh.pub',
101 order => 2, 101 order => 2,
102 } 102 }
103 103
104 file {'/home/rsync/.ssh/id_rsa': 104 file {'/home/rsync/.ssh/id_rsa':
105 ensure => file, 105 ensure => file,
106 require => [ 106 require => [
107 File['/home/rsync/.ssh'], 107 File['/home/rsync/.ssh'],
108 User['rsync'] 108 User['rsync']
(...skipping 21 matching lines...) Expand all
130 File['/home/rsync/.ssh/id_rsa'], 130 File['/home/rsync/.ssh/id_rsa'],
131 User['rsync'] 131 User['rsync']
132 ], 132 ],
133 command => 'rsync -e ssh -ltprz --delete rsync@filtermaster1.adblockplus.org :. /var/www/easylist/', 133 command => 'rsync -e ssh -ltprz --delete rsync@filtermaster1.adblockplus.org :. /var/www/easylist/',
134 environment => ['MAILTO=admins@adblockplus.org,root'], 134 environment => ['MAILTO=admins@adblockplus.org,root'],
135 user => rsync, 135 user => rsync,
136 hour => '*', 136 hour => '*',
137 minute => '2-52/10' 137 minute => '2-52/10'
138 } 138 }
139 } 139 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld