notify => Service['vsftpd']
}
- munin::check { 'vsftpd': }
+ munin::check { 'vsftpd':
+ ensure => absent
+ }
munin::check { 'ps_vsftpd':
script => 'ps_'
}
description => 'Allow ftp access',
rule => '&SERVICE(tcp, 21)',
}
+
+ file { '/var/log/ftp':
+ ensure => directory,
+ mode => '0755'
+ }
+ file { '/etc/logrotate.d/vsftpd':
+ source => 'puppet:///modules/vsftpd/logrotate.conf',
+ require => [
+ Package['vsftpd'],
+ Package['debian.org']
+ ]
+ }
+
}