Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.5.2
-
Fix Version/s: 0.5.4
-
Component/s: Chef Client
-
Labels:None
Description
With the php5 package not currently installed, this message is displayed for the package resource[1]:
[Mon, 02 Feb 2009 02:53:58 -0700] INFO: Upgrading package[php5] version from to 5.2.4-2ubuntu5.4
This could be more informative:
[Mon, 02 Feb 2009 02:53:58 -0700] INFO: Upgrading package[php5] version from uninstalled to 5.2.4-2ubuntu5.4
Especially if folks are doing log management, and checking when chef is installing new packages on the system, for example:
grep uninstalled /var/log/chef/client.log
[1] resource:
package "php5" do
action :upgrade
end
pull request sent for http://github.com/jtimberman/chef/tree/chef-107