Thanks Matt.

>From http://projects.puppetlabs.com/issues/11362



> This was fixed in #6907 <http://projects.puppetlabs.com/issues/6907> and
> released in puppet 2.7.8
>


Now it is clear. The client that I'm using is a lower version one.

[root@client ~]# rpm -qa | grep puppet
puppet-2.6.17-2.el5



On 8 October 2012 14:55, Matthew Burgess
<matthew.2.burg...@googlemail.com>wrote:

> On Mon, Oct 8, 2012 at 10:14 AM, 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
>
> I remember running into this as well.
> http://projects.puppetlabs.com/issues/11362 looks relevant but links
> to a closed bug at http://projects.puppetlabs.com/issues/6907.  I
> didn't bother looking into it much beyond that; I just made sure that
> when our RHEL boxes were kickstarted, that vixie-cron was installed
> prior to the puppet client's first run.
>
> By the looks of #6907 though, it looks like this is expected to work,
> so it might be worth opening a ticket to have that investigated.  I'll
> see if I can reproduce on a VM here today.
>
> Thanks,
>
> Matt.
>
> --
> 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.
>
>


-- 
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.

Reply via email to