]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/vsftpd/manifests/nolisten.pp
cleanup
[dsa-puppet.git] / modules / vsftpd / manifests / nolisten.pp
index 0bf6aaf2e09ad6ee276c6409cffb03c63bae7cb4..9347845e3209107aef983a11e3ae844a1731f1f3 100644 (file)
@@ -1,13 +1,15 @@
-class vsftpd::nolisten {
+class vsftpd::nolisten inherits vsftpd {
 
        Service['vsftpd'] {
                ensure => stopped,
                noop   => true,
        }
 
+       Service['vsftpd']->Service['xinetd']
+
        file { '/etc/vsftpd.conf':
                noop    => true,
-               content => 'listen=NO',
+               content => "listen=NO\n",
                notify  => Service['vsftpd']
        }
 }