Commit graph

17 commits

Author SHA1 Message Date
Roman Inflianskas
2204733990 support options in extensions 2015-11-17 18:14:17 +03:00
Roman Inflianskas
8edafaf7a4 support schemas 2015-11-17 18:14:17 +03:00
Devon Stewart
de16b00297 Adding initdb command to pillar example 2015-11-15 11:06:59 -08:00
Roland Baum
a83f9da115 added option to remove users 2015-10-06 13:24:53 +02:00
Edvinas Klovas
d7580104f6 Add support for database extensions.
This commit adds support for database extensions via
salt.states.postgres_extension

When configuring database pillar data all you need to do is add (optional)
extension list with the extensions that you want the state to apply to specific
database. Example:

    db1:
      owner: 'localUser'
      user: 'localUser'
      template: 'template0'
      lc_ctype: 'C.UTF-8'
      lc_collate: 'C.UTF-8'
      extensions:
        - uuid-ossp

This will make sure `uuid-ossp` extension is enabled on `db1` database.

Updated pillar.example to include (optional) extensions
2015-07-23 17:54:24 +03:00
Dominic Ferrantelli
5c08358430 added examples of new user options to pillar.example 2015-05-05 15:10:34 -07:00
Brian Jackson
967fa6504b Switch to new style map.jinja
Move this formula to the new style map.jinja. Still need to sort out RedHat
handling, but it's not any worse than it was before (i.e. horribly broken)
2015-04-22 17:47:02 -05:00
Dominic Ferrantelli
c62b41524d updated README and pillar.example to include client formula 2015-04-21 13:40:01 -07:00
Alan Pearce
b317cebf18 Add option to use upstream repo on Debian 2015-02-01 14:40:45 +00:00
Brandon Bradley
99114652ac fix host ACL in pillar.example 2014-10-10 22:35:47 -05:00
Berry Langerak
c9aeea4c66 Added the ability to add custom configuration to the postgresql.conf configuration file. 2014-10-06 11:34:43 +02:00
root
06693c0dcf Added support for multiple databases/users 2014-07-27 22:04:57 -04:00
Alan McNea
5793d73e54 Added pg_hpa entry for pillar.example 2014-07-13 19:19:47 +00:00
Seth House
9ac9a4610e Wrap the Postgres conf file in an if-statement; grab source from Pillar 2014-05-16 10:56:55 -06:00
Audrey Roy
c244688496 Add pg_hba.conf, Ubuntu mapping, and example.. 2014-05-15 14:44:39 -07:00
C. R. Oldham
33c19159d2 Add pillar example 2014-05-06 11:48:21 -06:00
Michael Grosser
b194209f07 Add pillar.example 2013-07-28 00:34:29 +02:00