mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-15 17:20:25 +00:00
51 lines
774 B
ReStructuredText
51 lines
774 B
ReStructuredText
![]() |
========
|
||
|
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
|
||
|
|
||
|
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
|
||
|
|