summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-08-21 12:16:25 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-08-21 12:16:25 -0700
commitaa773b4ebf83352f9587c0b8d3e2187e43f7735d (patch)
tree2ef41b66a6d6f6550b0c7c3148d26c9b757a46b9
parent89748ef85f000d154d1a2c4264c9df02ffe3d70b (diff)
downloadchef-aa773b4ebf83352f9587c0b8d3e2187e43f7735d.tar.gz
add md files for PR #1561
-rw-r--r--CHANGELOG.md2
-rw-r--r--DOC_CHANGES.md15
-rw-r--r--RELEASE_NOTES.md16
3 files changed, 33 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 833dd0a055..072cacad34 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
## Unreleased: 12.0.0
+* [**Yukihiko Sawanobori**](https://github.com/sawanoboly):
+ Add environment resource attribute to scm resources
* added Chef::ResourceCollection#insert_at API to the ResourceCollection
* [**Grzesiek Kolodziejczyk**](https://github.com/grk):
Use thread-safe OpenSSL::Digest instead of Digest
diff --git a/DOC_CHANGES.md b/DOC_CHANGES.md
index ab1f5844a1..1a40d6730f 100644
--- a/DOC_CHANGES.md
+++ b/DOC_CHANGES.md
@@ -6,6 +6,21 @@ Example Doc Change:
Description of the required change.
-->
+### environment attribute to git provider
+
+Similar to other environment options:
+
+```
+environment Hash of environment variables in the form of {"ENV_VARIABLE" => "VALUE"}.
+```
+
+Also the `user` attribute should mention the setting of the HOME env var:
+
+```
+user The system user that is responsible for the checked-out code. The HOME environment variable will automatically be
+set to the home directory of this user when using this option.
+```
+
### Metadata `name` Attribute is Required.
Current documentation states:
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index c7567b8de2..c098445e48 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -1,5 +1,21 @@
# Chef Client Release Notes 12.0.0:
+## Git SCM provider now support environment attribute
+
+You can now pass in a hash of environment variables into the git provider:
+
+```ruby
+git "/opt/mysources/couch" do
+ repository "git://git.apache.org/couchdb.git"
+ revision "master"
+ environment { 'VAR' => 'whatever' }
+ action :sync
+end
+```
+
+The git provider already automatically sets `ENV['HOME']` and `ENV['GIT_SSH']` but those can both be overridden
+by passing them into the environment hash if the defaults are not appropriate.
+
## DSCL user provider now supports Mac OS X 10.7 and above.
DSCL user provider in Chef has supported setting passwords only on Mac OS X 10.6. In this release, Mac OS X versions 10.7 and above are now supported. Support for Mac OS X 10.6 is dropped from the dscl provider since this version is EOLed by Apple.