summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2016-11-11 08:53:05 -0500
committerGitHub <noreply@github.com>2016-11-11 08:53:05 -0500
commitc753b9b032d32c60ca364e33b90b01821c4483f0 (patch)
treee0f44cfd5b1975dce139aaa2568a61894dd78cd7
parent879b6c2e53472de756498d08e353c701a5854f9e (diff)
parent6f70ed51a5e74f8838070af08d4ce9836917f1e4 (diff)
downloadchef-c753b9b032d32c60ca364e33b90b01821c4483f0.tar.gz
Merge pull request #5536 from chef/btm/powershell_merge
powershell package provider release notes
-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: