@@ -46,8 +46,7 @@ def whyrun_supported?
4646end
4747
4848if install_version
49- description = [ ]
50- description <<"install package#{ @new_resource } version#{ install_version } "
49+ description = "install package#{ @new_resource } version#{ install_version } "
5150converge_by ( description ) do
5251Chef ::Log . info ( "Installing#{ @new_resource } version#{ install_version } " )
5352status = install_package ( @new_resource . package_name , install_version , timeout )
@@ -64,8 +63,7 @@ def whyrun_supported?
6463
6564if @current_resource . version !=candidate_version
6665orig_version = @current_resource . version ||"uninstalled"
67- description = [ ]
68- description <<"upgrade#{ @current_resource } version from#{ @current_resource . version } to#{ candidate_version } "
66+ description = "upgrade#{ @current_resource } version from#{ @current_resource . version } to#{ candidate_version } "
6967converge_by ( description ) do
7068Chef ::Log . info ( "Upgrading#{ @new_resource } version from#{ orig_version } to#{ candidate_version } " )
7169status = upgrade_package ( @new_resource . package_name , candidate_version , timeout )
@@ -81,8 +79,7 @@ def whyrun_supported?
8179end
8280
8381if removing_package?
84- description = [ ]
85- description <<"remove package#{ @new_resource } "
82+ description = "remove package#{ @new_resource } "
8683converge_by ( description ) do
8784Chef ::Log . info ( "Removing#{ @new_resource } " )
8885remove_package ( @current_resource . package_name , @new_resource . version , timeout )