add fact for ganeti cluster
[mirror/dsa-puppet.git] / modules / vsftpd / manifests / init.pp
index 9ca68bf..2e099d7 100644 (file)
@@ -8,7 +8,14 @@ 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': }