diff --git a/osx/init.sls b/osx/init.sls index ba1fa6c1..ae84de1c 100644 --- a/osx/init.sls +++ b/osx/init.sls @@ -11,3 +11,15 @@ - group: wheel - mode: 644 - source: salt://{{ tpldir }}/files/profile + +# Disable Homebrew Analytics +# TODO: wrap this up into a proper state that uses the `brew analytics` command +# instead of directly changing the git configuration +# (requires either upstreaming this state + updating Salt, +# or Salting the Salt master) +# TODO: also ensure the `homebrew.analyticsuuid` setting is unset +disable-homebrew-analytics: + git.config: + - name: 'homebrew.analyticsdisabled' + - value: 'true' + - repo: /usr/local