cdist/cdist/conf/type/__postgres_role/man.rst

62 lines
1.2 KiB
ReStructuredText
Raw Normal View History

cdist-type__postgres_role(7)
============================
NAME
----
cdist-type__postgres_role - Manage postgres roles
2016-05-20 06:50:56 +00:00
Steven Armstrong <steven-cdist--@--armstrong.cc>
DESCRIPTION
-----------
This cdist type allows you to create or drop postgres roles.
OPTIONAL PARAMETERS
-------------------
2016-05-20 06:50:56 +00:00
state
Either "present" or "absent", defaults to "present"
All other parameters map directly to the corresponding postgres createrole
parameters.
2016-05-20 06:50:56 +00:00
password
BOOLEAN PARAMETERS
------------------
All parameter map directly to the corresponding postgres createrole
parameters.
2016-05-20 06:50:56 +00:00
login
createdb
createrole
superuser
inherit
EXAMPLES
--------
2016-05-20 06:50:56 +00:00
.. code-block:: sh
__postgres_role myrole
2016-05-20 06:50:56 +00:00
__postgres_role myrole --password 'secret'
2016-05-20 06:50:56 +00:00
__postgres_role admin --password 'very-secret' --superuser
2016-05-20 06:50:56 +00:00
__postgres_role dbcustomer --password 'bla' --createdb
SEE ALSO
--------
2016-05-20 06:50:56 +00:00
- `cdist-type(7) <cdist-type.html>`_
- `cdist-type__postgres_database(7) <cdist-type__postgres_database.html>`_
- http://www.postgresql.org/docs/current/static/sql-createrole.html
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).