1CDIST-TYPE__POSTGRES_DATABASE(7)     cdist    CDIST-TYPE__POSTGRES_DATABASE(7)
2
3
4

NAME

6       cdist-type__postgres_database - Create/drop postgres databases
7

DESCRIPTION

9       This cdist type allows you to create or drop postgres databases.
10

OPTIONAL PARAMETERS

12       state  Either 'present' or 'absent', defaults to 'present'.
13
14       owner  Specifies the database user who will own the new database.
15
16       encoding
17              Specifies the character encoding scheme to be used in this data‐
18              base.
19
20       lc-collate
21              Specifies the LC_COLLATE setting to be used in this database.
22
23       lc-ctype
24              Specifies the LC_CTYPE setting to be used in this database.
25
26       template
27              Specifies the template database from which to build  this  data‐
28              base.
29

EXAMPLES

31          __postgres_database mydbname --owner mydbusername
32

SEE ALSO

34       cdist-type__postgres_role(7)
35

AUTHORS

37       Steven Armstrong <steven-cdist--@--armstrong.cc>
38

COPYING

40       Copyright  (C)  2011  Steven  Armstrong. You can redistribute it and/or
41       modify it under the terms of the GNU General  Public  License  as  pub‐
42       lished  by  the  Free  Software Foundation, either version 3 of the Li‐
43       cense, or (at your option) any later version.
44
46       ungleich GmbH 2021
47
48
49
50
517.0.0                            Jul 31, 2022 CDIST-TYPE__POSTGRES_DATABASE(7)
Impressum