diff options
author | John McCrae <jmccrae@chf.io> | 2022-05-05 10:40:21 +0600 |
---|---|---|
committer | John McCrae <jmccrae@chf.io> | 2022-05-05 10:40:21 +0600 |
commit | ec9e910489e5e3e69a1e93ebd983e61f54232e71 (patch) | |
tree | 4f4225ecd958cc894164123245b770369736354b /kitchen-tests | |
parent | 3292bfc73ff4156a7b7308e6f7f948b9d8342dec (diff) | |
download | chef-ec9e910489e5e3e69a1e93ebd983e61f54232e71.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.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb index 95b2b8e827..5b6818367a 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb @@ -66,6 +66,12 @@ chef_client_launchd "Every 30 mins Infra Client run" do action :enable end +execute "find the user" do + command "whoami" + live_stream true + action :run +end + # We're overcoming a problem where Homebrew updating Git on MacOS throws a symlink error # We remove git completely to allow homebrew to update it. execute "remove git" do |