]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/vsftpd/manifests/init.pp
Do not mask vsftpd.service in each site
[dsa-puppet.git] / modules / vsftpd / manifests / init.pp
index 7f0be8fc83455f9557916d254c3c18bb47959cd5..876e8654bbd94bfbf66a6ddf6952fa80f46d0b8c 100644 (file)
@@ -18,6 +18,14 @@ class vsftpd {
                notify  => Service['vsftpd']
        }
 
+       # Mask the vsftpd service as we are using xinetd
+       file { '/etc/systemd/system/vsftpd.service':
+               ensure => 'link',
+               target => '/dev/null',
+               notify => Exec['systemctl daemon-reload'],
+       }
+
+
        munin::check { 'vsftpd':
                ensure => absent
        }
@@ -42,5 +50,4 @@ class vsftpd {
                        Package['debian.org']
                ]
        }
-
 }