Hi All,

For some reason, I'm unable to manage cron resources on my CentOS5
server:

manifest:

  cron { "test":
    command => '/bin/true',
    user    => 'root',
    hour   => '1',
  }

And when I try to run this via puppetmasterd:

info: Caching catalog for ny-dev84.domain.com
err: Could not prefetch package provider 'yum': Execution of '/usr/
local/bin/python /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/
yumhelper.py' returned 1: <type 'exceptions.AttributeError'>

info: Applying configuration version '1264214417'
notice: //crontab::puppet_runner/Cron[test]/ensure: created
"-":5: bad command
errors in crontab file, can't install.
notice: Finished catalog run in 3.69 seconds


There are two things here that confuse me. 1: what's the deal with the
'could not prefetch package provider' and 2: why does "/bin/true"
result in "bad command"?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to