summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-10-29 09:50:48 -0700
committerTim Smith <tsmith84@gmail.com>2020-10-29 09:50:48 -0700
commitba54ec9623d9911288ef60d30c62e7457c493a49 (patch)
tree70f0ae780a7fdbd50316cd38733788f548e066e0
parentef9649e543b6218053fc98208ce884cc81882ce1 (diff)
downloadchef-spelling.tar.gz
Fix some spelling / cookstyle errors in the git examplesspelling
Get the spellcheck tests green again. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/scm/git.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/resource/scm/git.rb b/lib/chef/resource/scm/git.rb
index 53f1a1f44a..dc950b0624 100644
--- a/lib/chef/resource/scm/git.rb
+++ b/lib/chef/resource/scm/git.rb
@@ -71,7 +71,7 @@ class Chef
```ruby
git "#{Chef::Config[:file_cache_path]}/ruby-build" do
- repository 'git://github.com/sstephenson/ruby-build.git'
+ repository 'git://github.com/rbenv/ruby-build.git'
revision 'master'
action :sync
end
@@ -90,11 +90,11 @@ class Chef
**Notify a resource post-checkout**
```ruby
- git "#{Chef::Config[:file_cache_path]}/libvpx" do
- repository node[:libvpx][:git_repository]
- revision node[:libvpx][:git_revision]
+ git "#{Chef::Config[:file_cache_path]}/my_app" do
+ repository node['my_app']['git_repository']
+ revision node['my_app']['git_revision']
action :sync
- notifies :run, 'bash[compile_libvpx]', :immediately
+ notifies :run, 'bash[compile_my_app]', :immediately
end
```