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

68 lines
1.3 KiB
ReStructuredText
Raw Normal View History

cdist-type__postgres_role(7)
============================
NAME
----
cdist-type__postgres_role - Manage postgres roles
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
--------
`cdist-type__postgres_database(7) <cdist-type__postgres_database.html>`_
Full documentation at: <:cdist_docs:`index`>,
especially cdist type chapter: <:cdist_docs:`cdist-type`>.
postgresql documentation at:
<http://www.postgresql.org/docs/current/static/sql-createrole.html>.
AUTHORS
-------
Steven Armstrong <steven-cdist--@--armstrong.cc>
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).