Scroll to navigation

CDIST-TYPE__POSTGRES_DATABASE(7) cdist 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

Either 'present' or 'absent', defaults to 'present'.
Specifies the database user who will own the new database.
Specifies the character encoding scheme to be used in this database.
Specifies the LC_COLLATE setting to be used in this database.
Specifies the LC_CTYPE setting to be used in this database.
Specifies the template database from which to build this database.

EXAMPLES

__postgres_database mydbname --owner mydbusername


SEE ALSO

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.

COPYRIGHT

ungleich GmbH 2021

August 7, 2022 7.0.0