cdist-web/src/extra/manual/beta/_sources/man7/cdist-type__postgres_databa...

59 lines
1.2 KiB
Plaintext
Raw Normal View History

2019-04-23 18:55:23 +00:00
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
-------------------
state
2020-05-01 11:11:40 +00:00
Either 'present' or 'absent', defaults to 'present'.
2019-04-23 18:55:23 +00:00
owner
2020-05-01 11:11:40 +00:00
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.
2019-04-23 18:55:23 +00:00
EXAMPLES
--------
.. code-block:: sh
__postgres_database mydbname --owner mydbusername
SEE ALSO
--------
:strong:`cdist-type__postgres_role`\ (7)
AUTHORS
-------
Steven Armstrong <steven-cdist--@--armstrong.cc>
COPYING
-------
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.