726 Commits

Author SHA1 Message Date
Imran Iqbal
115f638107 Merge pull request #279 from myii/ci/standardise-structure
chore: use `semantic-release` cross-formula standard structure
2019-07-25 22:07:38 +01:00
Imran Iqbal
84eef0cf07 chore: use semantic-release cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.2)
2019-07-25 09:36:51 +01:00
semantic-release-bot
5df8f79dc1 chore(release): 0.38.0 [skip ci]
# [0.38.0](https://github.com/saltstack-formulas/postgres-formula/compare/v0.37.4...v0.38.0) (2019-07-24)

### Continuous Integration

* **kitchen:** remove `python*-pip` installation ([d999597](https://github.com/saltstack-formulas/postgres-formula/commit/d999597))
* **kitchen+travis:** modify matrix to include `develop` platform ([3f81439](https://github.com/saltstack-formulas/postgres-formula/commit/3f81439))

### Features

* **debian:** add buster support ([904ba27](https://github.com/saltstack-formulas/postgres-formula/commit/904ba27))
v0.38.0
2019-07-24 20:40:03 +00:00
N
0046482adf Merge pull request #278 from saltstack-formulas/add-debian-buster-support
feat(debian): add buster support
2019-07-24 21:28:44 +01:00
John Keates
904ba271ca feat(debian): add buster support 2019-07-24 22:12:26 +02:00
John Keates
e5700f48c5 Update codenamemap.yaml 2019-07-24 20:14:35 +02:00
Niels Abspoel
aa492c3ba9 Merge pull request #275 from myii/ci/standardise-structure
chore: use `semantic-release` cross-formula standard structure
2019-07-23 21:01:18 +02:00
Imran Iqbal
72ff82ce75 chore: use semantic-release cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.1)
2019-07-19 12:34:38 +01:00
Imran Iqbal
5e631bf7d8 Merge pull request #272 from myii/chore/update-pre-salted-images
ci(kitchen): remove `python*-pip` installation
2019-06-28 02:32:49 +01:00
Imran Iqbal
d999597a91 ci(kitchen): remove python*-pip installation
* Now available in pre-salted images
2019-06-27 22:38:28 +01:00
Imran Iqbal
45a921dc4e Merge pull request #271 from myii/chore/use-develop-image-in-matrix
ci(kitchen+travis): modify matrix to include `develop` platform
2019-06-26 04:10:04 +01:00
Imran Iqbal
3f81439991 ci(kitchen+travis): modify matrix to include develop platform
* Use balanced matrix based on `template-formula` guidelines
* Initial ref: https://github.com/saltstack-formulas/template-formula/issues/118
2019-06-26 03:52:07 +01:00
semantic-release-bot
44b8fb1bc2 chore(release): 0.37.4 [skip ci]
## [0.37.4](https://github.com/saltstack-formulas/postgres-formula/compare/v0.37.3...v0.37.4) (2019-05-31)

### Continuous Integration

* **travis:** reduce matrix down to 6 instances ([2ff919f](https://github.com/saltstack-formulas/postgres-formula/commit/2ff919f))

### Tests

* **`services_spec`:** remove temporary `suse` conditional ([81165fc](https://github.com/saltstack-formulas/postgres-formula/commit/81165fc))
* **command_spec:** use cleaner `match` string using `%r` ([a054cea](https://github.com/saltstack-formulas/postgres-formula/commit/a054cea))
* **locale:** improve test using locale `en_US.UTF-8` ([7796064](https://github.com/saltstack-formulas/postgres-formula/commit/7796064))
v0.37.4
2019-05-31 17:53:44 +00:00
Imran Iqbal
cb4e405098 Merge pull request #269 from myii/chore/test-locales
test(locale): improve test using locale `en_US.UTF-8`
2019-05-31 18:37:23 +01:00
Imran Iqbal
2ff919f1bf ci(travis): reduce matrix down to 6 instances
* Ref: https://github.com/saltstack-formulas/template-formula/pull/121
2019-05-31 02:19:35 +01:00
Imran Iqbal
81165fc405 test(services_spec): remove temporary suse conditional
* `train` gem has been fixed upstream
  - https://github.com/inspec/train/pull/451
  - https://rubygems.org/gems/train/versions/2.1.7
2019-05-31 02:15:57 +01:00
Javier Bértoli
a054cea962 test(command_spec): use cleaner match string using %r 2019-05-31 02:08:10 +01:00
Imran Iqbal
77960641dd test(locale): improve test using locale en_US.UTF-8 2019-05-31 02:08:08 +01:00
semantic-release-bot
cb8de937a5 chore(release): 0.37.3 [skip ci]
## [0.37.3](https://github.com/saltstack-formulas/postgres-formula/compare/v0.37.2...v0.37.3) (2019-05-16)

### Bug Fixes

* **freebsd-user:** fix FreeBSD daemon's user for PostgreSQL >= 9.6 ([8745365](https://github.com/saltstack-formulas/postgres-formula/commit/8745365)), closes [#263](https://github.com/saltstack-formulas/postgres-formula/issues/263)
v0.37.3
2019-05-16 08:05:28 +00:00
Denys Havrysh
5763d220e5 Merge pull request #268 from Strade28/master
fix(freebsd-user): fix FreeBSD daemon's user for PostgreSQL >= 9.6
2019-05-16 10:45:15 +03:00
julien levieil
8745365d71 fix(freebsd-user): fix FreeBSD daemon's user for PostgreSQL >= 9.6
For postgresql 9.6 and newer, the default unix user used by postgresql
daemon has changed to 'postgres', and the default data directory is:
/var/db/postgres/data96

Closes #263
2019-05-16 09:35:35 +11:00
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))
v0.37.2
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))
v0.37.1
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))
v0.37.0
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
v0.36.0
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