This repository was archived by the owner on Feb 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Idempotency Issuesย #26
Copy link
Copy link
Open
Description
- Every run tries to add keys (Every puppet run tries to add keysย #20)
- Yum makecache and apt-get update run every Puppet run regardless of changes
- New apt-key is added everytime Puppet is run
Caveats
- Some people use the workflow of releasing a Package to PackageCloud throughout the day, so need every Puppet run to update the metadata for packages, therefore would never have idempotent runs
Possible improvements
- There should be a
$always_update_cacheparameter, turned on by default (as to not break this behaviour for people updating the module) that makes it so that the apt-get update and theyum makecache(Suggested by @spuder in Fixing repeated node changes on yumcache by making this a refreshonlyย #12) - For people who use something like run stages for cache updates or only want to use a package that doesn't change that often, the cache updates should have a
refreshonlyparameter - This refreshonly parameter could be a boolean value, taken from
$always_update_cacheto only run the cache updates if true.
eugene-manuilov, irfanypatel, pioto, johanek, joshbeard and 1 more
Metadata
Metadata
Assignees
Labels
No labels