-
Notifications
You must be signed in to change notification settings - Fork 103
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
ensure => latest
results in resource change on every run
#57
Comments
I ran into this as well. I changed |
@chrisleavoy there is a difference: latest installs the newest version available if it is not yet installed, present installs the latest version on the first run and then never installs a new version as long as there is any version installed. I'm looking at creating a PR for this, my idea is to simply ensure it only reports a change if a new version was installed. Otherwise nothing is reported. |
The only time I ever hard coded my version was to get around that little GPG issue :) ... Otherwise I usually leave it as "present" as well. Setting ensure -> latest just seems like it is asking for trouble. :) |
fixed in #115 |
I have the following in a manifest:
gem list
on a host currently returns:On every Puppet run, I get the following logged:
It looks like
ensure => latest
doesn't correctly realise this is a no-op when the latest version (1.2707.0 presumably) is contained in the concatenated string of versions already installed.Can anything be done to make this smarter?
The text was updated successfully, but these errors were encountered: