summaryrefslogtreecommitdiff
path: root/lib/chef/resource/scm
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-10-29 09:57:25 -0700
committerTim Smith <tsmith84@gmail.com>2020-10-29 09:57:25 -0700
commitf310f28a15f2f97abf0b1faba6b79be466f1837b (patch)
tree2c70eb1dac4ea8cae5d61012289ad34febe249fb /lib/chef/resource/scm
parentba54ec9623d9911288ef60d30c62e7457c493a49 (diff)
downloadchef-f310f28a15f2f97abf0b1faba6b79be466f1837b.tar.gz
Fix a few more spelling issues
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/scm')
-rw-r--r--lib/chef/resource/scm/git.rb6
-rw-r--r--lib/chef/resource/scm/subversion.rb2
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
```