Issue #2144 has been updated by luke.

Status changed from Unreviewed to Duplicate

I'm assuming this is a dupe of #775, even with the weird centos/ubuntu 
difference.
----------------------------------------
Bug #2144: issue with cron type on ubuntu
http://projects.reductivelabs.com/issues/2144

Author: lludwig
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.7
Keywords: 


With this code:
<pre>
            cron { 'puppet':
                name      => 'puppet',
                ensure    => absent,
                require   => Class['cron'],
            }
</pre>

Get this error:
<pre>
info: Caching catalog at /var/lib/puppet/localconfig.yaml
notice: Starting catalog run
debug: Loaded state in 0.01 seconds
debug: Prefetching crontab resources for cron
/usr/local/lib/site_ruby/1.8/puppet/util/errors.rb:51:in `fail'
/usr/local/lib/site_ruby/1.8/puppet/util/errors.rb:5:in `devfail'
/usr/local/lib/site_ruby/1.8/puppet/type/cron.rb:415:in `value'
/usr/local/lib/site_ruby/1.8/puppet/provider/cron/crontab.rb:96:in `match'
/usr/local/lib/site_ruby/1.8/puppet/provider/cron/crontab.rb:93:in `each'
/usr/local/lib/site_ruby/1.8/puppet/provider/cron/crontab.rb:93:in `match'
/usr/local/lib/site_ruby/1.8/puppet/provider/parsedfile.rb:188:in `prefetch'
/usr/local/lib/site_ruby/1.8/puppet/provider/parsedfile.rb:181:in `each'
/usr/local/lib/site_ruby/1.8/puppet/provider/parsedfile.rb:181:in `prefetch'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:491:in `prefetch'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:488:in `each'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:488:in `prefetch'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:508:in `prepare'
/usr/local/lib/site_ruby/1.8/puppet/transaction.rb:300:in `evaluate'
/usr/local/lib/site_ruby/1.8/puppet/node/catalog.rb:124:in `apply'
/usr/local/lib/site_ruby/1.8/puppet/network/client/master.rb:256:in `run'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:180:in `benchmark'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/core_ext/benchmark.rb:8:in
 `realtime'
/usr/local/lib/site_ruby/1.8/puppet/util.rb:179:in `benchmark'
/usr/local/lib/site_ruby/1.8/puppet/network/client/master.rb:255:in `run'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/local/lib/site_ruby/1.8/puppet/network/client/master.rb:237:in `run'
/usr/bin/puppetd:417
err: Could not prefetch cron provider 'crontab': No command, somehow at 
/home/puppet/production/modules/puppet/manifests/debian.pp:67
</pre>

This same code works with centos without error.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to