cdist/cdist/conf/type/__postgres_extension/man.rst

58 lines
1.2 KiB
ReStructuredText
Raw Normal View History

2014-09-09 13:42:30 +00:00
cdist-type__postgres_extension(7)
=================================
NAME
----
cdist-type__postgres_extension - manage postgres extensions
DESCRIPTION
-----------
This cdist type allows you to create or drop postgres extensions.
The object you need to pass to __postgres_extension consists of
the database name and the extension name joined by a colon in the
following form:
.. code-block::
2014-09-09 13:42:30 +00:00
dbname:extension
f.ex.
.. code-block::
2014-09-09 13:42:30 +00:00
rails_test:unaccent
OPTIONAL PARAMETERS
-------------------
state
either "present" or "absent", defaults to "present"
2014-09-09 13:42:30 +00:00
EXAMPLES
--------
.. code-block:: sh
__postgres_extension rails_test:unaccent
__postgres_extension --present rails_test:unaccent
__postgres_extension --absent rails_test:unaccent
2014-09-09 13:42:30 +00:00
SEE ALSO
--------
:strong:`cdist-type`\ (7), :strong:`cdist-type__postgre_database`\ (7)
Postgres "Create Extension" documentation at: <http://www.postgresql.org/docs/current/static/sql-createextension.html>.
2014-09-09 13:42:30 +00:00
AUTHOR
-------
Tomas Pospisek <tpo_deb--@--sourcepole.ch>
2014-09-09 13:42:30 +00:00
COPYING
-------
Copyright \(C) 2014 Tomas Pospisek. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3).