summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-04-04 11:34:29 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2017-04-04 12:51:03 -0700
commitdc502e9ae6b22130d6100bd4a7957a932ab3bd2c (patch)
treeefc7c4d996b0831b15d80050359aa76667378e7f
parent95571e8f9238db21c9b6be0334d5d29065844b17 (diff)
downloadchef-dc502e9ae6b22130d6100bd4a7957a932ab3bd2c.tar.gz
add RELEASE_NOTES on gem_package source changes
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--RELEASE_NOTES.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 3a459b9a18..5a4c920a1d 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -240,3 +240,16 @@ mutable default value, define it inside a `lazy{}` helper like:
```ruby
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.