puppetlabs-kubernetes icon indicating copy to clipboard operation
puppetlabs-kubernetes copied to clipboard

Avoid corrective changes when downloading packages via archive

Open deric opened this issue 1 year ago • 0 comments

Summary

Deleting downloaded archives might lead to corrective changes, like:

Notice: /Stage[main]/Kubernetes::Packages/Archive[containerd-1.6.28-linux-amd64.tar.gz]/ensure: current_value 'absent', should be 'present' (noop) (corrective)
Info: /Stage[main]/Kubernetes::Packages/Archive[containerd-1.6.28-linux-amd64.tar.gz]: Scheduling refresh of Service[containerd]
Notice: /Stage[main]/Kubernetes::Packages/Archive[etcd-v3.4.30-linux-amd64.tar.gz]/ensure: current_value 'absent', should be 'present' (noop) (corrective)
Info: /Stage[main]/Kubernetes::Packages/Archive[etcd-v3.4.30-linux-amd64.tar.gz]: Scheduling refresh of Service[etcd]

The archive[cleanup] should have the same value for all archives.

Checklist

  • [ ] 🟢 Spec tests.
  • [ ] 🟢 Acceptance tests.
  • [x] Manually verified. (For example puppet apply)

deric avatar Feb 08 '24 10:02 deric