summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2016-11-11 08:05:20 -0500
committerBryan McLellan <btm@loftninjas.org>2016-11-11 08:05:20 -0500
commit6f70ed51a5e74f8838070af08d4ce9836917f1e4 (patch)
tree986760af70a90c2f142c7e5c002996104ff57207
parent31ef94bd3bb8a421c91ae8fcbd0e37e0428dee43 (diff)
parent59a877ddccca02dad4fc5084500943a10d91af21 (diff)
downloadchef-btm/powershell_merge.tar.gz
Merge branch 'MsysTechnologiesllc-dh/update_release_notes_for_powershell_package_resource' into MsysTechnologiesllc-dh/adding_powershell_package_manager_supportbtm/powershell_merge
Closes #5315 Closes #5491 Signed-off-by: Bryan McLellan <btm@loftninjas.org>
-rw-r--r--RELEASE_NOTES.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 3e65148f04..5e04bff069 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -7,6 +7,8 @@ Please see [https://docs.chef.io/release_notes.html](https://docs.chef.io/releas
### `attribute_changed` event hook
+* Added `attribute_changed` event hook:
+
In a cookbook library file, you can add this in order to print out all attribute changes in cookbooks:
```ruby
@@ -101,4 +103,43 @@ package "httpd" do
end
```
+### `powershell_package` resource
+
+* 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
+
## Highlighted bug fixes for this release: