58f8abb55e4d5c4aa5d8023e084ef514ebdc4f78
There should be a better way of doing this, as I'm hardcoding the version name into the config dir. On Debian based systems, postgresql is configured in "clusters" using some Debian specific tools. The main cluster is called ... main, which is why the `conf_dir` has a suffix of `main`.
========
postgres
========
.. note::
See the full `Salt Formulas installation and usage instructions
<http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_.
Available states
================
.. contents::
:local:
``postgres``
------------
Installs the postgresql package.
``postgres.python``
-------------------
Installs the postgresql python module
``postgres.client``
-------------------
Installs the postgresql client
Testing
=======
Testing is done wit kitchen-salt
``kitchen converge``
--------------------
Runs the postgres main state
``kitchen verify``
------------------
Runs serverspec tests on the actual instance
``kitchen test``
----------------
Builds and runs test from scratch
``kitchen login``
-----------------
Gives you ssh to the vagrant machine for manual testing
Description
Languages
SaltStack
50.1%
Jinja
20.1%
Ruby
18.1%
JavaScript
8.6%
Shell
3.1%