diff options
author | Bryan McLellan <btm@loftninjas.org> | 2014-08-12 14:27:00 -0400 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2014-08-12 16:53:28 -0400 |
commit | eeb33043718d01ad2add0e4982cc557972d01ad2 (patch) | |
tree | 96a7ab7e4f1804948a4f4065f6bb57d8d3022605 | |
parent | 2952ea0750b21821611e8cce8b2eb3d9bc86fa82 (diff) | |
download | chef-eeb33043718d01ad2add0e4982cc557972d01ad2.tar.gz |
Update release notes for CHEF-5022
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | DOC_CHANGES.md | 9 | ||||
-rw-r--r-- | RELEASE_NOTES.md | 17 |
3 files changed, 27 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c01fd3bbef..bc30f8a2d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -278,3 +278,4 @@ * guard_interpreter attribute: use powershell\_script, other script resources in guards (CHEF-4553) * Fix for CHEF-5169: add require for chef/config_fetcher * SIGTERM will once-more kill a non-daemonized chef-client (CHEF-5172) +* Fix Windows services getting stuck in manual startup_type (CHEF-5022) diff --git a/DOC_CHANGES.md b/DOC_CHANGES.md index b557601466..ab1f5844a1 100644 --- a/DOC_CHANGES.md +++ b/DOC_CHANGES.md @@ -23,3 +23,12 @@ rt string, an enumerable of ports, or a single port number. ### Encrypted Data Bags Version 3 Encrypted Data Bag version 3 uses [GCM](http://en.wikipedia.org/wiki/Galois/Counter_Mode) internally. Ruby 2 and OpenSSL version 1.0.1 or higher are required to use it. + +### New windows_service resource + +The windows_service resource inherits from the service resource and has all the same options but adds an action and attribute. + +action :configure_startup - sets the startup type on the resource to the value of the `startup_type` attribute +attribute startup_type - the value as a symbol that the startup type should be set to on the service, valid options :automatic, :manual, :disabled + +Note that the service resource will also continue to set the startup type to automatic or disabled, respectively, when the enabled or disabled actions are used. diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index db14882996..9199c827b3 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -97,3 +97,20 @@ On OSX, the 'group' provider would use 'etc' to determine existing groups, but 'dscl' to add groups, causing broken idempotency if something existed in /etc/group. The provider now uses 'dscl' for both idempotenty checks and modifications. + +## Windows Service Startup Type + +When a Windows service is running and Chef stops it, the startup type will change from automatic to manual. A bug previously existed +that prevented you from changing the startup type to disabled from manual. Using the enable and disable actions will now correctly set +the service startup type to automatic and disabled, respectively. A new `windows_service` resource has been added that allows you to +specify the startup type as manual: + +``` +windows_service "BITS" do + action :configure_startup + startup_type :manual +end +``` + +You must use the windows_service resource to utilize the `:configure_startup` action and `startup_type` attribute. The service resource +does not support them. |