Still fails for me. Perhaps it changed in some puppet version? r...@puppet-test:~# puppet -V 0.24.8
r...@puppet-test:~# cat /var/tmp/puppet-cron.pp package{ "cron": ensure => "latest", } Cron { require => [ Package["cron"], Service["cron"] ], } cron {"puppet cron test": command => "echo test", hour => 0, user => "root", } r...@puppet-test:~# puppet /var/tmp/puppet-cron.pp sh: Syntax error: Bad fd number sh: Syntax error: Bad fd number err: Could not create puppet cron test: Could not find a default provider for cron Could not find a default provider for cron seph Joe McDonagh <joseph.e.mcdon...@gmail.com> writes: > You need to require both the package and service in all your cron > resources. So, best thing to do is set it in your site.pp like Cron { > require => [ Package["cron"], Service["cron"] ] }. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---