Commit graph

110 commits

Author SHA1 Message Date
Nitin Madhok
c87fa54cbf Removing extra new lines 2015-05-07 13:37:18 -04:00
Wolodja Wentland
d7233e51b7 Merge pull request #56 from dferrantelli/add_ubuntu_pgdg
added pkg_repo defaults for trusty and utopic
2015-05-06 11:26:56 +02:00
Dominic Ferrantelli
965577ade7 added pkg_repo defaults for trusty and utopic 2015-05-05 17:14:35 -07:00
Forrest
b33f9f06a8 Merge pull request #55 from dferrantelli/dev_state
moved dev packages to seperate state
2015-05-05 16:21:33 -07:00
Forrest
5a1285e75c Merge pull request #54 from dferrantelli/add_other_pg_perms
added other postgres user perms such that they can be enabled/disabled
2015-05-05 16:21:00 -07:00
Dominic Ferrantelli
1b97d540ca moved dev packages to seperate state 2015-05-05 15:40:49 -07:00
Dominic Ferrantelli
5c08358430 added examples of new user options to pillar.example 2015-05-05 15:10:34 -07:00
Dominic Ferrantelli
9e1ff20af5 added other postgres user perms such that they can be enbabled/disabled by this formula 2015-05-05 11:52:33 -07:00
Wolodja Wentland
4656452825 Merge pull request #53 from iggy/fix-__salt__-unavailable
Fix __salt__ unavailable in __virtual__()
2015-05-05 20:15:36 +02:00
Brian Jackson
5015024725 Fix __salt__ unavailable in __virtual__()
In older versions of Salt (this was originally developed against 2015.2),
__salt__ isn't loaded yet in the __virtual__() function. Work around this by
just duplicating the check from upstream postgres.py
2015-05-05 11:42:43 -05:00
Forrest
eda4cf69ae Merge pull request #49 from iggy/fix-defaults-yaml-tablespaces
Fix backward compat
2015-04-24 11:20:00 -07:00
Brian Jackson
997bc3563a Fix backward compat
This should fix the backwards compatibility breakage. Missed in my testing
because I had a pre-existing pillar setup (from an old way I did tablespace
support).
2015-04-24 13:15:59 -05:00
Forrest
79c800e8ca Merge pull request #47 from iggy/tablespace-support
Add _states/_modules for tablespaces and add tablespace support to formula
2015-04-23 11:17:04 -07:00
Brian Jackson
e23f4bf8e8 Handle test=True correctly for tablespace owner
We weren't handling test=True correctly for when the table already existed, but
the owner was changing.
2015-04-23 12:04:20 -05:00
Brian Jackson
17baaa9f8c Add _states/_modules for tablespaces and add tablespace support to formula
Add temporary states/modules for handling tablespaces in Postgresql. These will
be fed back upstream, but they can live here for now.

