On Dec 5, 10:11 am, Sans <r.santanu....@gmail.com> wrote:
> > Is there some reason why you don't want to use the built-in Cron
> > resource type?
>
> I'm not sure - can I create a cron-job in e.g. "/etc/cron.d/" with
> built in Cron
> resource type? I thought it was only for crontab.


I'm not sure, but you should look into Cron's 'target' parameter,
which looks like it is intended for that purpose.  But that begs the
question: why is it important for the job to be recorded within /etc/
cron.d/?

If that doesn't work then you always have the alternative of extending
one of the built-in Cron providers to create one that puts files where
you want.  That shouldn't be hard, and it would make your manifests
much more readable and maintainable.


John

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