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
Javier Bértoli
ccfe9c2b7c
Merge pull request #246 from gilou/path_repo
...
allow to add bin_dir to path
2018-10-11 08:51:10 -03:00
Gilou
5c094a05ca
Rename setting to add_profile, add an example to explain it
2018-10-11 02:37:51 +02:00
Gilou
728dbb64e5
add warning in sh file
2018-10-10 18:04:35 +02:00
Gilou
f2c13abe9c
add a profile.d script to add bin_dir to path
2018-10-10 18:04:35 +02:00
Gilou
187c86fe97
set dependencies accordingly: if asked to prepare, depend on the cmd being run, otherwise, only depend on the file
2018-10-09 20:02:22 +02:00
Gilou
6de97ce0f1
only run initdb/prepare cmd if asked for it, and let it run by default.
2018-10-09 19:48:47 +02:00
Niels Abspoel
809faa4734
Merge pull request #243 from alxwr/master
...
FreeBSD: use correct client package
2018-10-05 10:55:22 +02:00
Alberto Chiusole
a302d61059
Edit pg_hba template to work with jinja 'trim whitespaces' option on the master.
2018-10-03 23:33:06 +02:00