summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2021-09-30 12:58:41 -0700
committerJohn McCrae <john.mccrae@progress.com>2021-09-30 12:58:41 -0700
commit7422d8506c65c5e4db2d91d9d2e7970e99a6278d (patch)
tree8704e245f840bc8060569e539b4f27188bc788ec
parent61062f4af0ee1665df3603c7a72f45502360a7e6 (diff)
downloadchef-7422d8506c65c5e4db2d91d9d2e7970e99a6278d.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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/powershell_package_source.rb b/lib/chef/resource/powershell_package_source.rb
index 0a27b34f6a..0902b7ff93 100644
--- a/lib/chef/resource/powershell_package_source.rb
+++ b/lib/chef/resource/powershell_package_source.rb
@@ -25,7 +25,7 @@ class Chef
provides :powershell_package_source
- description "Use the **powershell_package_source** resource to register a PowerShell Repository or other Package Source type with. There are 2 distinct objects we care about here. The first is a Package Source like a PowerShell Repository or a Nuget Source. The second object is a provider that PowerShell uses to get to that source with, like PowerShellGet, Nuget, Chocolatey, etc. "
+ description "Use the **powershell_package_source** resource to register a PowerShell package source and a Powershell package provider. There are 2 distinct objects we care about here. The first is a Package Source like a PowerShell Repository or a Nuget Source. The second object is a provider that PowerShell uses to get to that source with, like PowerShellGet, Nuget, Chocolatey, etc. "
introduced "14.3"
examples <<~DOC
**Add a new PSRepository that is not trusted and which requires credentials to connect to**:
@@ -118,7 +118,7 @@ class Chef
name_property: true
property :new_name, introduced: "17.6", String,
- description: "Used to change the name of a standard PackageSource."
+ description: "Used to change the name of a standard package source."
property :source_location, introduced: "17.6", String,
description: "The URL to the location to retrieve modules from."