Skip to content

Instantly share code, notes, and snippets.

@jcockhren
Last active August 29, 2015 13:57
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 jcockhren/a8b5bf473b4bb87aa291 to your computer and use it in GitHub Desktop.
Save jcockhren/a8b5bf473b4bb87aa291 to your computer and use it in GitHub Desktop.
Simple state for installing postgis for postgres 9.1
psqldeps:
pkg.installed:
- pkgs:
- libxslt-dev
- python-software-properties
- libpq-dev
file.managed:
- name: /etc/postgresql/9.1/main/pg_hba.conf
- source: salt://pg_hba.conf
- replace: True
postgresql-9.1-postgis:
pkgrepo.managed:
- ppa: ubuntugis/ppa
pkg.installed:
- refresh: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment