Created
September 9, 2013 17:49
-
-
Save micahhausler/6499068 to your computer and use it in GitHub Desktop.
Postgres 9.3 packages salt state
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!yaml | |
# | |
# Postgres 9.3 packages salt state | |
# | |
# Created 9/9/13 | |
# | |
# author: Micah Hausler, [email protected] | |
postgres-pkgs: | |
pkg: | |
- installed | |
- pkgs: | |
- postgresql-9.3 | |
- postgis | |
- postgresql-contrib-9.3 | |
- postgresql-plpython-9.3 | |
- postgresql-server-dev-9.3 | |
postgres_repo: | |
pkgrepo.managed: | |
- name: "deb http://apt.postgresql.org/pub/repos/apt/ {{ grains['oscodename'] }}-pgdg main" | |
- file: /etc/apt/sources.list.d/pgdg.list | |
- key_url: http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | |
- require_in: | |
- pkg: postgres-pkgs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment