-
-
Save Slimmons/8d3a59d18b0ba65a40fc7921380ef9f0 to your computer and use it in GitHub Desktop.
This file contains 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
Instructions from installing postgres5 came from here https://www.postgresql.org/download/linux/ubuntu/ |
This file contains 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
#This is awful, and can't possibly be a good way to be doing this. | |
/etc/apt/sources.list.d/pgdg.list: | |
file.managed: | |
- source: salt://postgres/pgdg.list | |
importRepositoryKey: | |
cmd.run: | |
- name: wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
update: | |
cmd.run: | |
- name: sudo apt-get update | |
installPostgres: | |
cmd.run: | |
- name: sudo apt-get install postgresql-9.5 |
This file contains 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
deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment