[Pkg-puppet-devel] Bug#1060084: puppet-agent: Resource type 'Cron' was not found, even after puppet-module-puppetlabs-cron-core installed

Will Partain will+debian at parple.org
Fri Jan 5 19:02:38 GMT 2024


Package: puppet-agent
Version: 7.23.0-1
Severity: important

Dear Maintainer,

(This is a more detailed version of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054664 )

Did: apt install puppet-agent puppetserver puppetdb

Ended up with, inter alia:

ii  puppet-agent                                7.23.0-1                       ii  puppet-module-puppetlabs-augeas-core        1.1.2-1                        ii  puppet-module-puppetlabs-cron-core          1.1.0+dfsg1-1                  ii  puppet-module-puppetlabs-host-core          1.1.0-1                        ii  puppet-module-puppetlabs-mount-core         1.0.4+dfsg1-2                  ii  puppet-module-puppetlabs-selinux-core       1.2.0-1                        ii  puppet-module-puppetlabs-sshkeys-core       2.3.0-1                        ii  puppetdb                                    7.12.1-3                       ii  puppetserver                                7.9.5-2                        

Invoked puppet-agent against a "legacy" server:

   /usr/bin/puppet agent --server parple-pup1.parple.org --test --certname=parple-pup2.parple.org --environment=prodnew --diff_args=-U1 --noop --debug

It received "work" from the server, and started doing things, until it needed 'Cron'... (the debugging log just before that...):

  Debug: /Package[apticron]: Provider apt does not support features install_only; not managing attribute install_only
  Debug: /Package[logrotate]: Provider apt does not support features targetable; not managing attribute command
  Debug: /Package[logrotate]: Provider apt does not support features install_only; not managing attribute install_only
  Error: Failed to apply catalog: Resource type 'Cron' was not found

The full debugging info gives no hint of what it is failing to find, or what might not be working like expected.  Puppet without 'cron' resources is of, uh, limited value.

Thanks for your help, or any insight.

Will

-- System Information:
Debian Release: 12.4
  APT prefers stable
  APT policy: (900, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.2.0-39-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages puppet-agent depends on:
ii  adduser                3.134
ii  debconf [debconf-2.0]  1.5.82
ii  facter                 4.3.0-2
ii  hiera                  3.10.0-1
ii  init-system-helpers    1.65.2
ii  ruby                   1:3.1
ii  ruby-augeas            1:0.5.0+gem-1
ii  ruby-concurrent        1.1.6+dfsg-5
ii  ruby-deep-merge        1.1.1-2
ii  ruby-semantic-puppet   1.0.4-1
ii  ruby-shadow            2.5.1-1
ii  ruby-sorted-set        1.0.3-3

Versions of packages puppet-agent recommends:
ii  augeas-tools   1.14.0-1
ii  debconf-utils  1.5.82
ii  lsb-release    12.0-1
ii  ruby-selinux   3.4-1+b6

Versions of packages puppet-agent suggests:
pn  hiera-eyaml                            <none>
ii  puppet-module-puppetlabs-augeas-core   1.1.2-1
ii  puppet-module-puppetlabs-cron-core     1.1.0+dfsg1-1
ii  puppet-module-puppetlabs-host-core     1.1.0-1
ii  puppet-module-puppetlabs-mount-core    1.0.4+dfsg1-2
ii  puppet-module-puppetlabs-selinux-core  1.2.0-1
ii  puppet-module-puppetlabs-sshkeys-core  2.3.0-1
pn  puppet-module-puppetlabs-stdlib        <none>
ii  ruby-hocon                             1.3.1-2
pn  ruby-msgpack                           <none>

-- debconf information excluded



More information about the Pkg-puppet-devel mailing list