Left: | ||
Right: |
LEFT | RIGHT |
---|---|
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 concat::fragment {'sshd_max_limits': | 6 concat::fragment {'sshd_max_limits': |
7 target => 'sshd_config', | 7 target => 'sshd_config', |
8 order => '02', | 8 order => '50', |
Wladimir Palant
2014/07/15 11:56:47
This doesn't need to be sequential, '50' maybe?
| |
9 content => ' | 9 content => ' |
10 MaxSessions 50 | 10 MaxSessions 50 |
11 MaxStartups 50 | 11 MaxStartups 50 |
12 ' | 12 ' |
13 } | 13 } |
14 | 14 |
15 concat::fragment {'sshd_user_rsync': | 15 concat::fragment {'sshd_user_rsync': |
16 target => 'sshd_config', | 16 target => 'sshd_config', |
17 order => '99', | |
17 content => ' | 18 content => ' |
Wladimir Palant
2014/07/15 11:56:47
order => '99'?
mathias
2014/07/15 12:03:12
Either the non-block settings (see your comment ab
Wladimir Palant
2014/07/15 14:18:35
I don't really understand your comment. My underst
| |
18 Match User rsync | 19 Match User rsync |
19 AllowTcpForwarding no | 20 AllowTcpForwarding no |
20 X11Forwarding no | 21 X11Forwarding no |
21 AllowAgentForwarding no | 22 AllowAgentForwarding no |
22 GatewayPorts no | 23 GatewayPorts no |
23 ForceCommand rsync --server --sender -vltprz --delete-excluded . /home/r sync/generated/data/ | 24 ForceCommand rsync --server --sender -vltprz --delete-excluded . /home/r sync/generated/data/ |
24 ' | 25 ' |
25 } | 26 } |
26 | 27 |
27 user {'rsync': | 28 user {'rsync': |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
134 User['rsync'], | 135 User['rsync'], |
135 File['/home/rsync/update_repos.sh'] | 136 File['/home/rsync/update_repos.sh'] |
136 ], | 137 ], |
137 minute => '8-58/10' | 138 minute => '8-58/10' |
138 } | 139 } |
139 | 140 |
140 class {'sitescripts': | 141 class {'sitescripts': |
141 sitescriptsini_source => 'puppet:///modules/filtermaster/sitescripts' | 142 sitescriptsini_source => 'puppet:///modules/filtermaster/sitescripts' |
142 } | 143 } |
143 } | 144 } |
LEFT | RIGHT |