cdist/cdist/conf/type/__postgres_database/man.rst

59 lines
1.2 KiB
ReStructuredText
Raw Normal View History

cdist-type__postgres_database(7)
================================
NAME
----
cdist-type__postgres_database - Create/drop postgres databases
DESCRIPTION
-----------
This cdist type allows you to create or drop postgres databases.
OPTIONAL PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
state
Either 'present' or 'absent', defaults to 'present'.
2016-05-20 06:50:56 +00:00
owner
Specifies the database user who will own the new database.
encoding
Specifies the character encoding scheme to be used in this database.
lc-collate
Specifies the LC_COLLATE setting to be used in this database.
lc-ctype
Specifies the LC_CTYPE setting to be used in this database.
template
Specifies the template database from which to build this database.
EXAMPLES
--------
2016-05-20 06:50:56 +00:00
.. code-block:: sh
__postgres_database mydbname --owner mydbusername
SEE ALSO
--------
2016-06-30 13:12:32 +00:00
:strong:`cdist-type__postgres_role`\ (7)
AUTHORS
-------
Steven Armstrong <steven-cdist--@--armstrong.cc>
COPYING
-------
2016-08-10 16:15:54 +00:00
Copyright \(C) 2011 Steven Armstrong. You can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.