diff options
author | Peter Meier <peter.meier@immerda.ch> | 2010-08-12 16:48:22 +0200 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2010-08-21 13:07:26 -0700 |
commit | d1150e0b91626e4f8843f17c413f88efd4a4ba77 (patch) | |
tree | 0501fa1ca1fca3ae12298ae9ba3c561788a1c943 /lib | |
parent | 20f4b903acd91074778f379631cf7545fdff9eb8 (diff) | |
download | puppet-d1150e0b91626e4f8843f17c413f88efd4a4ba77.tar.gz puppet-d1150e0b91626e4f8843f17c413f88efd4a4ba77.tar.xz puppet-d1150e0b91626e4f8843f17c413f88efd4a4ba77.zip |
fix #4528 - treat * as absent
Internally the cron type is seeing params containing only '*', as
absent. However, if a user was setting a parameter explicitely as
'*', we weren't munging it to be absent. Hence, we were setting
this param over and over again.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/puppet/type/cron.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/cron.rb b/lib/puppet/type/cron.rb index 9d827df78..c42f0df55 100755 --- a/lib/puppet/type/cron.rb +++ b/lib/puppet/type/cron.rb @@ -169,7 +169,7 @@ Puppet::Type.newtype(:cron) do end if value == "*" - return value + return :absent end return value unless self.class.boundaries |