Left: | ||
Right: |
OLD | NEW |
---|---|
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_max_limits': |
7 custom_configuration => ' | 7 target => 'sshd_config', |
8 MaxSessions 50 | 8 order => '02', |
Wladimir Palant
2014/07/15 11:56:47
This doesn't need to be sequential, '50' maybe?
| |
9 MaxStartups 50 | 9 content => ' |
10 MaxSessions 50 | |
11 MaxStartups 50 | |
12 ' | |
13 } | |
10 | 14 |
11 Match User rsync | 15 concat::fragment {'sshd_user_rsync': |
12 AllowTcpForwarding no | 16 target => 'sshd_config', |
13 X11Forwarding no | 17 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
| |
14 AllowAgentForwarding no | 18 Match User rsync |
15 GatewayPorts no | 19 AllowTcpForwarding no |
16 ForceCommand rsync --server --sender -vltprz --delete-excluded . /home/rsy nc/generated/data/' | 20 X11Forwarding no |
21 AllowAgentForwarding no | |
22 GatewayPorts no | |
23 ForceCommand rsync --server --sender -vltprz --delete-excluded . /home/r sync/generated/data/ | |
24 ' | |
17 } | 25 } |
18 | 26 |
19 user {'rsync': | 27 user {'rsync': |
20 ensure => present, | 28 ensure => present, |
21 comment => 'Filter list mirror user', | 29 comment => 'Filter list mirror user', |
22 home => '/home/rsync', | 30 home => '/home/rsync', |
23 managehome => true | 31 managehome => true |
24 } | 32 } |
25 | 33 |
26 file {'/home/rsync/update_repos.sh': | 34 file {'/home/rsync/update_repos.sh': |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
126 User['rsync'], | 134 User['rsync'], |
127 File['/home/rsync/update_repos.sh'] | 135 File['/home/rsync/update_repos.sh'] |
128 ], | 136 ], |
129 minute => '8-58/10' | 137 minute => '8-58/10' |
130 } | 138 } |
131 | 139 |
132 class {'sitescripts': | 140 class {'sitescripts': |
133 sitescriptsini_source => 'puppet:///modules/filtermaster/sitescripts' | 141 sitescriptsini_source => 'puppet:///modules/filtermaster/sitescripts' |
134 } | 142 } |
135 } | 143 } |
OLD | NEW |