]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/vsftpd/manifests/nolisten.pp
drop a bunch of noops
[dsa-puppet.git] / modules / vsftpd / manifests / nolisten.pp
index 38e6d8cce4d0b03f162a012f2032be72a4195abf..78fcd008a8b5aed4979a47c599e488745a0ddebe 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']
        }
 }