diff options
Diffstat (limited to 'lib/chef/resource/scm')
-rw-r--r-- | lib/chef/resource/scm/git.rb | 6 | ||||
-rw-r--r-- | lib/chef/resource/scm/subversion.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/resource/scm/git.rb b/lib/chef/resource/scm/git.rb index dc950b0624..8293d1ed4a 100644 --- a/lib/chef/resource/scm/git.rb +++ b/lib/chef/resource/scm/git.rb @@ -32,7 +32,7 @@ class Chef **Use the git mirror** ```ruby - git '/opt/mysources/couch' do + git '/opt/my_sources/couch' do repository 'git://git.apache.org/couchdb.git' revision 'master' action :sync @@ -51,7 +51,7 @@ class Chef end git '/home/user/deployment' do - repository 'git@github.com:gitsite/deployment.git' + repository 'git@github.com:git_site/deployment.git' revision branch_name action :sync user 'user' @@ -101,7 +101,7 @@ class Chef **Pass in environment variables** ```ruby - git '/opt/mysources/couch' do + git '/opt/my_sources/couch' do repository 'git://git.apache.org/couchdb.git' revision 'master' environment 'VAR' => 'whatever' diff --git a/lib/chef/resource/scm/subversion.rb b/lib/chef/resource/scm/subversion.rb index 8399225fdf..db20787aa5 100644 --- a/lib/chef/resource/scm/subversion.rb +++ b/lib/chef/resource/scm/subversion.rb @@ -36,7 +36,7 @@ class Chef subversion 'CouchDB Edge' do repository 'http://svn.apache.org/repos/asf/couchdb/trunk' revision 'HEAD' - destination '/opt/mysources/couch' + destination '/opt/my_sources/couch' action :sync end ``` |