Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger repo update only on changes. #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

henkf
Copy link

@henkf henkf commented Nov 16, 2022

If enabled, the update exec resource is executed on every puppet run. By adding refreshonly => true, the exec will only be triggered on changes to the resources defined in require.

This makes puppet runs report no changes if there are none. Otherwise the whole repodata directory of a repository will get overwritten with the same data over and over again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants