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

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

Issue 5766400081657856: #760 - Make our ssh configuration used automatically for all servers (Closed)
Patch Set: #760 - Make our ssh configuration used automatically for all servers Created July 15, 2014, 12:59 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
« no previous file with comments | « modules/base/manifests/init.pp ('k') | modules/ssh/manifests/init.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 filtermaster { 1 class filtermaster {
2 Cron { 2 Cron {
3 environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescript s'], 3 environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescript s'],
4 } 4 }
5 5
6 class {'ssh': 6 concat::fragment {'sshd_user_rsync':
7 custom_configuration => ' 7 target => 'sshd_config',
8 MaxSessions 50 8 content => '
9 MaxStartups 50 9 Match User rsync
10 10 AllowTcpForwarding no
11 Match User rsync 11 X11Forwarding no
12 AllowTcpForwarding no 12 AllowAgentForwarding no
13 X11Forwarding no 13 GatewayPorts no
14 AllowAgentForwarding no 14 ForceCommand rsync --server --sender -vltprz --delete-excluded . /home/r sync/generated/data/
15 GatewayPorts no 15 '
16 ForceCommand rsync --server --sender -vltprz --delete-excluded . /home/rsy nc/generated/data/'
17 } 16 }
18 17
19 user {'rsync': 18 user {'rsync':
20 ensure => present, 19 ensure => present,
21 comment => 'Filter list mirror user', 20 comment => 'Filter list mirror user',
22 home => '/home/rsync', 21 home => '/home/rsync',
23 managehome => true 22 managehome => true
24 } 23 }
25 24
26 file {'/home/rsync/update_repos.sh': 25 file {'/home/rsync/update_repos.sh':
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 User['rsync'], 125 User['rsync'],
127 File['/home/rsync/update_repos.sh'] 126 File['/home/rsync/update_repos.sh']
128 ], 127 ],
129 minute => '8-58/10' 128 minute => '8-58/10'
130 } 129 }
131 130
132 class {'sitescripts': 131 class {'sitescripts':
133 sitescriptsini_source => 'puppet:///modules/filtermaster/sitescripts' 132 sitescriptsini_source => 'puppet:///modules/filtermaster/sitescripts'
134 } 133 }
135 } 134 }
OLDNEW
« no previous file with comments | « modules/base/manifests/init.pp ('k') | modules/ssh/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld