stop hardcoding hosts
[mirror/dsa-puppet.git] / modules / vsftpd / manifests / nolisten.pp
index c55d745..78fcd00 100644 (file)
@@ -2,12 +2,12 @@ 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']
        }
 }