Skip to content

Instantly share code, notes, and snippets.

Created June 25, 2015 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/82adb9779014a8ac166d to your computer and use it in GitHub Desktop.
Save anonymous/82adb9779014a8ac166d to your computer and use it in GitHub Desktop.
# upstart doesn't set global env (for salt-minion),
# but pip and its friends need the proxy
proxy-salt-env:
environ.setenv:
- value:
http_proxy: "{{ phttp }}"
https_proxy: "{{ phttps }}"
ftp_proxy: "{{ pftp }}"
no_proxy: "{{ noproxy }}"
- order: 1
- update_minion: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment