From: Bastian Blank Date: Fri, 31 Mar 2017 09:24:35 +0000 (+0200) Subject: Allow ensure absent in vsftp::site X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5979bb4b6bfcaa4ba61723b82a38f5ccfd4b4fb7;p=mirror%2Fdsa-puppet.git Allow ensure absent in vsftp::site Signed-off-by: Martin Zobel-Helas --- diff --git a/modules/vsftpd/manifests/site.pp b/modules/vsftpd/manifests/site.pp index 4adb08a9d..98cca9776 100644 --- a/modules/vsftpd/manifests/site.pp +++ b/modules/vsftpd/manifests/site.pp @@ -31,14 +31,17 @@ define vsftpd::site ( } munin::check { "vsftpd-${name}": + ensure => $ensure, script => 'vsftpd' } munin::conf { "vsftpd-${name}": + ensure => $ensure, content => template('vsftpd/munin.erb') } # We don't need a firewall rule because it's added in vsftp.pp xinetd::service { "vsftpd-${name}": + ensure => $ensure, bind => $bind, id => "${name}-ftp", server => '/usr/sbin/vsftpd',