Commit graph

605 commits

Author SHA1 Message Date
semantic-release-bot
10126fb740 chore(release): 0.37.2 [skip ci]
## [0.37.2](https://github.com/saltstack-formulas/postgres-formula/compare/v0.37.1...v0.37.2) (2019-05-12)

### Bug Fixes

* **sysrc-svc:** workaround *BSD minion indefinitely hanging on start ([0aa8b4a](https://github.com/saltstack-formulas/postgres-formula/commit/0aa8b4a))
2019-05-12 22:44:15 +00:00
Imran Iqbal
65519cb06f
Merge pull request #264 from sticky-note/master
fix(sysrc-svc): workaround *BSD minion indefinitely hanging on start
2019-05-12 23:24:58 +01:00
sam
0aa8b4a048 fix(sysrc-svc): workaround *BSD minion indefinitely hanging on start
Check https://github.com/saltstack/salt/issues/44848 for further details
2019-05-13 08:44:52 +11:00
semantic-release-bot
425049ceec chore(release): 0.37.1 [skip ci]
## [0.37.1](https://github.com/saltstack-formulas/postgres-formula/compare/v0.37.0...v0.37.1) (2019-05-06)

### Documentation

* **readme:** fix link for Travis badge ([850ca6a](https://github.com/saltstack-formulas/postgres-formula/commit/850ca6a))
2019-05-06 09:09:44 +00:00
Imran Iqbal
07d491e2cb
Merge pull request #267 from saltstack-formulas/myii-patch-1
docs(readme): fix link for Travis badge
2019-05-06 09:39:06 +01:00
Imran Iqbal
850ca6ae88
docs(readme): fix link for Travis badge 2019-05-06 09:38:49 +01:00
semantic-release-bot
e1dd2b3871 chore(release): 0.37.0 [skip ci]
# [0.37.0](https://github.com/saltstack-formulas/postgres-formula/compare/v0.36.0...v0.37.0) (2019-05-06)

### Code Refactoring

* **kitchen:** prefer `kitchen.yml` to `.kitchen.yml` ([8f7cbde](https://github.com/saltstack-formulas/postgres-formula/commit/8f7cbde))

### Continuous Integration

* **gemfile:** prepare for `inspec` testing ([157e169](https://github.com/saltstack-formulas/postgres-formula/commit/157e169))
* **kitchen:** use pre-salted images as used in `template-formula` ([611ec11](https://github.com/saltstack-formulas/postgres-formula/commit/611ec11))
* **kitchen+travis:** use newly available pre-salted images ([7b7aadc](https://github.com/saltstack-formulas/postgres-formula/commit/7b7aadc))
* **pillar_from_files:** use custom pillar based on `pillar.example` ([c64d9e4](https://github.com/saltstack-formulas/postgres-formula/commit/c64d9e4))
* **travis:** add `.travis.yml` based on `template-formula` ([6467df7](https://github.com/saltstack-formulas/postgres-formula/commit/6467df7))

### Documentation

* **readme:** update `Testing` section for `inspec` ([4cfde8d](https://github.com/saltstack-formulas/postgres-formula/commit/4cfde8d))

### Features

* implement `semantic-release` ([7d3aa19](https://github.com/saltstack-formulas/postgres-formula/commit/7d3aa19))

### Tests

* **inspec:** add tests for multiple ports and postgres versions ([bf6a653](https://github.com/saltstack-formulas/postgres-formula/commit/bf6a653))
* **inspec:** enable `use_upstream_repo` for `debian` & `centos-6` ([49fdd33](https://github.com/saltstack-formulas/postgres-formula/commit/49fdd33))
* **inspec:** replace `serverspec` with `inspec` tests ([58ac122](https://github.com/saltstack-formulas/postgres-formula/commit/58ac122))
* **inspec:** use relaxed command output match for the time being ([3c53684](https://github.com/saltstack-formulas/postgres-formula/commit/3c53684))
2019-05-06 07:40:39 +00:00
Éric Veiras Galisson
2a54616bc0
Merge pull request #262 from myii/chore/add-new-ci-matrix
Replace `serverspec` with `inspec` tests via. new CI matrix (inc. `semantic-release`)
2019-05-06 09:18:26 +02:00
Imran Iqbal
7d3aa19b45
feat: implement semantic-release 2019-05-06 04:19:24 +01:00
Imran Iqbal
bf6a653e0b
test(inspec): add tests for multiple ports and postgres versions
* Fix `opensuse-leap-15` (enable `suse` and workaround `service` bug)
* Use port `5433` for `debian` and `opensuse-leap-15`
* Use upstream repo version `10` for `debian`
2019-05-06 04:19:24 +01:00
Imran Iqbal
49fdd3333b
test(inspec): enable use_upstream_repo for debian & centos-6
* Add new `centos-6` image
* Install `9.6` from upstream repo
2019-05-06 04:19:24 +01:00
Imran Iqbal
4cfde8d6e9
docs(readme): update Testing section for inspec 2019-05-06 04:19:24 +01:00
Imran Iqbal
7b7aadc472
ci(kitchen+travis): use newly available pre-salted images 2019-05-06 04:19:22 +01:00
Imran Iqbal
3c53684109
test(inspec): use relaxed command output match for the time being
* Fix the formula and then revert this eventually
2019-05-02 19:08:47 +01:00
Imran Iqbal
58ac122d50
test(inspec): replace serverspec with inspec tests 2019-05-02 19:08:47 +01:00
Imran Iqbal
c64d9e4ab9
ci(pillar_from_files): use custom pillar based on pillar.example
* `pillar.example` will be difficult to get working at this stage
* Ideally, work back towards `pillar.example` in the long run
2019-05-02 19:08:47 +01:00
Imran Iqbal
6467df70a0
ci(travis): add .travis.yml based on template-formula 2019-05-02 19:08:47 +01:00
Imran Iqbal
611ec11353
ci(kitchen): use pre-salted images as used in template-formula 2019-05-02 19:08:47 +01:00
Imran Iqbal
8f7cbdebc7
refactor(kitchen): prefer kitchen.yml to .kitchen.yml
* Quoting from https://kitchen.ci/docs/getting-started/kitchen-yml/:
  - As of test-kitchen 1.21.0, we now prefer `kitchen.yml` over `.kitchen.yml`.
  - This preference applies to `kitchen.local.yml` as well.
  - This is backward compatible so the dot versions continue to work.
2019-05-02 19:08:47 +01:00
Imran Iqbal
157e1693a4
ci(gemfile): prepare for inspec testing 2019-05-02 19:08:47 +01:00
Niels Abspoel
29cd2d8a7c
Merge pull request #261 from myii/bug/fix-uuid-ossp
fix(uuid-ossp): use hyphen consistently
2019-04-25 20:11:16 +02:00
Imran Iqbal
74615fc765
fix(uuid-ossp): use hyphen consistently
* Found when testing Travis CI for the formula
* States fail and run in the wrong order
* Broken: https://travis-ci.org/myii/postgres-formula/jobs/524227136#L2092
* Fixed: https://travis-ci.org/myii/postgres-formula/jobs/524229384#L2086
2019-04-25 05:23:31 +01:00
Imran Iqbal
5f7f504a8a
Merge pull request #258 from noelmcloughlin/fixes
Always retry alternatives.install state
2019-04-19 09:13:15 +01:00
N
f3d8830177
Implement review comment (conditional) 2019-04-15 12:58:00 +01:00
N
080bff7b3d
Always retry alternatives.install state 2019-04-15 00:26:32 +01:00
Imran Iqbal
58c36c57cc
Merge pull request #257 from thomasrossetto/fixes/fix_pillar_example
Remove deprecated createuser command in salt 2019.02
2019-03-22 18:47:11 +00:00
Thomas Rossetto
e40f990165 Remove deprecated createuser command in salt 2019.02 2019-03-22 17:17:55 +01:00
Niels Abspoel
14b653e201
Merge pull request #255 from sixfeetup/pkg_lists
fix the formatting of package lists
2019-03-14 20:53:40 +01:00
Rob McBroom
8d9649452c fix the formatting of package lists
Continuing what was done in #254
2019-03-14 12:08:33 -04:00
Niels Abspoel
57f80ee20a
Merge pull request #254 from saltstack-formulas/myii-patch-1
fix(server/init): use `|json` to resolve `2019.2` breaking change
2019-03-13 18:10:55 +01:00
Imran Iqbal
95bf214486
fix(server/init): use |json to resolve 2019.2 breaking change
* Close #253:
  - Already tested there
2019-03-08 09:23:39 +00:00
Niels Abspoel
e7a309de9b
Merge pull request #252 from noelmcloughlin/fixes
Only download archive if necessary [macos]
2019-01-28 20:37:37 +01:00
N
c673bdcfdd
Only download archive if necessary 2019-01-27 20:51:01 +00:00
Niels Abspoel
31fb296ee2
Merge pull request #251 from myii/PR_tpldir
Maintain consistent use of `tpldir` (continues from #211)
2019-01-24 20:10:52 +01:00
Imran Iqbal
02cde57804 Maintain consistent use of tpldir (continues from #211) 2019-01-24 13:20:36 +00:00
Niels Abspoel
d53648249c
Merge pull request #250 from myii/PR_236
Fix #236: Restart postgres service after ACL changes in pg_hba.conf
2019-01-19 10:10:50 +01:00
Imran Iqbal
36f449dc7a Fix mapping list unpacking in .format() in pg_ident j2 template 2019-01-17 16:29:44 +00:00
Imran Iqbal
0023ac30e3 Move module service.restart to EOF and convert to service.reload
* Simplify server restart/reload logic with respect to `MacOS`
* Discussion in GitHub PR #250
2019-01-17 10:41:28 +00:00
Rob Ruana
cce4cbf992 Fix #236: Reload postgres service after ACL changes in pg_hba.conf
* https://github.com/saltstack-formulas/postgres-formula/pull/216/commits/ef87358
2019-01-16 04:39:30 +00:00
Niels Abspoel
c213b30d4c
Merge pull request #249 from alxwr/master
FreeBSD support
2019-01-15 21:24:48 +01:00
Alexander Weidinger
809629539f Fix: require cluster in service restart 2019-01-14 14:59:29 +01:00
Alexander Weidinger
5931800719 Fix: use correct directories in FreeBSD 2019-01-14 14:59:21 +01:00
Alexander Weidinger
3a6cb010d6 Readme: added instructions for FreeBSD Jails 2019-01-14 14:59:21 +01:00
Alexander Weidinger
8a5353d693 Fix: use correct user and group to run initdb in FreeBSD 2019-01-14 14:58:58 +01:00
Niels Abspoel
7cb86d1183
Merge pull request #248 from noelmcloughlin/fixes
selinux fcontext for postgres_database.present
2018-10-18 21:42:49 +02:00
N
dddb669f3b
handle selinux enforcing for tablespaces/db 2018-10-18 15:57:29 +01:00
Javier Bértoli
656dc4b76d
Merge pull request #244 from bebosudo/bebosudo_whitespaces_hba
Edit pg_hba template to work with jinja 'trim whitespaces' option on salt master
2018-10-17 11:13:26 -03:00
Niels Abspoel
5108b88a8b
Merge pull request #245 from gilou/optional_prepare
Make the preparation/initdb optional
2018-10-15 19:38:11 +02:00
Niels Abspoel
99c15acac9
Merge pull request #247 from noelmcloughlin/fixes
Fix 'requisites were not found'
2018-10-15 19:37:39 +02:00
N
a521af36ad
Fix 'requisites were not found' issue 2018-10-15 15:51:23 +01:00