rewrite man page in rst

Only minimal changes needed.

This was done to satisfy darko-poljak's request here:
https://github.com/ungleich/cdist/pull/360#issuecomment-263491151
This commit is contained in:
tpo 2016-12-01 09:27:56 +01:00
parent 8b53003a16
commit 60906c0228

View file

@ -1,7 +1,5 @@
cdist-type__postgres_extension(7) cdist-type__postgres_extension(7)
================================= =================================
Tomas Pospisek <tpo_deb--@--sourcepole.ch>
NAME NAME
---- ----
@ -16,35 +14,42 @@ The object you need to pass to __postgres_extension consists of
the database name and the extension name joined by a colon in the the database name and the extension name joined by a colon in the
following form: following form:
.. code-block::
dbname:extension dbname:extension
f.ex. f.ex.
.. code-block::
rails_test:unaccent rails_test:unaccent
OPTIONAL PARAMETERS OPTIONAL PARAMETERS
------------------- -------------------
state:: state
Either "present" or "absent", defaults to "present" either "present" or "absent", defaults to "present"
EXAMPLES EXAMPLES
-------- --------
-------------------------------------------------------------------------------- .. code-block:: sh
__postgres_extension rails_test:unaccent
__postgres_extension --present rails_test:unaccent __postgres_extension rails_test:unaccent
__postgres_extension --absent rails_test:unaccent __postgres_extension --present rails_test:unaccent
-------------------------------------------------------------------------------- __postgres_extension --absent rails_test:unaccent
SEE ALSO SEE ALSO
-------- --------
- cdist-type(7) :strong:`cdist-type`\ (7), :strong:`cdist-type__postgre_database`\ (7)
- cdist-type__postgres_database(7)
- http://www.postgresql.org/docs/current/static/sql-createextension.html
Postgres "Create Extension" documentation at: <http://www.postgresql.org/docs/current/static/sql-createextension.html>.
AUTHOR
-------
Tomas Pospisek <tpo_deb--@--sourcepole.ch>
COPYING COPYING
------- -------