X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fvsftpd%2Fmanifests%2Fsite.pp;h=4adb08a9dabc7e4d9572692202783001a1b7015e;hb=4326b0a78553bfe9696c10f1a69e1316acd23802;hp=46c805edb7121b35bd2a23f2286dc1bea821da6c;hpb=2e543336735a47031e835f32ee49351ad84eea45;p=mirror%2Fdsa-puppet.git diff --git a/modules/vsftpd/manifests/site.pp b/modules/vsftpd/manifests/site.pp index 46c805edb..4adb08a9d 100644 --- a/modules/vsftpd/manifests/site.pp +++ b/modules/vsftpd/manifests/site.pp @@ -3,6 +3,7 @@ define vsftpd::site ( $bind='', $chown_user='', $writable=false, + $writable_other=false, $banner="${name} FTP Server", $max_clients=100, $logfile="/var/log/ftp/vsftpd-${name}.debian.org.log", @@ -29,12 +30,19 @@ define vsftpd::site ( ensure => absent } + munin::check { "vsftpd-${name}": + script => 'vsftpd' + } + munin::conf { "vsftpd-${name}": + content => template('vsftpd/munin.erb') + } + # We don't need a firewall rule because it's added in vsftp.pp xinetd::service { "vsftpd-${name}": bind => $bind, id => "${name}-ftp", server => '/usr/sbin/vsftpd', - port => 'ftp', + service => 'ftp', server_args => $fname, ferm => false, instances => $max_clients,