]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/vsftpd/manifests/nolisten.pp
more ordering
[dsa-puppet.git] / modules / vsftpd / manifests / nolisten.pp
index 38e6d8cce4d0b03f162a012f2032be72a4195abf..5d7a23dcce411e4ec8db6628c4a9e68bff71db70 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',
                notify  => Service['vsftpd']
        }
 }