Note
See the full Salt Formulas installation and usage instructions.
Installs the PostgreSQL server package and prepares the DB cluster.
Installs the PostgreSQL client binaries and libraries.
Installs the PostgreSQL adapter for Python.
Configures the PostgreSQL Official (upstream) repository on target system if applicable.
The state relies on the postgres:use_upstream_repo Pillar value which could
be set as following:
True(default): adds the upstream repository to install packages fromFalse: makes sure that the repository configuration is absent
The postgres:version Pillar controls which version of the PostgreSQL
packages should be installed from the upstream repository. Defaults to 9.5.
Testing is done with the kitchen-salt.
Runs the postgres main state.
Runs serverspec tests on the actual instance.
Builds and runs tests from scratch.
Gives you ssh to the vagrant machine for manual testing.