munin::check { 'spamassassin': }
}
- if $::vsftpd {
- package { 'logtail':
- ensure => installed
- }
- munin::check { 'vsftpd': }
- munin::check { 'ps_vsftpd':
- script => 'ps_'
- }
+ if $::hostname in [chopin,franck,gluck,kassia,klecker,lobos,morricone,ravel,saens,schein,santoro,steffani,valente,villa,wieck,bizet] {
+ include vsftpd
}
}
+++ /dev/null
-class ferm::ftp {
- @ferm::rule { 'dsa-ftp':
- domain => '(ip ip6)',
- description => 'Allow ftp access',
- rule => '&SERVICE(tcp, 21)',
- }
-}
include ferm::zivit
}
- if $::hostname in [chopin,franck,gluck,kassia,klecker,lobos,morricone,ravel,saens,schein,santoro,steffani,valente,villa,wieck,bizet] {
- include ferm::ftp
- }
-
case $::hostname {
piatti,samosa: {
@ferm::rule { 'dsa-udd-stunnel':
--- /dev/null
+class vsftpd {
+
+ package { 'vsftpd':
+ ensure => installed
+ }
+ package { 'logtail':
+ ensure => installed
+ }
+
+ service { 'vsftpd':
+ ensure => running
+ }
+
+ munin::check { 'vsftpd': }
+ munin::check { 'ps_vsftpd':
+ script => 'ps_'
+ }
+
+ @ferm::rule { 'dsa-ftp':
+ domain => '(ip ip6)',
+ description => 'Allow ftp access',
+ rule => '&SERVICE(tcp, 21)',
+ }
+}