diff options
author | Tor Magnus Rakvåg <tm@intility.no> | 2018-06-08 11:59:18 +0200 |
---|---|---|
committer | Tor Magnus Rakvåg <tm@intility.no> | 2018-06-08 11:59:18 +0200 |
commit | 679ca53aea02e706494874c759635137fe07ea65 (patch) | |
tree | 430e0c49a5238bcc5e15778bec714cfb483f66a4 /lib/chef | |
parent | fad49ed6abb5036a71e22ac96031431c994b2458 (diff) | |
download | chef-679ca53aea02e706494874c759635137fe07ea65.tar.gz |
wire up package_management_provider
Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/resource/powershell_package_source.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/resource/powershell_package_source.rb b/lib/chef/resource/powershell_package_source.rb index 5703e9fe97..2cde896144 100644 --- a/lib/chef/resource/powershell_package_source.rb +++ b/lib/chef/resource/powershell_package_source.rb @@ -57,6 +57,7 @@ class Chef action :register do register_cmd = "Register-PackageSource -Name '#{new_resource.name}' -Location '#{new_resource.url}'" register_cmd << " -Trusted" if new_resource.trusted + register_cmd << " -PackageManagementProvider '#{new_resource.package_management_provider}'" register_cmd << " -PublishLocation '#{new_resource.publish_location}'" if new_resource.publish_location register_cmd << " -ScriptSourceLocation '#{new_resource.script_source_location}'" if new_resource.script_source_location register_cmd << " -ScriptPublishLocation '#{new_resource.script_publish_location}'" if new_resource.script_publish_location |