summaryrefslogtreecommitdiff
path: root/kitchen-tests
diff options
context:
space:
mode:
authorJohn McCrae <jmccrae@chf.io>2022-05-08 09:28:48 +0600
committerJohn McCrae <jmccrae@chf.io>2022-05-08 09:28:48 +0600
commit44a5c42ca6d48147129739060b9ce14efca9243d (patch)
tree2390bf2653fb899b3f628cd3fefb032362240565 /kitchen-tests
parent834f6310e0aeb9649fbe448f6f576bc4fc31a35a (diff)
downloadchef-44a5c42ca6d48147129739060b9ce14efca9243d.tar.gz
Updated the recipe to remove Git completely before updating it.
Signed-off-by: John McCrae <jmccrae@chf.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r--kitchen-tests/cookbooks/end_to_end/recipes/macos.rb11
1 files changed, 8 insertions, 3 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
index 43a748ebc7..9970c64bea 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
@@ -83,9 +83,14 @@ execute "which fucking git" do
live_stream true
end
-file '/usr/local/var/homebrew/locks/git@2.35.1.formula.lock' do
- mode '0777'
- owner 'root'
+file "/usr/local/var/homebrew/locks/git@2.35.1.formula.lock" do
+ mode "0777"
+ owner "root"
+end
+
+file "/usr/local/etc/bash_completion.d/git-completion.bash" do
+ mode "0777"
+ owner "root"
end
# execute "changing ownership of the git cask" do