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