diff options
author | Julian C. Dunn <jdunn@chef.io> | 2015-02-04 07:59:15 +0100 |
---|---|---|
committer | Julian C. Dunn <jdunn@chef.io> | 2015-02-04 07:59:15 +0100 |
commit | 10b1887c20ddaaeae30b4cd4f83f219410d36c4f (patch) | |
tree | e6df0e8870e2f8475284aba94b4a2c69bcb4509b /lib/chef/resource/windows_package.rb | |
parent | 23cb1c709d83f1476e6a155a2ec8d0cdde14c0f9 (diff) | |
download | chef-10b1887c20ddaaeae30b4cd4f83f219410d36c4f.tar.gz |
Bugfix: Allow action :nothing for windows_package, ips_package, paludis_package and reboot resources.
Closes #2841.
Diffstat (limited to 'lib/chef/resource/windows_package.rb')
-rw-r--r-- | lib/chef/resource/windows_package.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_package.rb b/lib/chef/resource/windows_package.rb index b1ef2c288e..16cfcf865e 100644 --- a/lib/chef/resource/windows_package.rb +++ b/lib/chef/resource/windows_package.rb @@ -29,7 +29,7 @@ class Chef def initialize(name, run_context=nil) super - @allowed_actions = [ :install, :remove ] + @allowed_actions.push(:install, :remove) @resource_name = :windows_package @source ||= source(@package_name) |