summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2021-09-30 12:36:07 -0700
committerJohn McCrae <john.mccrae@progress.com>2021-09-30 12:36:56 -0700
commit61062f4af0ee1665df3603c7a72f45502360a7e6 (patch)
tree4c2ba9177f29d813b71a76ab65630f50f2f1bf73
parente6b91cea68e61a49381668fecdfb5fc28e059401 (diff)
downloadchef-61062f4af0ee1665df3603c7a72f45502360a7e6.tar.gz
Updated the package source resource to accept credentials and updated the code to be more readable
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r--lib/chef/resource/powershell_package_source.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/resource/powershell_package_source.rb b/lib/chef/resource/powershell_package_source.rb
index 08b5f1809f..0a27b34f6a 100644
--- a/lib/chef/resource/powershell_package_source.rb
+++ b/lib/chef/resource/powershell_package_source.rb
@@ -117,10 +117,10 @@ class Chef
description: "A label that names your package source.",
name_property: true
- property :new_name, introduced: "17.5.23", String,
+ property :new_name, introduced: "17.6", String,
description: "Used to change the name of a standard PackageSource."
- property :source_location, introduced: "17.5.23", String,
+ property :source_location, introduced: "17.6", String,
description: "The URL to the location to retrieve modules from."
alias :url :source_location
@@ -138,10 +138,10 @@ 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.5.23", String,
+ property :user, introduced: "17.6", String,
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.5.23", String,
+ property :password, introduced: "17.6", String,
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,