Skip to content
This repository has been archived by the owner on Apr 7, 2018. It is now read-only.

Commit

Permalink
Remove windows warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tas50 authored Jan 5, 2017
1 parent fab440c commit 6dddbe8
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down

0 comments on commit 6dddbe8

Please sign in to comment.