2011-06-17 09:37:43 +00:00
|
|
|
cdist-type__postgres_role(7)
|
|
|
|
============================
|
2016-05-20 06:50:56 +00:00
|
|
|
Manage postgres roles
|
2011-06-17 09:37:43 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
Steven Armstrong <steven-cdist--@--armstrong.cc>
|
2011-06-17 09:37:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
This cdist type allows you to create or drop postgres roles.
|
|
|
|
|
|
|
|
|
2013-06-17 15:05:23 +00:00
|
|
|
OPTIONAL PARAMETERS
|
2011-06-17 09:37:43 +00:00
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
state
|
2012-11-07 18:22:02 +00:00
|
|
|
Either "present" or "absent", defaults to "present"
|
2011-06-17 09:37:43 +00:00
|
|
|
|
2013-06-17 15:05:23 +00:00
|
|
|
All other parameters map directly to the corresponding postgres createrole
|
2011-06-17 09:37:43 +00:00
|
|
|
parameters.
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
password
|
2012-11-02 21:56:45 +00:00
|
|
|
|
|
|
|
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
|
2011-06-17 09:37:43 +00:00
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
__postgres_role myrole
|
2011-06-17 12:03:51 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
__postgres_role myrole --password 'secret'
|
2011-06-17 12:03:51 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
__postgres_role admin --password 'very-secret' --superuser
|
2011-06-17 12:03:51 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
__postgres_role dbcustomer --password 'bla' --createdb
|
2011-06-17 09:37:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
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>`_
|
2011-06-17 09:37:43 +00:00
|
|
|
- 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).
|