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': |
| 7 target => 'sshd_config', |
| 8 order => '50', |
| 9 content => ' |
| 10 MaxSessions 50 |
| 11 MaxStartups 50 |
| 12 ' |
| 13 } |
| 14 |
6 concat::fragment {'sshd_user_rsync': | 15 concat::fragment {'sshd_user_rsync': |
7 target => 'sshd_config', | 16 target => 'sshd_config', |
| 17 order => '99', |
8 content => ' | 18 content => ' |
9 Match User rsync | 19 Match User rsync |
10 AllowTcpForwarding no | 20 AllowTcpForwarding no |
11 X11Forwarding no | 21 X11Forwarding no |
12 AllowAgentForwarding no | 22 AllowAgentForwarding no |
13 GatewayPorts no | 23 GatewayPorts no |
14 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/ |
15 ' | 25 ' |
16 } | 26 } |
17 | 27 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 User['rsync'], | 135 User['rsync'], |
126 File['/home/rsync/update_repos.sh'] | 136 File['/home/rsync/update_repos.sh'] |
127 ], | 137 ], |
128 minute => '8-58/10' | 138 minute => '8-58/10' |
129 } | 139 } |
130 | 140 |
131 class {'sitescripts': | 141 class {'sitescripts': |
132 sitescriptsini_source => 'puppet:///modules/filtermaster/sitescripts' | 142 sitescriptsini_source => 'puppet:///modules/filtermaster/sitescripts' |
133 } | 143 } |
134 } | 144 } |
LEFT | RIGHT |