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'],
+ }
+
+ # Ensure the empty dir is present, workaround for #789127
+ file { '/etc/tmpfiles.d/vsftpd.conf':
+ content => 'd /var/run/vsftpd/empty 0755 root root -',
+ notify => Exec['systemd-tmpfiles --create --exclude-prefix=/dev'],
+ }
+
munin::check { 'vsftpd':
ensure => absent
}
Package['debian.org']
]
}
-
}