summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-09-30 15:45:37 -0700
committerGitHub <noreply@github.com>2021-09-30 15:45:37 -0700
commit45039784ba9fdaa2ef0f4a12abfc3101d7e32929 (patch)
treed9d382c50710e2f6e69bb3024cdd099854d2ef94
parent3114785cc374ff484c8df618ae91721ecd174747 (diff)
parentf2d21444198f2f73aef0a0eceaa468c457ce3bb2 (diff)
downloadchef-45039784ba9fdaa2ef0f4a12abfc3101d7e32929.tar.gz
Merge pull request #12123 from chef/fix_ruby
Fix some invalid ruby
-rw-r--r--lib/chef/resource/powershell_package_source.rb12
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,