cdist-type__postgres_database - Man Page

Create/drop postgres databases

Description

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

Optional Parameters

state

Either 'present' or 'absent', defaults to 'present'.

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

__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.

Referenced By

cdist-type__postgres_role(7).

Apr 20, 2021 6.9.6 cdist