2015-05-11 18:42:31 +00:00
|
|
|
cdist-type__ungleich_postgresql(7)
|
|
|
|
=======================================
|
2016-05-25 06:33:00 +00:00
|
|
|
Setup PostgreSQL with backup
|
2015-05-11 18:42:31 +00:00
|
|
|
|
2016-05-25 06:33:00 +00:00
|
|
|
ungleich GmbH <cdist--@--ungleich.ch>
|
2015-05-11 18:42:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
Setup postgresql including some roles for application access
|
|
|
|
|
|
|
|
The development of this type was made possible by Panter AG (www.panter.ch).
|
|
|
|
|
2016-05-25 06:33:00 +00:00
|
|
|
|
2015-05-11 18:42:31 +00:00
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
2016-05-25 06:33:00 +00:00
|
|
|
user
|
2015-05-11 18:42:31 +00:00
|
|
|
Which system user to grant access to the database (creates a role)
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-05-25 06:33:00 +00:00
|
|
|
password
|
2015-05-11 18:42:31 +00:00
|
|
|
Setup password for tcp based connections
|
2016-05-25 06:33:00 +00:00
|
|
|
|
|
|
|
version
|
2015-05-11 18:42:31 +00:00
|
|
|
Define PostgreSQL version to use instead of default
|
|
|
|
|
|
|
|
|
|
|
|
BOOLEAN PARAMETERS
|
|
|
|
------------------
|
2016-05-25 06:33:00 +00:00
|
|
|
no-backup
|
2015-05-11 18:42:31 +00:00
|
|
|
Do not backup database regulary
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-25 06:33:00 +00:00
|
|
|
.. code-block:: sh
|
2015-05-11 18:42:31 +00:00
|
|
|
|
2016-05-25 06:33:00 +00:00
|
|
|
__ungleich_postgresql --user app
|
2015-05-11 18:42:31 +00:00
|
|
|
|
2016-05-25 06:33:00 +00:00
|
|
|
# Setup password for tcp based connections (tcp not enabled by this type though)
|
|
|
|
__ungleich_postgresql --user app --password 'hashedpw'
|
2015-05-11 18:42:31 +00:00
|
|
|
|
2016-05-25 06:33:00 +00:00
|
|
|
# Select different version (must be available in the repository)
|
|
|
|
__ungleich_postgresql --user app --version 9.2
|
2015-05-11 18:42:31 +00:00
|
|
|
|
2016-05-25 06:33:00 +00:00
|
|
|
# Do not create backups
|
|
|
|
__ungleich_postgresql --user app --no-backup
|
2015-05-11 18:42:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-05-25 06:33:00 +00:00
|
|
|
- `cdist-type(7) <cdist-type.html>`_
|
2015-05-11 18:42:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
|
|
|
Copyright \(C) 2013-2015 ungleich GmbH (www.ungleich.ch).
|
|
|
|
Free use of this software is granted under the terms
|
|
|
|
of the GNU General Public License version 3 (GPLv3).
|