-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Auto_update not idempotent #402
Comments
Doesn't seem |
I found |
Also, maybe it's appropriate to have |
The logic is that the update command is run after X days with the default for X being 30. The amount of days passed since the last update is determined by the age of the An easy and effective fix would be to touch |
Includes a fix for voxpupuli/puppet-php#402 Fixes #2
Affected Puppet, Ruby, OS and module versions/distributions
facter rubyversion
)How to reproduce (e.g Puppet code you use)
What are you seeing
The module is not idempotent, and I keep seeing:
What behaviour did you expect instead
I expected the module to be idempotent, with respect to composer.
Any additional information you'd like to impart
If possible, I suggest making the following logic from
composer.pp
idempotent, by maybe creating a fact, to check if there is an update available, then runauto_update
(otherwise, don't run):If my suggestion seems reasonable, I could potentially create the puppet fact, and integrate it, to the above
class
? For the time being, I'm going to try to set$auto_update
tofalse
.The text was updated successfully, but these errors were encountered: