I'm wanting a really basic install of postgres, and the postgres-formula/postgres is just too crazy. I just want to install postgres version 9.5.1 on a single minion.
Here's something I've tried, that I know doesn't work.
/srv/salt/top.sls
base:
'*':
- postgresql
/srv/salt/postgresql/init.sls
postgresql:
pkg.installed:
- version: 9.5.1
According to the documentation here, this is the correct format. I thought maybe I should have the 9.5.3 in a different format, but I can't find where to figure that out.
Update 1
I'm using ubuntu 14.04 on the minion, and the master.
The output of apt-cache policy postgresql is
postgresql:
Installed: (none)
Candidate: 9.3+154ubuntu1
Version table:
9.3+154ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
9.3+154 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
yum --showduplicates list postgresql | expandand if ubuntu:apt-cache policy postgresqlbecause you need first to make sure that there is a version with the same number available on your system so salt can install it