summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordheerajd-msys <dheeraj.dubey@msystechnologies.com>2016-10-26 17:02:18 +0530
committerdheerajd-msys <dheeraj.dubey@msystechnologies.com>2016-11-02 15:53:23 +0530
commit59a877ddccca02dad4fc5084500943a10d91af21 (patch)
tree83e4059486923ddb9e02a7b4aeedc6def41f71c1
parenta7145cdadc00041a6877d05e6deb0dbe42281b76 (diff)
downloadchef-59a877ddccca02dad4fc5084500943a10d91af21.tar.gz
Updated release notes for powershell_package resource and provider
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
-rw-r--r--RELEASE_NOTES.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 1e1920b600..7afe618ac9 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -5,6 +5,43 @@ Please see [https://docs.chef.io/release_notes.html](https://docs.chef.io/releas
## Highlighted enhancements for this release:
+* Added powershell_package resource and provider which supports installation of packages through Powershell Package Manager
+
+ ```ruby
+ powershell_package 'xCertificate' do
+ action :install
+ version "1.1.0.0"
+ end
+
+ powershell_package 'Install Multiple Packages' do
+ action :install
+ package_name ['xCertificate','xNetworking']
+ version ["2.0.0.0","2.12.0.0"]
+ end
+
+ powershell_package 'Install Multiple Packages' do
+ action :install
+ package_name ['xCertificate','xNetworking']
+ version [nil,"2.12.0.0"]
+ end
+
+ powershell_package 'Install Multiple Packages' do
+ action :install
+ package_name ['xCertificate','xNetworking']
+ end
+
+ powershell_package ['xCertificate','xNetworking'] do
+ action :remove
+ version ["2.0.0.0","2.12.0.0"]
+ end
+
+ powershell_package 'xCertificate' do
+ action :remove
+ end
+ ```
+
+For using powershell_package resource, Administrative access is required and source needs to be already added in Powershell Package Manager using `Register-PackageSource` command
+
* Added `attribute_changed` event hook:
In a cookbook library file, you can add this in order to print out all attribute changes in cookbooks: