Skip to content
This repository was archived by the owner on Feb 19, 2024. It is now read-only.
This repository was archived by the owner on Feb 19, 2024. It is now read-only.

Idempotency Issues #26

@petems

Description

@petems

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_cache parameter, 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 the yum 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 refreshonly parameter
  • This refreshonly parameter could be a boolean value, taken from $always_update_cache to only run the cache updates if true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions