diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-10-30 04:07:52 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2005-10-30 04:07:52 +0000 |
commit | ba76eb2da506aee52b5bbbce842fa5ac361540a0 (patch) | |
tree | 10016d5b84c55993c5e9391142733a78981de453 /lib/puppet/type/cron.rb | |
parent | e605a5c181ef8cd2ec57384c7816bf1f7980aedb (diff) | |
download | puppet-ba76eb2da506aee52b5bbbce842fa5ac361540a0.tar.gz puppet-ba76eb2da506aee52b5bbbce842fa5ac361540a0.tar.xz puppet-ba76eb2da506aee52b5bbbce842fa5ac361540a0.zip |
Cleaning up tests resulting from the changes to the parser
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@737 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/type/cron.rb')
-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 f237ecd7d..88ea83b4d 100755 --- a/lib/puppet/type/cron.rb +++ b/lib/puppet/type/cron.rb @@ -310,7 +310,7 @@ module Puppet raise Puppet::DevError, "No command for %s" % name end # if the cron already exists with that name... - if cron = Puppet::Type::Cron[hash[:command]] + if cron = Puppet::Type::Cron[name] # do nothing... elsif tmp = @instances[user].reject { |obj| ! obj.is_a?(Cron) |