diff options
author | Tim Smith <tsmith@chef.io> | 2021-09-30 15:45:01 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2021-09-30 15:45:01 -0700 |
commit | f2d21444198f2f73aef0a0eceaa468c457ce3bb2 (patch) | |
tree | 3d52ab36f481fe811c5477208f9efde9c24103a7 | |
parent | 8ab1549c0602fd1e3e7ffb7565fc400308365b4b (diff) | |
download | chef-f2d21444198f2f73aef0a0eceaa468c457ce3bb2.tar.gz |
Fix some invalid ruby
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/powershell_package_source.rb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/chef/resource/powershell_package_source.rb b/lib/chef/resource/powershell_package_source.rb index 0902b7ff93..48962f7007 100644 --- a/lib/chef/resource/powershell_package_source.rb +++ b/lib/chef/resource/powershell_package_source.rb @@ -117,10 +117,12 @@ class Chef description: "A label that names your package source.", name_property: true - property :new_name, introduced: "17.6", String, + property :new_name, String, + introduced: "17.6", description: "Used to change the name of a standard package source." - property :source_location, introduced: "17.6", String, + property :source_location, String, + introduced: "17.6", description: "The URL to the location to retrieve modules from." alias :url :source_location @@ -138,10 +140,12 @@ class Chef description: "Whether or not to trust packages from this source. Used when creating a NON-PSRepository Package Source", default: false - property :user, introduced: "17.6", String, + property :user, String, + introduced: "17.6", description: "A username that, as part of a credential object, is used to register a repository or other package source with." - property :password, introduced: "17.6", String, + property :password, String, + introduced: "17.6", description: "A password that, as part of a credential object, is used to register a repository or other package source with." property :provider_name, String, |