diff options
author | nimisha <nimisha.sharad@clogeny.com> | 2016-11-01 15:12:20 +0530 |
---|---|---|
committer | nimisha <nimisha.sharad@clogeny.com> | 2016-11-04 15:31:30 +0530 |
commit | 2bbb667f52e3fbb88de3c838e6ae5eb4e8edbd50 (patch) | |
tree | 5c40df3047588a535ba0915d141830a485bf633d /RELEASE_NOTES.md | |
parent | a155e20e796e16902498634efe9798b135395d9a (diff) | |
download | chef-2bbb667f52e3fbb88de3c838e6ae5eb4e8edbd50.tar.gz |
Updated release docs for msu_package resource
Signed-off-by: nimisha <nimisha.sharad@clogeny.com>
Diffstat (limited to 'RELEASE_NOTES.md')
-rw-r--r-- | RELEASE_NOTES.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 0150fcff98..ad1aa54028 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -5,6 +5,31 @@ Please see [https://docs.chef.io/release_notes.html](https://docs.chef.io/releas ## Highlighted enhancements for this release: +* Added msu_package resource and provider which supports the installation of Microsoft Update(MSU) packages on Windows. Example: + + ```ruby + msu_package 'Install Windows 2012R2 Update KB2959977' do + source 'C:\Users\xyz\AppData\Local\Temp\Windows8.1-KB2959977-x64.msu' + action :install + end + + msu_package 'Remove Windows 2012R2 Update KB2959977' do + source 'C:\Users\xyz\AppData\Local\Temp\Windows8.1-KB2959977-x64.msu' + action :remove + end + + # Using URL in source + msu_package 'Install Windows 2012R2 Update KB2959977' do + source 'https://s3.amazonaws.com/my_bucket/Windows8.1-KB2959977-x64.msu' + action :install + end + + msu_package 'Remove Windows 2012R2 Update KB2959977' do + source 'https://s3.amazonaws.com/my_bucket/Windows8.1-KB2959977-x64.msu' + action :remove + end + ``` + ### `attribute_changed` event hook In a cookbook library file, you can add this in order to print out all attribute changes in cookbooks: |