Index: modules/filtermaster/manifests/init.pp |
=================================================================== |
--- a/modules/filtermaster/manifests/init.pp |
+++ b/modules/filtermaster/manifests/init.pp |
@@ -3,17 +3,16 @@ |
environment => ['MAILTO=admins@adblockplus.org', 'PYTHONPATH=/opt/sitescripts'], |
} |
- class {'ssh': |
- custom_configuration => ' |
- MaxSessions 50 |
- MaxStartups 50 |
- |
- Match User rsync |
- AllowTcpForwarding no |
- X11Forwarding no |
- AllowAgentForwarding no |
- GatewayPorts no |
- ForceCommand rsync --server --sender -vltprz --delete-excluded . /home/rsync/generated/data/' |
+ concat::fragment {'sshd_user_rsync': |
+ target => 'sshd_config', |
+ content => ' |
+ Match User rsync |
+ AllowTcpForwarding no |
+ X11Forwarding no |
+ AllowAgentForwarding no |
+ GatewayPorts no |
+ ForceCommand rsync --server --sender -vltprz --delete-excluded . /home/rsync/generated/data/ |
+ ' |
} |
user {'rsync': |