Edvinas Klovas d7580104f6 Add support for database extensions.
This commit adds support for database extensions via
salt.states.postgres_extension

When configuring database pillar data all you need to do is add (optional)
extension list with the extensions that you want the state to apply to specific
database. Example:

    db1:
      owner: 'localUser'
      user: 'localUser'
      template: 'template0'
      lc_ctype: 'C.UTF-8'
      lc_collate: 'C.UTF-8'
      extensions:
        - uuid-ossp

This will make sure `uuid-ossp` extension is enabled on `db1` database.

Updated pillar.example to include (optional) extensions
2015-07-23 17:54:24 +03:00
2015-02-20 17:38:03 +00:00
2015-05-07 13:37:18 -04:00

========
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
No description provided
Readme 1.2 MiB
Languages
SaltStack 50.1%
Jinja 20.1%
Ruby 18.1%
JavaScript 8.6%
Shell 3.1%