bind => $bind,
id => "${name}-ftp",
server => '/usr/sbin/vsftpd',
- port => 'ftp',
+ service => 'ftp',
server_args => $fname,
ferm => false,
instances => $max_clients,
require => File[$fname]
}
- # 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'],
- }
-
Service['vsftpd']->Service['xinetd']
}