This repository has been archived by the owner on Apr 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,22 +80,6 @@ If you want to disable the updater you can set the `disabled` attribute to true. | |
|
||
If you want to prevent the updater from downgrading chef on a node, you can set the `prevent_downgrade` attribute to true. This can be useful for testing new versions manually. Note that the `always_download` attribute takes precedence if set. | ||
|
||
## Warnings | ||
|
||
### Windows Support | ||
|
||
Windows support is available in versions 1.0.8 and higher; however, we only support Chef Client versions 12.5.1 and below, due to a [known bug in 12.6.0](https://github.com/chef/chef/issues/4623). This is reflected in the Windows test suite. | ||
|
||
If you would like to wrap this cookbook in order to prevent OmnibusUpdater with version 12.6.0 on Windows, you may do something like the following: | ||
|
||
```ruby | ||
if (node[:chef_packages][:chef][:version] == '12.6.0') && node[:os].downcase.include?('windows') | ||
Chef::Log.warn 'Omnibus updater cannot upgrade or downgrade a Windows 12.6.0 installation, skipping' | ||
else | ||
include_recipe 'omnibus_updater' | ||
end | ||
``` | ||
|
||
## License & Authors | ||
|
||
- Author: Chris Roberts ([[email protected]](mailto:[email protected])) | ||
|