X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Frsync%2Fmanifests%2Finit.pp;h=1b66a2898b138c3f3a5451ebeb053fe6006f4a9c;hb=03f5b6f6ce2d06811208c93f6838e0318347bceb;hp=a80582c63fb38989748fb8c599a9367bd1cc6a8b;hpb=65db044eca916f247927517a475052318ab672cd;p=mirror%2Fdsa-puppet.git diff --git a/modules/rsync/manifests/init.pp b/modules/rsync/manifests/init.pp index a80582c63..1b66a2898 100644 --- a/modules/rsync/manifests/init.pp +++ b/modules/rsync/manifests/init.pp @@ -18,21 +18,13 @@ class rsync { mode => '0755', } - @ferm::rule { 'dsa-rsync': + ferm::rule { 'dsa-rsync': domain => '(ip ip6)', description => 'Allow rsync access', rule => '&SERVICE(tcp, 873)' } file { '/usr/local/sbin/systemd-cleanup-failed-rsyncs': - source => 'puppet:///modules/rsync/systemd-cleanup-failed-rsyncs', - mode => '0555', - } - file { '/etc/cron.d/puppet-crazy-multipath-restart': ensure => absent, } - concat::fragment { 'dsa-puppet-stuff--systemd-cleanup-failed-rsyncs': - target => '/etc/cron.d/dsa-puppet-stuff', - content => @("EOF"), - */10 * * * * root /usr/local/sbin/systemd-cleanup-failed-rsyncs - | EOF + ensure => absent, } }