#1054664 puppet-module-puppetlabs-cron-core: after installing, still get: Resource type 'Cron' was not found

#1054664#5
Date:
2023-10-27 15:48:17 UTC
From:
To:
Dear Maintainer,

Installed 'puppet-agent'.  Then, when running my years-old puppet-agent-
invoking script, I got:

   ...
   Info: Loading facts
   Error: Failed to apply catalog: Resource type 'Cron' was not found

(I expected the Puppet agent to proceed normally.)

I then 'apt install'ed puppet-module-puppetlabs-cron-core and... got the exact
same result.

I've done 'apt install puppet-agent' straight off apt.puppetlabs.com for years,
and haven't
seen this.  (I would prefer straight Debian, of course.)  Not clear (to me)
what's wrong.

My understanding from reading the Puppet docs is that 'cron' is no longer
builtin to Puppet, but the module is still normally considered an integral part
of Puppet.

Thank you for your efforts.

#1054664#10
Date:
2026-08-23 20:52:41 UTC
From:
To:
Hello.

A quick and dirty fix is to link the module to
/usr/share/puppet/vendor_modules/.

Got the idea from https://github.com/puppetlabs/puppet-agent/issues/2445

Sincerly,
DaB.