Signed-off-by: Stephen Gran <steve@lobefin.net>
class vsftpd::nolisten inherits vsftpd {
class vsftpd::nolisten inherits vsftpd {
+ $noop = $::hostname ? {
+ villa => false,
+ default => true
+ }
+
Service['vsftpd'] {
ensure => stopped,
Service['vsftpd'] {
ensure => stopped,
}
Service['vsftpd']->Service['xinetd']
file { '/etc/vsftpd.conf':
}
Service['vsftpd']->Service['xinetd']
file { '/etc/vsftpd.conf':
content => "listen=NO\n",
notify => Service['vsftpd']
}
content => "listen=NO\n",
notify => Service['vsftpd']
}