summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-08-14 15:51:33 -0700
committerGitHub <noreply@github.com>2020-08-14 15:51:33 -0700
commit24fe5d7c958d60d4a5ec12024a4aa7670ac52b02 (patch)
tree5cab13f7ac807ac45a7c2085c7167e8197039bea
parenta3b45df8299cbec9e9721bb51535aba6f3c0eef5 (diff)
parent959ef03af3ff87618ae2abca13d7e66a1e936729 (diff)
downloadchef-24fe5d7c958d60d4a5ec12024a4aa7670ac52b02.tar.gz
Merge pull request #10301 from kimbernator/master
do not require source when removing powershell package source
-rw-r--r--lib/chef/resource/powershell_package_source.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/powershell_package_source.rb b/lib/chef/resource/powershell_package_source.rb
index a9af00fe57..051b6d4239 100644
--- a/lib/chef/resource/powershell_package_source.rb
+++ b/lib/chef/resource/powershell_package_source.rb
@@ -34,7 +34,7 @@ class Chef
property :url, String,
description: "The url to the package source.",
- required: true
+ required: [:register]
property :trusted, [TrueClass, FalseClass],
description: "Whether or not to trust packages from this source.",