Drop xinetd support in rsync
[mirror/dsa-puppet.git] / modules / vsftpd / manifests / site_systemd.pp
index ced51d4..789c566 100644 (file)
@@ -10,6 +10,7 @@ define vsftpd::site_systemd (
        $ensure=present,
 ) {
        include vsftpd
+       include ferm::ftp_conntrack
 
        case $ensure {
                present,absent: {}
@@ -26,6 +27,8 @@ define vsftpd::site_systemd (
                absent  => false,
        }
 
+       $ftpsite = $name
+
        $fname = "/etc/vsftpd-${name}.conf"
 
        file { $fname:
@@ -69,6 +72,7 @@ define vsftpd::site_systemd (
                        Exec['systemctl daemon-reload'],
                        File["/etc/systemd/system/vsftpd-${name}@.service"],
                        File["/etc/systemd/system/vsftpd-${name}.socket"],
+                       Service['xinetd'],
                ],
                provider => systemd,
        }