diff options
-rw-r--r-- | lib/puppet/type/cron.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/puppet/type/cron.rb b/lib/puppet/type/cron.rb index 4243bcf..332affb 100644 --- a/lib/puppet/type/cron.rb +++ b/lib/puppet/type/cron.rb @@ -459,12 +459,7 @@ Puppet::Type.newtype(:cron) do end unless ret - case name - when :command - when :special - # nothing - else - # ret = (self.class.validproperty?(name).default || "*").to_s + unless [:command, :special].include? name ret = '*' end end |