Skip to content

Instantly share code, notes, and snippets.

@auser
Forked from rca/postgres.sls
Created February 11, 2013 20:04
Show Gist options
  • Select an option

  • Save auser/4757158 to your computer and use it in GitHub Desktop.

Select an option

Save auser/4757158 to your computer and use it in GitHub Desktop.
postgresql:
pkg.installed:
- pkgs:
- libpq5
- postgresql-client-9.2
- postgresql-9.2
- require:
- cmd.run: add_postgresql_apt_key
- file.managed: {{ pg_list }}
- file.managed: {{ pg_pref }}
service:
- running
- require:
- pkg: postgresql-9.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment