diff options
author | Gabriel Filion <lelutin@gmail.com> | 2013-01-02 11:26:56 -0500 |
---|---|---|
committer | Gabriel Filion <lelutin@gmail.com> | 2013-01-02 11:26:56 -0500 |
commit | 87b8cf7133beb4c9dd6f6e7692d374d302f8ea5a (patch) | |
tree | 97c24ea735930366b85cc8d54cdfca044a6fa810 /manifests/linux.pp | |
parent | 413b964ec31f9eb6035ecb4c5e38a90f1eee596f (diff) |
Make all linux distributions use the same path for the cron file
This simplifies the hierarchy and fixes the problem that going from
puppet::cron to puppet under debian doesn't remove the cron file.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
Diffstat (limited to 'manifests/linux.pp')
-rw-r--r-- | manifests/linux.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/linux.pp b/manifests/linux.pp index b2359d2..e752788 100644 --- a/manifests/linux.pp +++ b/manifests/linux.pp @@ -14,6 +14,10 @@ class puppet::linux inherits puppet::base { require => Package[puppet], } + file { '/etc/cron.d/puppetd': + ensure => absent + } + # For backwards compatibility, remove this so that the cron is not duplicated file { '/etc/cron.d/puppetd.cron': ensure => absent } |