2011-06-17 07:31:39 +00:00
|
|
|
cdist-type__postgres_database(7)
|
|
|
|
================================
|
2016-06-23 14:08:59 +00:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__postgres_database - Create/drop postgres databases
|
2011-06-17 07:31:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
This cdist type allows you to create or drop postgres databases.
|
|
|
|
|
|
|
|
|
2013-06-17 16:10:19 +00:00
|
|
|
OPTIONAL PARAMETERS
|
2011-06-17 07:31:39 +00:00
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
state
|
2014-02-08 20:48:51 +00:00
|
|
|
either 'present' or 'absent', defaults to 'present'.
|
2011-06-17 07:31:39 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
owner
|
2011-06-17 07:31:39 +00:00
|
|
|
the role owning this database
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
__postgres_database mydbname --owner mydbusername
|
2011-06-17 07:31:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-06-17 19:28:16 +00:00
|
|
|
`cdist-type__postgres_role(7) <cdist-type__postgres_role.html>`_
|
|
|
|
|
|
|
|
Full documentation at: <:cdist_docs:`index`>,
|
|
|
|
especially cdist type chapter: <:cdist_docs:`cdist-type`>.
|
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Steven Armstrong <steven-cdist--@--armstrong.cc>
|
2011-06-17 07:31:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
|
|
|
Copyright \(C) 2011 Steven Armstrong. Free use of this software is
|
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|