summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <jmccrae@chf.io>2022-05-05 16:50:10 +0600
committerJohn McCrae <jmccrae@chf.io>2022-05-05 16:50:10 +0600
commit0f204914b221cf26cd504758c9291825970cf054 (patch)
treec8a04420c23d242a88b6a13417515ddba1d389dd
parenta5fc711e8a67124b02ec0b64744eaa6e765540e7 (diff)
downloadchef-0f204914b221cf26cd504758c9291825970cf054.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 403e098a47..c1d715549a 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
@@ -73,7 +73,7 @@ user "tempadmin" do
end
sudo 'passwordless-access to change git ownership' do
- commands ['chown -R $(whoami) $(brew --prefix)/*']
+ commands ['ALL']
nopasswd true
users "tempadmin"
end