summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <jmccrae@chf.io>2022-05-05 16:24:28 +0600
committerJohn McCrae <jmccrae@chf.io>2022-05-05 16:24:28 +0600
commitf681917f3cc9343b1181e23b355959562ae61ff2 (patch)
treeecefe31c9b6d4a0a7c5d32328a4612786a71f8ad
parent445b3651811b84197ec4da816d28bb6e59751a14 (diff)
downloadchef-f681917f3cc9343b1181e23b355959562ae61ff2.tar.gz
Updated the recipe to remove Git completely before updating it.
Signed-off-by: John McCrae <jmccrae@chf.io>
-rw-r--r--kitchen-tests/cookbooks/end_to_end/recipes/macos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
index 298b1caa71..f27d928155 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
@@ -76,7 +76,7 @@ end
# We remove git completely to allow homebrew to update it.
bash "remove git" do
code <<~EOH
- # chown -R $(whoami) $(brew --prefix)/*
+ echo "password" | sudo chown -R $(whoami) $(brew --prefix)/*
brew unlink git@2.35.1
EOH
user "tempadmin"