Add support for the states/modules to the formula.
2015-04-23 11:17:39 -05:00
Forrest
92ee5e3538 Merge pull request #46 from iggy/new-style-map-jinja
Switch to new style map.jinja
2015-04-22 16:20:10 -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
Nitin Madhok
98bb44df47 Merge pull request #45 from dferrantelli/master
added client-only formula and required default values
2015-04-21 19:39:01 -04:00
Dominic Ferrantelli
7ddfbb22e6 moved upstream repo to an include, checked for Ubuntu before attempting to add it 2015-04-21 15:13:42 -07:00
Dominic Ferrantelli
c62b41524d updated README and pillar.example to include client formula 2015-04-21 13:40:01 -07:00
Dominic Ferrantelli
f6e68157a3 added client formula and required default values 2015-04-21 13:06:41 -07:00
Nitin Madhok
b38deb618f Update LICENSING year 2015-03-20 20:12:44 -04:00
Forrest
6855ae3494 Merge pull request #44 from dferrantelli/master
allow multiline postgres:postgresconf
2015-03-12 16:42:02 -07:00
Dominic Ferrantelli
430c735b0d added automatic indentation of postgres:postgresconf to allow for multiple lines to be added to the conf 2015-03-12 16:14:34 -07:00
Nitin Madhok
30490ceb78 Merge pull request #42 from rmoorman/master
Adjust the init state's jinja syntax to prevent errors if there is no postgres pillar data
2015-02-27 17:59:31 -05:00
Rico Moorman
9a21a59b58 Adjust the init state's jinja syntax to prevent errors if there is no postgres pillar data 2015-02-27 00:29:51 +01:00
Nitin Madhok
8ed841f8e5 Merge pull request #40 from saltstack-formulas/revert-39-enhancement/markdown-readme
Revert "Update README to markdown syntax"
2015-02-23 23:40:23 +05:30
Nitin Madhok
edca294b29 Revert "Update README to markdown syntax" 2015-02-23 23:40:07 +05:30
Wolodja Wentland
aa4d6baca6 Merge pull request #39 from seegno/enhancement/markdown-readme
Update README to markdown syntax
2015-02-23 18:56:13 +01:00
Alfredo Palhares
5c67797b1b Update README to markdown syntax 2015-02-23 16:47:04 +00:00
Wolodja Wentland
3357e1c705 Merge pull request #36 from seegno/feature/kitchen-salt
Add kitchen-salt testing
2015-02-23 14:16:19 +01:00
Alfredo Palhares
52b92b6a01 Add kitchen-salt documentation to the README file 2015-02-23 11:07:41 +00:00
Alfredo Palhares
debf1a5a7f Add gitignore 2015-02-20 17:38:03 +00:00
Alfredo Palhares
007ed90859 Add ServerSpec test 2015-02-20 17:34:20 +00:00
Alfredo Palhares
438811d03f Add test-kitchen configuration file 2015-02-20 17:29:34 +00:00
Alfredo Palhares
6dd7a6596a Add Gemfile with kitchen-salt dependencies 2015-02-20 17:13:54 +00:00
Nitin Madhok
afa5344a12 Merge pull request #35 from alanpearce/contrib
Add switch to install contrib package
2015-02-16 16:09:31 +05:30
Alan Pearce
3baf9ca8e1 Add switch to install contrib package 2015-02-14 17:36:04 +00:00
Forrest
8b8b19b3b2 Merge pull request #34 from alanpearce/upstream-repo
Add option to use upstream repo on Debian
2015-02-07 18:09:26 -08:00
Alan Pearce
b317cebf18 Add option to use upstream repo on Debian 2015-02-01 14:40:45 +00:00
Forrest
07a3073fab Merge pull request #33 from durana/patch-1
Fix typo
2015-01-29 17:00:52 -08:00
Adam Durana
0a429b9a97 Fix typo 2015-01-29 18:26:47 -05:00
Nitin Madhok
a5e020deed Merge pull request #32 from brot/f/ubuntu
Option to disable installation of pkg_libpq_dev
2015-01-30 00:32:41 +05:30
Bernd Schlapsi
3e0b210d5d Option to disable installation of pkg_libpq_dev 2015-01-29 07:26:55 +01:00
Nitin Madhok
46a6338cdf Merge pull request #30 from sbrefort/master
Limitation of default access rights to improve security
2015-01-12 23:57:43 +05:30
Stéphanie Bréfort
4aaf298d00 Limitation of default access rights to improve security 2015-01-12 19:02:06 +01:00
Forrest
ff0742dd44 Merge pull request #27 from saxonww/master
Remove duplication in map.jinja
2014-12-31 15:39:18 -08:00
Will Saxon
a58f153fb1 Remove duplication in map.jinja
This change addresses #26 by consolidating Ubuntu and Debian
configuration back under the 'Debian' os_family grain.

The main difference between the various Ubuntu and Debian versions is
the version of postgresql in use; package/service names and directory
patterns are identical. This change separates the version number into
its own pg_version dictionary, which is used as needed by the postgres
dictionary.
2014-12-31 16:58:41 -05:00
Nitin Madhok
6173593c35 Merge pull request #25 from johnkeates/master
Add support for Debian 7 and Debian 8
2014-12-22 09:22:25 -05:00
John Keates
503c5f9eea Fix indentation on line 54 2014-12-22 15:18:17 +01:00