Skip to content

Instantly share code, notes, and snippets.

@number5
Created September 27, 2012 03:28
Show Gist options
  • Save number5/3792011 to your computer and use it in GitHub Desktop.
Save number5/3792011 to your computer and use it in GitHub Desktop.
Postgres states for Salt
pg-deps:
pkg:
- installed
- names:
- postgresql-9.1
- postgresql-contrib-9.1
bar:
postgres_user:
- present
- user: bar
- password: foo
- runas: postgres
barDB:
postgres_database:
- present
- encoding: UTF-8
- runas: postgres
- owner: bar
@boxy-robot
Copy link

thank you thank you thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment