puppetlabs-kubernetes
puppetlabs-kubernetes copied to clipboard
Avoid corrective changes when downloading packages via archive
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
)