Puppet Class: incron::purge
- Defined in:
- manifests/purge.pp
Overview
Purge /etc/incron.d
and /var/spool/incron
directories.
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'manifests/purge.pp', line 4
class incron::purge {
file { '/etc/incron.d':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
recurse => true,
purge => true,
force => true,
noop => if $::incron::purge_noop { true } else { undef },
}
file { '/var/spool/incron':
ensure => directory,
owner => 'root',
group => 'incron',
mode => '1731',
recurse => true,
purge => true,
force => true,
noop => if $::incron::purge_noop { true } else { undef },
}
}
|