unused module
[mirror/dsa-puppet.git] / modules / vsftpd / manifests / nolisten.pp
index 38e6d8c..78fcd00 100644 (file)
@@ -1,11 +1,13 @@
-class vsftpd::nolisten {
+class vsftpd::nolisten inherits vsftpd {
 
        Service['vsftpd'] {
-               ensure => stopped
+               ensure => stopped,
        }
 
+       Service['vsftpd']->Service['xinetd']
+
        file { '/etc/vsftpd.conf':
-               content => 'listen=NO'
+               content => "listen=NO\n",
                notify  => Service['vsftpd']
        }
 }