diff options
Diffstat (limited to 'lib/chef/resource/powershell_package.rb')
-rw-r--r-- | lib/chef/resource/powershell_package.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/chef/resource/powershell_package.rb b/lib/chef/resource/powershell_package.rb index 829db5f4f8..441ad76f01 100644 --- a/lib/chef/resource/powershell_package.rb +++ b/lib/chef/resource/powershell_package.rb @@ -28,19 +28,13 @@ class Chef class PowershellPackage < Chef::Resource::Package include Chef::Mixin::Uris + resource_name :powershell_package provides :powershell_package, os: "windows" allowed_actions :install, :remove - def initialize(name, run_context = nil) - super - @resource_name = :powershell_package - end - property :package_name, [String, Array], coerce: proc { |x| [x].flatten } - property :version, [String, Array], coerce: proc { |x| [x].flatten } - property :source, [String] end end |