set default value "su_group" to be in line with Ubuntu 20.04+ #143
Annotations
2 errors
Run tests:
spec/acceptance/class_spec.rb#L8
logrotate class default parameters works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_233650441.NgU1CD.pp
Last 10 lines of output were:
Error: Could not set 'present' on ensure: No such file or directory - A directory component in /etc/cron.hourly/logrotate20241223-805-fs2b8r.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/logrotate/manifests/cron.pp, line: 49)
Error: Could not set 'present' on ensure: No such file or directory - A directory component in /etc/cron.hourly/logrotate20241223-805-fs2b8r.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/logrotate/manifests/cron.pp, line: 49)
Wrapped exception:
No such file or directory - A directory component in /etc/cron.hourly/logrotate20241223-805-fs2b8r.lock does not exist or is a dangling symbolic link
Error: /Stage[main]/Logrotate::Hourly/Logrotate::Cron[hourly]/File[/etc/cron.hourly/logrotate]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: No such file or directory - A directory component in /etc/cron.hourly/logrotate20241223-805-fs2b8r.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/logrotate/manifests/cron.pp, line: 49)
Info: Class[Logrotate::Hourly]: Unscheduling all events on Class[Logrotate::Hourly]
Info: Class[Logrotate]: Unscheduling all events on Class[Logrotate]
Info: Stage[main]: Unscheduling all events on Stage[main]
Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml
�[mNotice: Applied catalog in 3.83 seconds
|
Run tests
Process completed with exit code 1.
|
Loading