summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2021-06-02 09:47:27 -0700
committerJohn McCrae <john.mccrae@progress.com>2021-06-14 19:01:07 -0700
commitfb2555e7dc26cd778924302c62bebda38539fcf5 (patch)
tree1e5de5e38c54a3919e9b136448f54e36d2807d12 /lib
parente2609cc7e6e40291457595c67e792597e18d7d6e (diff)
downloadchef-fb2555e7dc26cd778924302c62bebda38539fcf5.tar.gz
Updated the Windows Pagefile resource to use PowerShell over WMI, added a corresponding test file
Signed-off-by: John McCrae <john.mccrae@progress.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/resource/windows_pagefile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_pagefile.rb b/lib/chef/resource/windows_pagefile.rb
index 8c4272ed38..f836781d34 100644
--- a/lib/chef/resource/windows_pagefile.rb
+++ b/lib/chef/resource/windows_pagefile.rb
@@ -24,7 +24,7 @@ class Chef
provides(:windows_pagefile) { true }
- description "Use the **windows_pagefile** resource to configure pagefile settings on Windows. We are introducing a potentially breaking change - we no longer require or use a full path to a pagefile. We only need the drive (C:\, E:\, etc) you want to manage a pagefile for."
+ description "Use the **windows_pagefile** resource to configure pagefile settings on Windows. The resource can accept paths in the form of 'C:\pagefile.sys', 'f:\foo\pagefile.sys', 'h', etc "
introduced "14.0"
examples <<~DOC
**Set the system to manage pagefiles**: