Correction
But, If I already have the vixie-cron package installed , then it will work. > [root@client ~]# /usr/sbin/puppetd --onetime --no-daemonize --verbose > --server puppet.example.com > info: Caching catalog for client.example.com > info: Applying configuration version '1349664509' > notice: /Stage[main]/Base/Cron[puppet]/ensure: created > notice: Finished catalog run in 0.22 seconds > On 8 October 2012 14:44, Basil Kurian <basilkur...@gmail.com> wrote: > I have this definition added in one of my class files > > > package { vixie-cron: ensure => installed, } >> >> cron { puppet: >> command => "/usr/sbin/puppetd --onetime --no-daemonize --verbose >> --server puppet.example.com", >> user => root, >> hour => '*', >> minute => '*/15', >> require => Package[vixie-cron], >> } >> > > > But i 'm getting the error that > > [root@client ~]# /usr/sbin/puppetd --onetime --no-daemonize --verbose >> --server puppet.example.com >> info: Caching catalog for client.example.com >> err: Failed to apply catalog: Could not find a default provider for cron >> > > > But, If I already have the vixie-cron package installed , then it will > work. > > [root@client ~]# /usr/sbin/puppetd --onetime --no-daemonize --verbose >> --server puppet.example.com >> info: Caching catalog for client.example.com >> info: Applying configuration version '1349664487' >> notice: /Stage[main]/Base/Package[vixie-cron]/ensure: created >> notice: Finished catalog run in 4.37 seconds >> > > > That is the 'require => Package[vixie-cron],' thing is not working as > expected. > > > Any clues ? > > -- > Regards > > Basil > > > > > -- Regards Basil -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.