logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cdist-type__postgres_role - Manage postgres roles

Authors

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

Boolean Parameters

       All parameter map directly to the corresponding postgres createrole parameters.

       login createdb createrole superuser inherit

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.

Description

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

Examples

          __postgres_role myrole

          __postgres_role myrole --password 'secret'

          __postgres_role admin --password 'very-secret' --superuser

          __postgres_role dbcustomer --password 'bla' --createdb

Name

       cdist-type__postgres_role - Manage postgres roles

Optional Parameters

state  Either "present" or "absent", defaults to "present"

       All other parameters map directly to the corresponding postgres createrole parameters.

       password

See Also

cdist-type__postgres_database(7)

       postgresql documentation at: <http://www.postgresql.org/docs/current/static/sql-createrole.html>.

See Also