No description
Find a file
Gilles Dartiguelongue e0ed6b6e77 Kill create_cluster pillar switch, refs: #100
It is just a variant of init_db. A more correct solution would be to
support configuring a different initdb command while passing values from
the pillar by default like version. This would make it truly generic but
is probably not achievable given current pillar self-referencing
capabilities (ie. none).

Thus, I decided to make it OS family specific since Debian provides its
own tools to manage clusters, etc. Gentoo also has a specific way to
initialize a new cluster which does not fit with commands.initdb so
the current if/elif would be extended when support is added for Gentoo.
2016-06-07 12:00:50 +02:00
_modules - Added initdb_user configuration, renamed postgres_user and postgres_group to user and group 2016-05-23 15:02:26 -04:00
_states Handle test=True correctly for tablespace owner 2015-04-23 12:04:20 -05:00
postgres Kill create_cluster pillar switch, refs: #100 2016-06-07 12:00:50 +02:00
test/integration/default/serverspec Add ServerSpec test 2015-02-20 17:34:20 +00:00
.gitignore Add gitignore 2015-02-20 17:38:03 +00:00
.kitchen.yml Add test-kitchen configuration file 2015-02-20 17:29:34 +00:00
Gemfile Add Gemfile with kitchen-salt dependencies 2015-02-20 17:13:54 +00:00
Gemfile.lock Add Gemfile with kitchen-salt dependencies 2015-02-20 17:13:54 +00:00
LICENSE Removing extra new lines 2015-05-07 13:37:18 -04:00
pillar.example Added option to disable creation of backup file when postgresql.conf changes 2016-03-14 19:19:32 +00:00
README.rst updated README and pillar.example to include client formula 2015-04-21 13:40:01 -07:00

postgres

Available states

postgres

Installs the postgresql package.

postgres.python

Installs the postgresql python module

postgres.client

Installs the postgresql client

Testing

Testing is done wit kitchen-salt

kitchen converge

Runs the postgres main state

kitchen verify

Runs serverspec tests on the actual instance

kitchen test

Builds and runs test from scratch

kitchen login

Gives you ssh to the vagrant machine for manual testing