Issue #18456 has been reported by Carl Caum.
----------------------------------------
Feature #18456: When using 'ensure => latest', in the Report events the value
of desired_value should be the upgraded version, not :latest
https://projects.puppetlabs.com/issues/18456
Author: Carl Caum
Status: Unreviewed
Priority: Normal
Assignee: eric sorenson
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
Let's say we have a package resource:
package { 'apt-transport-https':
ensure => latest,
}
Now let's say during a run that package is updated because a newer version is
available. In the resulting Pupet run report, the event for that change only
contains the version the package updated to in the message. The desired_value
contains the value :latest instead of the version the package was updated to.
For example:
#<Puppet::Transaction::Event:0xb7117fbc
@previous_value="0.7.25.3ubuntu9.9", @property="ensure", @status="noop",
@source_description="/Package[apt-transport-https]/ensure",
@tags=["package", "apt-transport-https"], @name=:package_changed,
@file=nil, @time=Thu Jan 10 01:37:09 +0100 2013, @audited=false,
@historical_value=nil, @line=nil,
@resource="Package[apt-transport-https]", @desired_value=:latest,
@message="current_value 0.7.25.3ubuntu9.9, should be 0.7.25.3ubuntu9.13
(noop)", @default_log_level=:notice>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.