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 => '50', |
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 order => '99', |
14 AllowAgentForwarding no | 18 content => ' |
15 GatewayPorts no | 19 Match User rsync |
16 ForceCommand rsync --server --sender -vltprz --delete-excluded . /home/rsy
nc/generated/data/' | 20 AllowTcpForwarding no |
| 21 X11Forwarding no |
| 22 AllowAgentForwarding no |
| 23 GatewayPorts no |
| 24 ForceCommand rsync --server --sender -vltprz --delete-excluded . /home/r
sync/generated/data/ |
| 25 ' |
17 } | 26 } |
18 | 27 |
19 user {'rsync': | 28 user {'rsync': |
20 ensure => present, | 29 ensure => present, |
21 comment => 'Filter list mirror user', | 30 comment => 'Filter list mirror user', |
22 home => '/home/rsync', | 31 home => '/home/rsync', |
23 managehome => true | 32 managehome => true |
24 } | 33 } |
25 | 34 |
26 file {'/home/rsync/update_repos.sh': | 35 file {'/home/rsync/update_repos.sh': |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 User['rsync'], | 135 User['rsync'], |
127 File['/home/rsync/update_repos.sh'] | 136 File['/home/rsync/update_repos.sh'] |
128 ], | 137 ], |
129 minute => '8-58/10' | 138 minute => '8-58/10' |
130 } | 139 } |
131 | 140 |
132 class {'sitescripts': | 141 class {'sitescripts': |
133 sitescriptsini_source => 'puppet:///modules/filtermaster/sitescripts' | 142 sitescriptsini_source => 'puppet:///modules/filtermaster/sitescripts' |
134 } | 143 } |
135 } | 144 } |
OLD | NEW |