diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2017-04-04 12:53:45 -0700 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2017-04-04 12:53:45 -0700 |
commit | 617b4f36c0ce2deff6b2d168b7a8355e1566a8cd (patch) | |
tree | d74b75e909e1d14787cfa244e859adb7a9ed7bfb /RELEASE_NOTES.md | |
parent | 12d84a5f570306ef06c28885680c6197026b61b0 (diff) | |
parent | d992861fb2541dd02ff2c5d6c1e1d85bf3fbf01f (diff) | |
download | chef-617b4f36c0ce2deff6b2d168b7a8355e1566a8cd.tar.gz |
Merge branch 'master' into no-more-vendor
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'RELEASE_NOTES.md')
-rw-r--r-- | RELEASE_NOTES.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 14608f822d..03be083bdb 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -241,6 +241,19 @@ mutable default value, define it inside a `lazy{}` helper like: property :x, default: lazy { {} } ``` +### Rubygems provider sources behavior changed. + +The default behavior of the `gem_package` and `chef_gem` resources is now to inherit whatever settings are in the external environment +that chef is running in. Chef no longer forces `https://rubygems.org`. The `Chef::Config[:rubygems_uri]` default has been changed to +nil. It can now be set to either a string URI or to an array of string URIs. The behavior of setting the source on an individual +resource now overrides the source setting completely and does not inherit the global setting. + +Users that previously relied on the source setting always being additive to "https://rubygmes.org" will find that they need to use +the array form and explicitly add "https://rubygems.org" to their resources. Users can now more easily remove "https://rubygems.org" +either globally or on a resource case-by-case basis. + +The behavior of the `clear_sources` property is now to only add `--clear-sources` and has no side effects on the source options. + ### `knife cookbook site vendor` has been removed Please use `knife cookbook site install` instead. |