diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-10-29 09:50:48 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-10-29 09:50:48 -0700 |
commit | ba54ec9623d9911288ef60d30c62e7457c493a49 (patch) | |
tree | 70f0ae780a7fdbd50316cd38733788f548e066e0 /lib/chef/resource/scm | |
parent | ef9649e543b6218053fc98208ce884cc81882ce1 (diff) | |
download | chef-ba54ec9623d9911288ef60d30c62e7457c493a49.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>
Diffstat (limited to 'lib/chef/resource/scm')
-rw-r--r-- | lib/chef/resource/scm/git.rb | 10 |
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 ``` |