Manage PostgreSQL entities with client.sls states

This commit is contained in:
Denys Havrysh
2016-10-04 14:38:21 +03:00
parent 523d10c652
commit 234a76f1e9
5 changed files with 186 additions and 183 deletions

View File

@@ -16,18 +16,26 @@ Available states
``postgres``
------------
Installs the PostgreSQL server package and prepares the DB cluster.
Installs and configures both PostgreSQL server and client with creation of
various DB objects in the cluster.
``postgres.client``
-------------------
Installs the PostgreSQL client binaries and libraries.
Allows to create such DB objects as: users, tablespaces, databases, schemas and
extensions. See ``pillar.example`` file for details.
``postgres.python``
-------------------
Installs the PostgreSQL adapter for Python.
``postgres.server``
-------------------
Installs the PostgreSQL server package and prepares the DB cluster.
``postgres.upstream``
---------------------