From b4427a11ab1aba6c51a1d6e14be09b14c7c1ee3e Mon Sep 17 00:00:00 2001 From: nimisha Date: Wed, 23 Aug 2017 14:56:44 +0530 Subject: Updated release_notes for windows_path Signed-off-by: nimisha --- RELEASE_NOTES.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index c29cd049ff..5b3e6ff6d6 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -2,6 +2,37 @@ _This file holds "in progress" release notes for the current release under devel # Chef Client Release Notes 13.3: +## windows_path resource + +`windows_path` resource has been moved to core chef from windows cookbook. Use the `windows_path` resource to manage path environment key in Microsoft Windows. + +### Actions + +- `:add` - Add an item to the system path +- `:remove` - Remove an item from the system path + +### Properties + +- `path` - Name attribute. The name of the value to add to the system path + +### Examples + +Add Sysinternals to the system path + +```ruby +windows_path 'C:\Sysinternals' do + action :add +end +``` + +Remove 7-Zip from the system path + +```ruby +windows_path 'C:\7-Zip' do + action :remove +end +``` + ## Unprivileged Symlink Creation on Windows Chef can now create symlinks without privilege escalation, which allows for the creation of symlinks on Windows 10 Creator Update. -- cgit v1.2.1