Skip to content

Instantly share code, notes, and snippets.

@auser
Forked from rca/postgres.sls
Created February 11, 2013 19:36
Show Gist options
  • Save auser/4756947 to your computer and use it in GitHub Desktop.
Save auser/4756947 to your computer and use it in GitHub Desktop.
postgresql:
pkg:
- installed
- name: postgresql-9.2
service:
- running
- require:
- pkg: postgresql-9.2
packages:
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 }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment