From ba54ec9623d9911288ef60d30c62e7457c493a49 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 29 Oct 2020 09:50:48 -0700 Subject: Fix some spelling / cookstyle errors in the git examples Get the spellcheck tests green again. Signed-off-by: Tim Smith --- lib/chef/resource/scm/git.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/chef/resource/scm') 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 ``` -- cgit v1.2.1