all vsftpd is now from xinetd
[mirror/dsa-puppet.git] / modules / vsftpd / manifests / init.pp
index 451706e..2e099d7 100644 (file)
@@ -8,10 +8,16 @@ class vsftpd {
        }
 
        service { 'vsftpd':
-               ensure  => running,
+               ensure  => stopped,
                require => Package['vsftpd']
        }
 
+       file { '/etc/vsftpd.conf':
+               content => "listen=NO\n",
+               require => Package['vsftpd'],
+               notify  => Service['vsftpd']
+       }
+
        munin::check { 'vsftpd': }
        munin::check { 'ps_vsftpd':
                script => 'ps_'