diff options
author | Joseph Larionov <30190605+decoyjoe@users.noreply.github.com> | 2022-11-01 12:36:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 15:36:08 -0400 |
commit | 117e74ccbd1a00b6fca7da4687a68feb995b7977 (patch) | |
tree | d39b60c33d1d60b6c397bc5d9d0a2bcd89f7fcfe | |
parent | 3d270723cac3c7ad553095081a449fb3fb27e328 (diff) | |
download | chef-117e74ccbd1a00b6fca7da4687a68feb995b7977.tar.gz |
Docs: Fix windows package docs examples (#13211)
* docs: windows_package 7zip example had incorrect checksum
* docs: windows_package Mercurial example used an old url
Signed-off-by: Joseph Larionov <jlarionov@webmd.net>
-rw-r--r-- | lib/chef/resource/windows_package.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/windows_package.rb b/lib/chef/resource/windows_package.rb index 2e10dde43d..8aab488eb4 100644 --- a/lib/chef/resource/windows_package.rb +++ b/lib/chef/resource/windows_package.rb @@ -78,7 +78,7 @@ class Chef ```ruby windows_package '7zip' do source 'http://www.7-zip.org/a/7z938-x64.msi' - checksum '7c8e873991c82ad9cfc123415254ea6101e9a645e12977dcd518979e50fdedf3' + checksum '7c8e873991c82ad9cfcdbdf45254ea6101e9a645e12977dcd518979e50fdedf3' end ``` @@ -91,7 +91,7 @@ class Chef source 'http://www.7-zip.org/a/7z938-x64.msi' remote_file_attributes ({ :path => 'C:\\7zip.msi', - :checksum => '7c8e873991c82ad9cfc123415254ea6101e9a645e12977dcd518979e50fdedf3' + :checksum => '7c8e873991c82ad9cfcdbdf45254ea6101e9a645e12977dcd518979e50fdedf3' }) end ``` @@ -100,7 +100,7 @@ class Chef ```ruby windows_package 'Mercurial 3.6.1 (64-bit)' do - source 'http://mercurial.selenic.com/release/windows/Mercurial-3.6.1-x64.exe' + source 'https://www.mercurial-scm.org/release/windows/Mercurial-3.6.1-x64.exe' checksum 'febd29578cb6736163d232708b834a2ddd119aa40abc536b2c313fc5e1b5831d' end ``` |