$ puppet master --configprint modulepath/etc/puppet/modules:/usr/share/puppet/modules
/etc/puppet/modules/cron-job//etc/puppet/modules/cron-job/manifests//etc/puppet/modules/cron-job/manifests/daily.pp/etc/puppet/modules/cron-job/manifests/hourly.pp/etc/puppet/modules/cron-job/manifests/init.pp/etc/puppet/modules/cron-job/manifests/install.pp/etc/puppet/modules/cron-job/manifests/job.pp/etc/puppet/modules/cron-job/manifests/monthly.pp/etc/puppet/modules/cron-job/manifests/weekly.pp/etc/puppet/modules/cron-job/templates//etc/puppet/modules/cron-job/templates/job.erb
include daily
Could not find class daily
cron::daily is actually a defined resource type, so you need to declare that resource as opposed to including a class. If you have multiple nodes that you would like to include the same cron job on, you can write your own class that declares a cron resources and include that.It's hard to say without knowing what you're trying to do, but something like this might be a good place to start:
class crontest {cron::daily {"test_cron_job":minute => '0,15,30,45',hour => '0,12',command => '/usr/bin/derp --foo';}}
Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type cron::daily
Oh, right. You need to rename /etc/puppet/modules/cron-job/ to cron/The outermost directory needs to match the module name which needs to be "cron".