Skip to content

Instantly share code, notes, and snippets.

@tateeskew
Forked from SEJeff/gist:3005642
Created June 29, 2012 18:13
Show Gist options
  • Select an option

  • Save tateeskew/3019744 to your computer and use it in GitHub Desktop.

Select an option

Save tateeskew/3019744 to your computer and use it in GitHub Desktop.
Adding a ppa from salt the proper way
nginx-ppa:
cmd.run:
- name: "add-apt-repository ppa:nginx/stable && apt-get update"
- unless: "[ -f /etc/apt/sources.list.d/nginx-stable-{{ grains['oscodename'] }}.list ]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment