Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Homebrew Analytics #361

Merged
merged 1 commit into from Jul 12, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Disable Homebrew Analytics

This is not the most robust of solutions, but will do the job.
A better solution would be a custom Salt state, backed by a custom
Salt module, that uses the `brew analytics` command to stay decoupled
from implementation details.

Instead, directly change the git config settings of the local
Homebrew repo to disable analytics.
  • Loading branch information
aneeshusa committed May 5, 2016
commit 13c70b486462a5a285b21cc5a8c671e2eb231264
@@ -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
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.