From aa773b4ebf83352f9587c0b8d3e2187e43f7735d Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Thu, 21 Aug 2014 12:16:25 -0700 Subject: add md files for PR #1561 --- RELEASE_NOTES.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'RELEASE_NOTES.md') 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. -- cgit v1.2.1