Compare commits
40 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
07e15d83e5 | ||
|
|
a53b921663 | ||
|
|
ab6b97e8c3 | ||
|
|
50808e8efe | ||
|
|
21baf28b2f | ||
|
|
5e6511b783 | ||
|
|
702323c24d | ||
|
|
8735cf8ad1 | ||
|
|
3a3d24a735 | ||
|
|
7978976543 | ||
|
|
44568a6806 | ||
|
|
1c0657b174 | ||
|
|
2c1ce2c3a4 | ||
|
|
904a5258cd | ||
|
|
2b10e6225f | ||
|
|
07044bf7c1 | ||
|
|
278893c2f0 | ||
|
|
8592ed02a0 | ||
|
|
69b57e3b69 | ||
|
|
81c7c9f957 | ||
|
|
fa0b4c41fa | ||
|
|
68a791ef09 | ||
|
|
26f3fa2f90 | ||
|
|
5e29999495 | ||
|
|
5d6514edfd | ||
|
|
1a6cba3aa3 | ||
|
|
f6e2040a40 | ||
|
|
442cfec245 | ||
|
|
9b1d4e44b9 | ||
|
|
babb024104 | ||
|
|
0c766c8e2e | ||
|
|
c46053abd8 | ||
|
|
35850da22c | ||
|
|
b914d67235 | ||
|
|
31180c4a92 | ||
|
|
e6b14853d5 | ||
|
|
5158f3053c | ||
|
|
85feac2852 | ||
|
|
061715e560 | ||
|
|
86697d8df4 |
16
.github/workflows/commitlint.yml
vendored
Normal file
16
.github/workflows/commitlint.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=yaml
|
||||||
|
---
|
||||||
|
name: Commitlint
|
||||||
|
'on': [pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: wagoid/commitlint-github-action@v1
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -105,7 +105,7 @@ ENV/
|
|||||||
.mypy_cache/
|
.mypy_cache/
|
||||||
|
|
||||||
# Bundler
|
# Bundler
|
||||||
Gemfile.lock
|
.bundle/
|
||||||
|
|
||||||
# copied `.md` files used for conversion to `.rst` using `m2r`
|
# copied `.md` files used for conversion to `.rst` using `m2r`
|
||||||
docs/*.md
|
docs/*.md
|
||||||
|
|||||||
@@ -2,9 +2,15 @@
|
|||||||
# vim: ft=yaml
|
# vim: ft=yaml
|
||||||
---
|
---
|
||||||
# General overrides used across formulas in the org
|
# General overrides used across formulas in the org
|
||||||
Metrics/LineLength:
|
Layout/LineLength:
|
||||||
# Increase from default of `80`
|
# Increase from default of `80`
|
||||||
# Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
|
# Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
|
||||||
Max: 88
|
Max: 88
|
||||||
|
Metrics/BlockLength:
|
||||||
|
ExcludedMethods:
|
||||||
|
- control
|
||||||
|
- describe
|
||||||
|
# Increase from default of `25`
|
||||||
|
Max: 30
|
||||||
|
|
||||||
# Any offenses that should be fixed, e.g. collected via. `rubocop --auto-gen-config`
|
# Any offenses that should be fixed, e.g. collected via. `rubocop --auto-gen-config`
|
||||||
|
|||||||
61
.travis.yml
61
.travis.yml
@@ -59,35 +59,36 @@ jobs:
|
|||||||
# Make sure the instances listed below match up with
|
# Make sure the instances listed below match up with
|
||||||
# the `platforms` defined in `kitchen.yml`
|
# the `platforms` defined in `kitchen.yml`
|
||||||
- env: INSTANCE=default-debian-10-master-py3
|
- env: INSTANCE=default-debian-10-master-py3
|
||||||
|
- env: INSTANCE=default-ubuntu-2004-master-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1804-master-py3
|
# - env: INSTANCE=default-ubuntu-1804-master-py3
|
||||||
# - env: INSTANCE=default-centos-8-master-py3
|
- env: INSTANCE=default-centos-8-master-py3
|
||||||
|
- env: INSTANCE=default-fedora-32-master-py3
|
||||||
# - env: INSTANCE=default-fedora-31-master-py3
|
# - env: INSTANCE=default-fedora-31-master-py3
|
||||||
# - env: INSTANCE=default-opensuse-leap-151-master-py3
|
- env: INSTANCE=default-opensuse-leap-152-master-py3
|
||||||
# - env: INSTANCE=default-amazonlinux-2-master-py2
|
- env: INSTANCE=default-amazonlinux-2-master-py3
|
||||||
# - env: INSTANCE=default-arch-base-latest-master-py2
|
# - env: INSTANCE=default-debian-10-3000-3-py3
|
||||||
|
# - env: INSTANCE=default-debian-9-3000-3-py3
|
||||||
|
# - env: INSTANCE=default-ubuntu-1804-3000-3-py3
|
||||||
|
# - env: INSTANCE=default-centos-8-3000-3-py3
|
||||||
|
# - env: INSTANCE=default-centos-7-3000-3-py3
|
||||||
|
# - env: INSTANCE=default-fedora-31-3000-3-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-leap-152-3000-3-py3
|
||||||
|
# - env: INSTANCE=default-amazonlinux-2-3000-3-py3
|
||||||
|
# - env: INSTANCE=default-ubuntu-1804-3000-3-py2
|
||||||
|
# - env: INSTANCE=default-ubuntu-1604-3000-3-py2
|
||||||
|
# - env: INSTANCE=default-arch-base-latest-3000-3-py2
|
||||||
# - env: INSTANCE=default-debian-10-2019-2-py3
|
# - env: INSTANCE=default-debian-10-2019-2-py3
|
||||||
# - env: INSTANCE=default-debian-9-2019-2-py3
|
# - env: INSTANCE=default-debian-9-2019-2-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1804-2019-2-py3
|
# - env: INSTANCE=default-ubuntu-1804-2019-2-py3
|
||||||
- env: INSTANCE=default-centos-8-2019-2-py3
|
# - env: INSTANCE=default-ubuntu-1604-2019-2-py3
|
||||||
- env: INSTANCE=default-fedora-31-2019-2-py3
|
# - env: INSTANCE=default-centos-8-2019-2-py3
|
||||||
# - env: INSTANCE=default-opensuse-leap-151-2019-2-py3
|
# - env: INSTANCE=default-centos-7-2019-2-py3
|
||||||
# - env: INSTANCE=default-centos-7-2019-2-py2
|
# - env: INSTANCE=default-fedora-31-2019-2-py3
|
||||||
# - env: INSTANCE=default-amazonlinux-2-2019-2-py2
|
# - env: INSTANCE=default-opensuse-leap-152-2019-2-py3
|
||||||
# - env: INSTANCE=default-arch-base-latest-2019-2-py2
|
# - env: INSTANCE=default-amazonlinux-2-2019-2-py3
|
||||||
# - env: INSTANCE=default-fedora-30-2018-3-py3
|
# - env: INSTANCE=default-centos-6-2019-2-py2
|
||||||
# - env: INSTANCE=default-debian-9-2018-3-py2
|
# - env: INSTANCE=default-amazonlinux-1-2019-2-py2
|
||||||
- env: INSTANCE=default-ubuntu-1604-2018-3-py2
|
- env: INSTANCE=default-arch-base-latest-2019-2-py2
|
||||||
# - env: INSTANCE=default-centos-7-2018-3-py2
|
|
||||||
- env: INSTANCE=default-opensuse-leap-151-2018-3-py2
|
|
||||||
# - env: INSTANCE=default-amazonlinux-2-2018-3-py2
|
|
||||||
# - env: INSTANCE=default-arch-base-latest-2018-3-py2
|
|
||||||
# - env: INSTANCE=default-debian-8-2017-7-py2
|
|
||||||
# - env: INSTANCE=default-ubuntu-1604-2017-7-py2
|
|
||||||
- env: INSTANCE=default-centos-6-2017-7-py2
|
|
||||||
# - env: INSTANCE=default-fedora-30-2017-7-py2
|
|
||||||
# - env: INSTANCE=default-opensuse-leap-151-2017-7-py2
|
|
||||||
# - env: INSTANCE=default-amazonlinux-2-2017-7-py2
|
|
||||||
# - env: INSTANCE=default-arch-base-latest-2017-7-py2
|
|
||||||
|
|
||||||
## Define the release stage that runs `semantic-release`
|
## Define the release stage that runs `semantic-release`
|
||||||
- stage: 'release'
|
- stage: 'release'
|
||||||
@@ -114,3 +115,15 @@ jobs:
|
|||||||
edge: true
|
edge: true
|
||||||
# Run `semantic-release`
|
# Run `semantic-release`
|
||||||
script: 'npx semantic-release@15.14'
|
script: 'npx semantic-release@15.14'
|
||||||
|
|
||||||
|
# Notification options: `always`, `never` or `change`
|
||||||
|
notifications:
|
||||||
|
webhooks:
|
||||||
|
if: 'repo = saltstack-formulas/postgres-formula'
|
||||||
|
urls:
|
||||||
|
- https://saltstack-formulas.zulipchat.com/api/v1/external/travis?api_key=HsIq3o5QmLxdnVCKF9is0FUIpkpAY79P&stream=CI&topic=saltstack-formulas%2Fpostgres-formula&ignore_pull_requests=true
|
||||||
|
on_success: always # default: always
|
||||||
|
on_failure: always # default: always
|
||||||
|
on_start: always # default: never
|
||||||
|
on_cancel: always # default: always
|
||||||
|
on_error: always # default: always
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ This list is sorted by the number of commits per contributor in _descending_ ord
|
|||||||
|
|
||||||
Avatar|Contributor|Contributions
|
Avatar|Contributor|Contributions
|
||||||
:-:|---|:-:
|
:-:|---|:-:
|
||||||
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/10231489?v=4' width='36' height='36' alt='@myii'>|[@myii](https://github.com/myii)|97
|
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/10231489?v=4' width='36' height='36' alt='@myii'>|[@myii](https://github.com/myii)|123
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/13322818?v=4' width='36' height='36' alt='@noelmcloughlin'>|[@noelmcloughlin](https://github.com/noelmcloughlin)|62
|
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/13322818?v=4' width='36' height='36' alt='@noelmcloughlin'>|[@noelmcloughlin](https://github.com/noelmcloughlin)|62
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/1800660?v=4' width='36' height='36' alt='@aboe76'>|[@aboe76](https://github.com/aboe76)|54
|
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/1800660?v=4' width='36' height='36' alt='@aboe76'>|[@aboe76](https://github.com/aboe76)|54
|
||||||
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/1396878?v=4' width='36' height='36' alt='@gravyboat'>|[@gravyboat](https://github.com/gravyboat)|41
|
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/1396878?v=4' width='36' height='36' alt='@gravyboat'>|[@gravyboat](https://github.com/gravyboat)|41
|
||||||
@@ -22,7 +22,7 @@ Avatar|Contributor|Contributions
|
|||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/3449635?v=4' width='36' height='36' alt='@rominf'>|[@rominf](https://github.com/rominf)|7
|
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/3449635?v=4' width='36' height='36' alt='@rominf'>|[@rominf](https://github.com/rominf)|7
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/223763?v=4' width='36' height='36' alt='@alfredopalhares'>|[@alfredopalhares](https://github.com/alfredopalhares)|6
|
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/223763?v=4' width='36' height='36' alt='@alfredopalhares'>|[@alfredopalhares](https://github.com/alfredopalhares)|6
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/1920805?v=4' width='36' height='36' alt='@alxwr'>|[@alxwr](https://github.com/alxwr)|5
|
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/1920805?v=4' width='36' height='36' alt='@alxwr'>|[@alxwr](https://github.com/alxwr)|5
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/74739?v=4' width='36' height='36' alt='@audreyr'>|[@audreyr](https://github.com/audreyr)|5
|
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/74739?v=4' width='36' height='36' alt='@audreyfeldroy'>|[@audreyfeldroy](https://github.com/audreyfeldroy)|5
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/278900?v=4' width='36' height='36' alt='@blast-hardcheese'>|[@blast-hardcheese](https://github.com/blast-hardcheese)|5
|
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/278900?v=4' width='36' height='36' alt='@blast-hardcheese'>|[@blast-hardcheese](https://github.com/blast-hardcheese)|5
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/2179770?v=4' width='36' height='36' alt='@gilou'>|[@gilou](https://github.com/gilou)|5
|
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/2179770?v=4' width='36' height='36' alt='@gilou'>|[@gilou](https://github.com/gilou)|5
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/287147?v=4' width='36' height='36' alt='@techhat'>|[@techhat](https://github.com/techhat)|5
|
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/287147?v=4' width='36' height='36' alt='@techhat'>|[@techhat](https://github.com/techhat)|5
|
||||||
@@ -55,7 +55,6 @@ Avatar|Contributor|Contributions
|
|||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/219695?v=4' width='36' height='36' alt='@rmoorman'>|[@rmoorman](https://github.com/rmoorman)|1
|
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/219695?v=4' width='36' height='36' alt='@rmoorman'>|[@rmoorman](https://github.com/rmoorman)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/154676?v=4' width='36' height='36' alt='@skurfer'>|[@skurfer](https://github.com/skurfer)|1
|
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/154676?v=4' width='36' height='36' alt='@skurfer'>|[@skurfer](https://github.com/skurfer)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/2592431?v=4' width='36' height='36' alt='@RobRuana'>|[@RobRuana](https://github.com/RobRuana)|1
|
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/2592431?v=4' width='36' height='36' alt='@RobRuana'>|[@RobRuana](https://github.com/RobRuana)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/3165500?v=4' width='36' height='36' alt='@rmartins90'>|[@rmartins90](https://github.com/rmartins90)|1
|
|
||||||
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/10464711?v=4' width='36' height='36' alt='@sbrefort'>|[@sbrefort](https://github.com/sbrefort)|1
|
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/10464711?v=4' width='36' height='36' alt='@sbrefort'>|[@sbrefort](https://github.com/sbrefort)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/125458?v=4' width='36' height='36' alt='@sbellem'>|[@sbellem](https://github.com/sbellem)|1
|
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/125458?v=4' width='36' height='36' alt='@sbellem'>|[@sbellem](https://github.com/sbellem)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/500703?v=4' width='36' height='36' alt='@retrry'>|[@retrry](https://github.com/retrry)|1
|
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/500703?v=4' width='36' height='36' alt='@retrry'>|[@retrry](https://github.com/retrry)|1
|
||||||
@@ -66,8 +65,9 @@ Avatar|Contributor|Contributions
|
|||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/8005290?v=4' width='36' height='36' alt='@YetAnotherMinion'>|[@YetAnotherMinion](https://github.com/YetAnotherMinion)|1
|
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/8005290?v=4' width='36' height='36' alt='@YetAnotherMinion'>|[@YetAnotherMinion](https://github.com/YetAnotherMinion)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/17393048?v=4' width='36' height='36' alt='@ek9'>|[@ek9](https://github.com/ek9)|1
|
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/17393048?v=4' width='36' height='36' alt='@ek9'>|[@ek9](https://github.com/ek9)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/11394644?v=4' width='36' height='36' alt='@Strade288'>|[@Strade288](https://github.com/Strade288)|1
|
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/11394644?v=4' width='36' height='36' alt='@Strade288'>|[@Strade288](https://github.com/Strade288)|1
|
||||||
|
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/46799934?v=4' width='36' height='36' alt='@sticky-note'>|[@sticky-note](https://github.com/sticky-note)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/52996?v=4' width='36' height='36' alt='@daks'>|[@daks](https://github.com/daks)|1
|
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/52996?v=4' width='36' height='36' alt='@daks'>|[@daks](https://github.com/daks)|1
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Auto-generated by a [forked version](https://github.com/myii/maintainer) of [gaocegege/maintainer](https://github.com/gaocegege/maintainer) on 2019-12-27.
|
Auto-generated by a [forked version](https://github.com/myii/maintainer) of [gaocegege/maintainer](https://github.com/gaocegege/maintainer) on 2020-09-29.
|
||||||
|
|||||||
54
CHANGELOG.md
54
CHANGELOG.md
@@ -1,5 +1,59 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [0.41.3](https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.2...v0.41.3) (2020-09-29)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **upstream:** require_in/require use_upstream ([ab6b97e](https://github.com/saltstack-formulas/postgres-formula/commit/ab6b97e8c3ff40f9cb2e629c3c0faf09ca59ede9))
|
||||||
|
|
||||||
|
## [0.41.2](https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.1...v0.41.2) (2020-07-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **macros:** fix `format_kwargs` macro ([5e6511b](https://github.com/saltstack-formulas/postgres-formula/commit/5e6511b783388930010e6c0795b197728fb10b39))
|
||||||
|
|
||||||
|
|
||||||
|
### Continuous Integration
|
||||||
|
|
||||||
|
* **kitchen:** ubuntu-2004-master-py3 added ([7978976](https://github.com/saltstack-formulas/postgres-formula/commit/79789765439bb0727521dc817fe9eaebba000a67))
|
||||||
|
* **kitchen+travis:** use latest pre-salted images [skip ci] ([702323c](https://github.com/saltstack-formulas/postgres-formula/commit/702323c24df1df6b11defd663b55cf38586bd3f3))
|
||||||
|
* **travis:** ubuntu upgrade from 16 to 18 & 20 ([44568a6](https://github.com/saltstack-formulas/postgres-formula/commit/44568a680602fb61f157b74dc05f9af9b153e8e6))
|
||||||
|
|
||||||
|
|
||||||
|
### Styles
|
||||||
|
|
||||||
|
* **libtofs.jinja:** use Black-inspired Jinja formatting [skip ci] ([8735cf8](https://github.com/saltstack-formulas/postgres-formula/commit/8735cf8ad1b9fc1eb816aecf3d363d4fc81fbe66))
|
||||||
|
|
||||||
|
## [0.41.1](https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.0...v0.41.1) (2020-07-10)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **contributing:** postgresql-repo state ID requires python3-apt package ([69b57e3](https://github.com/saltstack-formulas/postgres-formula/commit/69b57e3b69062d0b66bd9fb28e3769a9ff579faa))
|
||||||
|
* **contributing:** postgresql-service-reload type ([278893c](https://github.com/saltstack-formulas/postgres-formula/commit/278893c2f0f3fa8db26b45b3874f7dd7177b714a))
|
||||||
|
* **contributing:** runnig formula inside container ([68a791e](https://github.com/saltstack-formulas/postgres-formula/commit/68a791ef091114b081f71631d94201a9f1ed07b6))
|
||||||
|
* **libtofs:** “files_switch” mess up the variable exported by “map.jinja” [skip ci] ([e6b1485](https://github.com/saltstack-formulas/postgres-formula/commit/e6b14853d5ce2369ead22cabdfc48ae63f64e550))
|
||||||
|
* **postgres.server:** reverted how posrgre.server.image is included ([07044bf](https://github.com/saltstack-formulas/postgres-formula/commit/07044bf7c1d420855b43d6add30358ff39666702))
|
||||||
|
|
||||||
|
|
||||||
|
### Continuous Integration
|
||||||
|
|
||||||
|
* **gemfile:** remove unused `rspec-retry` gem [skip ci] ([85feac2](https://github.com/saltstack-formulas/postgres-formula/commit/85feac2852ee399f37293b60008e3a17d19cd47f))
|
||||||
|
* **gemfile:** update for Vagrant testing [skip ci] ([061715e](https://github.com/saltstack-formulas/postgres-formula/commit/061715e560880a9a60720bbcbeda632c010d03a4))
|
||||||
|
* **gemfile.lock:** add to repo with updated `Gemfile` [skip ci] ([35850da](https://github.com/saltstack-formulas/postgres-formula/commit/35850da22cb4f61144a61098b9869603b6e0a682))
|
||||||
|
* **kitchen:** avoid using bootstrap for `master` instances [skip ci] ([86697d8](https://github.com/saltstack-formulas/postgres-formula/commit/86697d8df48e24e37d6885f68ea8988d43b076aa))
|
||||||
|
* **kitchen:** use `saltimages` Docker Hub where available [skip ci] ([5e29999](https://github.com/saltstack-formulas/postgres-formula/commit/5e29999495f36653aa1b51f2baf956533fdee7e4))
|
||||||
|
* **kitchen+travis:** remove `master-py2-arch-base-latest` [skip ci] ([c46053a](https://github.com/saltstack-formulas/postgres-formula/commit/c46053abd8019a4229daf19db1af86c5f8961353))
|
||||||
|
* **travis:** add notifications => zulip [skip ci] ([442cfec](https://github.com/saltstack-formulas/postgres-formula/commit/442cfec245fb6b22d7768c8436ba6c62ca2975fd))
|
||||||
|
* **workflows/commitlint:** add to repo [skip ci] ([0c766c8](https://github.com/saltstack-formulas/postgres-formula/commit/0c766c8e2e336e31d44fdddf5f4c5e56faa9e40e))
|
||||||
|
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
|
||||||
|
* **container:** "postgres:bake_image" specifics ([904a525](https://github.com/saltstack-formulas/postgres-formula/commit/904a5258cd155f3b5a83ec8dc8e990a8ffc6b798))
|
||||||
|
|
||||||
# [0.41.0](https://github.com/saltstack-formulas/postgres-formula/compare/v0.40.5...v0.41.0) (2019-12-27)
|
# [0.41.0](https://github.com/saltstack-formulas/postgres-formula/compare/v0.40.5...v0.41.0) (2019-12-27)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
40
CODEOWNERS
Normal file
40
CODEOWNERS
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
|
||||||
|
|
||||||
|
# SECTION: Owner(s) for everything in the repo, unless a later match takes precedence
|
||||||
|
# FILE PATTERN OWNER(S)
|
||||||
|
* @vutny @myii
|
||||||
|
|
||||||
|
# SECTION: Owner(s) for specific directories
|
||||||
|
# FILE PATTERN OWNER(S)
|
||||||
|
|
||||||
|
# SECTION: Owner(s) for files/directories related to `semantic-release`
|
||||||
|
# FILE PATTERN OWNER(S)
|
||||||
|
/.github/workflows/ @saltstack-formulas/ssf
|
||||||
|
/bin/kitchen @saltstack-formulas/ssf
|
||||||
|
/docs/AUTHORS.rst @saltstack-formulas/ssf
|
||||||
|
/docs/CHANGELOG.rst @saltstack-formulas/ssf
|
||||||
|
/docs/TOFS_pattern.rst @saltstack-formulas/ssf
|
||||||
|
/postgres/libsaltcli.jinja @saltstack-formulas/ssf
|
||||||
|
/postgres/libtofs.jinja @saltstack-formulas/ssf
|
||||||
|
/test/integration/**/inspec.yml @saltstack-formulas/ssf
|
||||||
|
/test/integration/**/README.md @saltstack-formulas/ssf
|
||||||
|
/.gitignore @saltstack-formulas/ssf
|
||||||
|
/.cirrus.yml @saltstack-formulas/ssf
|
||||||
|
/.rubocop.yml @saltstack-formulas/ssf
|
||||||
|
/.salt-lint @saltstack-formulas/ssf
|
||||||
|
/.travis.yml @saltstack-formulas/ssf
|
||||||
|
/.yamllint @saltstack-formulas/ssf
|
||||||
|
/AUTHORS.md @saltstack-formulas/ssf
|
||||||
|
/CHANGELOG.md @saltstack-formulas/ssf
|
||||||
|
/CODEOWNERS @saltstack-formulas/ssf
|
||||||
|
/commitlint.config.js @saltstack-formulas/ssf
|
||||||
|
/FORMULA @saltstack-formulas/ssf
|
||||||
|
/Gemfile @saltstack-formulas/ssf
|
||||||
|
/Gemfile.lock @saltstack-formulas/ssf
|
||||||
|
/kitchen.yml @saltstack-formulas/ssf
|
||||||
|
/pre-commit_semantic-release.sh @saltstack-formulas/ssf
|
||||||
|
/release-rules.js @saltstack-formulas/ssf
|
||||||
|
/release.config.js @saltstack-formulas/ssf
|
||||||
|
|
||||||
|
# SECTION: Owner(s) for specific files
|
||||||
|
# FILE PATTERN OWNER(S)
|
||||||
2
FORMULA
2
FORMULA
@@ -1,7 +1,7 @@
|
|||||||
name: postgres
|
name: postgres
|
||||||
os: Debian, Ubuntu, Raspbian, RedHat, Fedora, CentOS, Suse, openSUSE, Gentoo, Funtoo, Arch, Manjaro, Alpine, FreeBSD, OpenBSD, Solaris, SmartOS, Windows, MacOS
|
os: Debian, Ubuntu, Raspbian, RedHat, Fedora, CentOS, Suse, openSUSE, Gentoo, Funtoo, Arch, Manjaro, Alpine, FreeBSD, OpenBSD, Solaris, SmartOS, Windows, MacOS
|
||||||
os_family: Debian, RedHat, Suse, Gentoo, Arch, Alpine, FreeBSD, OpenBSD, Solaris, Windows, MacOS
|
os_family: Debian, RedHat, Suse, Gentoo, Arch, Alpine, FreeBSD, OpenBSD, Solaris, Windows, MacOS
|
||||||
version: 0.41.0
|
version: 0.41.3
|
||||||
release: 1
|
release: 1
|
||||||
minimum_version: 2016.11
|
minimum_version: 2016.11
|
||||||
summary: Postgres formula
|
summary: Postgres formula
|
||||||
|
|||||||
8
Gemfile
8
Gemfile
@@ -5,7 +5,7 @@ source 'https://rubygems.org'
|
|||||||
gem 'kitchen-docker', '>= 2.9'
|
gem 'kitchen-docker', '>= 2.9'
|
||||||
gem 'kitchen-inspec', '>= 1.1'
|
gem 'kitchen-inspec', '>= 1.1'
|
||||||
gem 'kitchen-salt', '>= 0.6.0'
|
gem 'kitchen-salt', '>= 0.6.0'
|
||||||
# Latest versions of `train` cause failure when running `kitchen verify`
|
|
||||||
# Downgrading to `3.2.0` until this is fixed upstream
|
group :vagrant do
|
||||||
# https://github.com/inspec/train/pull/544#issuecomment-566055052
|
gem 'kitchen-vagrant'
|
||||||
gem 'train', '3.2.0'
|
end
|
||||||
|
|||||||
534
Gemfile.lock
Normal file
534
Gemfile.lock
Normal file
@@ -0,0 +1,534 @@
|
|||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
activesupport (5.2.4.3)
|
||||||
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
|
i18n (>= 0.7, < 2)
|
||||||
|
minitest (~> 5.1)
|
||||||
|
tzinfo (~> 1.1)
|
||||||
|
addressable (2.7.0)
|
||||||
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
|
aws-eventstream (1.1.0)
|
||||||
|
aws-partitions (1.338.0)
|
||||||
|
aws-sdk-apigateway (1.48.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-apigatewayv2 (1.23.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-athena (1.30.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-autoscaling (1.22.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.52.1)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-budgets (1.32.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudformation (1.41.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudfront (1.33.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudhsm (1.24.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudhsmv2 (1.26.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudtrail (1.26.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudwatch (1.41.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudwatchlogs (1.34.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-codecommit (1.37.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-codedeploy (1.34.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-codepipeline (1.34.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-configservice (1.48.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-core (3.103.0)
|
||||||
|
aws-eventstream (~> 1, >= 1.0.2)
|
||||||
|
aws-partitions (~> 1, >= 1.239.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
jmespath (~> 1.0)
|
||||||
|
aws-sdk-costandusagereportservice (1.24.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-dynamodb (1.51.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-ec2 (1.174.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-ecr (1.34.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-ecs (1.67.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-efs (1.32.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-eks (1.39.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-elasticache (1.40.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-elasticbeanstalk (1.34.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-elasticloadbalancing (1.25.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-elasticloadbalancingv2 (1.47.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-elasticsearchservice (1.39.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-firehose (1.31.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-iam (1.43.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-kafka (1.23.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-kinesis (1.26.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-kms (1.36.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-lambda (1.46.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-organizations (1.17.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.39.0)
|
||||||
|
aws-sigv4 (~> 1.0)
|
||||||
|
aws-sdk-rds (1.92.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-redshift (1.46.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-route53 (1.40.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-route53domains (1.25.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-route53resolver (1.17.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-s3 (1.73.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.102.1)
|
||||||
|
aws-sdk-kms (~> 1)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-securityhub (1.29.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-ses (1.33.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-sms (1.23.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-sns (1.27.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-sqs (1.30.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-ssm (1.84.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.99.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sigv4 (1.2.1)
|
||||||
|
aws-eventstream (~> 1, >= 1.0.2)
|
||||||
|
azure_graph_rbac (0.17.2)
|
||||||
|
ms_rest_azure (~> 0.12.0)
|
||||||
|
azure_mgmt_key_vault (0.17.6)
|
||||||
|
ms_rest_azure (~> 0.12.0)
|
||||||
|
azure_mgmt_resources (0.17.9)
|
||||||
|
ms_rest_azure (~> 0.12.0)
|
||||||
|
azure_mgmt_security (0.18.2)
|
||||||
|
ms_rest_azure (~> 0.12.0)
|
||||||
|
azure_mgmt_storage (0.21.2)
|
||||||
|
ms_rest_azure (~> 0.12.0)
|
||||||
|
bcrypt_pbkdf (1.0.1)
|
||||||
|
builder (3.2.4)
|
||||||
|
chef-config (16.2.73)
|
||||||
|
addressable
|
||||||
|
chef-utils (= 16.2.73)
|
||||||
|
fuzzyurl
|
||||||
|
mixlib-config (>= 2.2.12, < 4.0)
|
||||||
|
mixlib-shellout (>= 2.0, < 4.0)
|
||||||
|
tomlrb (~> 1.2)
|
||||||
|
chef-telemetry (1.0.8)
|
||||||
|
chef-config
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
ffi-yajl (~> 2.2)
|
||||||
|
chef-utils (16.2.73)
|
||||||
|
coderay (1.1.3)
|
||||||
|
concurrent-ruby (1.1.6)
|
||||||
|
declarative (0.0.20)
|
||||||
|
declarative-option (0.1.0)
|
||||||
|
diff-lcs (1.4.4)
|
||||||
|
docker-api (1.34.2)
|
||||||
|
excon (>= 0.47.0)
|
||||||
|
multi_json
|
||||||
|
domain_name (0.5.20190701)
|
||||||
|
unf (>= 0.0.5, < 1.0.0)
|
||||||
|
ecma-re-validator (0.2.1)
|
||||||
|
regexp_parser (~> 1.2)
|
||||||
|
ed25519 (1.2.4)
|
||||||
|
equatable (0.6.1)
|
||||||
|
erubi (1.9.0)
|
||||||
|
excon (0.75.0)
|
||||||
|
faraday (0.17.3)
|
||||||
|
multipart-post (>= 1.2, < 3)
|
||||||
|
faraday-cookie_jar (0.0.6)
|
||||||
|
faraday (>= 0.7.4)
|
||||||
|
http-cookie (~> 1.0.0)
|
||||||
|
faraday_middleware (0.12.2)
|
||||||
|
faraday (>= 0.7.4, < 1.0)
|
||||||
|
ffi (1.13.1)
|
||||||
|
ffi-yajl (2.3.3)
|
||||||
|
libyajl2 (~> 1.2)
|
||||||
|
fuzzyurl (0.9.0)
|
||||||
|
google-api-client (0.34.1)
|
||||||
|
addressable (~> 2.5, >= 2.5.1)
|
||||||
|
googleauth (~> 0.9)
|
||||||
|
httpclient (>= 2.8.1, < 3.0)
|
||||||
|
mini_mime (~> 1.0)
|
||||||
|
representable (~> 3.0)
|
||||||
|
retriable (>= 2.0, < 4.0)
|
||||||
|
signet (~> 0.12)
|
||||||
|
googleauth (0.10.0)
|
||||||
|
faraday (~> 0.12)
|
||||||
|
jwt (>= 1.4, < 3.0)
|
||||||
|
memoist (~> 0.16)
|
||||||
|
multi_json (~> 1.11)
|
||||||
|
os (>= 0.9, < 2.0)
|
||||||
|
signet (~> 0.12)
|
||||||
|
gssapi (1.3.0)
|
||||||
|
ffi (>= 1.0.1)
|
||||||
|
gyoku (1.3.1)
|
||||||
|
builder (>= 2.1.2)
|
||||||
|
hana (1.3.6)
|
||||||
|
hashie (3.6.0)
|
||||||
|
htmlentities (4.3.4)
|
||||||
|
http-cookie (1.0.3)
|
||||||
|
domain_name (~> 0.5)
|
||||||
|
httpclient (2.8.3)
|
||||||
|
i18n (1.8.3)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
inifile (3.0.0)
|
||||||
|
inspec (4.21.3)
|
||||||
|
faraday_middleware (~> 0.12.2)
|
||||||
|
inspec-core (= 4.21.3)
|
||||||
|
train (~> 3.0)
|
||||||
|
train-aws (~> 0.1)
|
||||||
|
train-habitat (~> 0.1)
|
||||||
|
train-winrm (~> 0.2)
|
||||||
|
inspec-core (4.21.3)
|
||||||
|
addressable (~> 2.4)
|
||||||
|
chef-telemetry (~> 1.0)
|
||||||
|
faraday (>= 0.9.0)
|
||||||
|
hashie (~> 3.4)
|
||||||
|
htmlentities (~> 4.3)
|
||||||
|
json_schemer (~> 0.2.1)
|
||||||
|
license-acceptance (>= 0.2.13, < 2.0)
|
||||||
|
method_source (>= 0.8, < 2.0)
|
||||||
|
mixlib-log (~> 3.0)
|
||||||
|
multipart-post (~> 2.0)
|
||||||
|
parallel (~> 1.9)
|
||||||
|
parslet (~> 1.5)
|
||||||
|
pry (~> 0.13)
|
||||||
|
rspec (~> 3.9)
|
||||||
|
rspec-its (~> 1.2)
|
||||||
|
rubyzip (~> 1.2, >= 1.2.2)
|
||||||
|
semverse (~> 3.0)
|
||||||
|
sslshake (~> 1.2)
|
||||||
|
term-ansicolor (~> 1.7)
|
||||||
|
thor (>= 0.20, < 2.0)
|
||||||
|
tomlrb (~> 1.2.0)
|
||||||
|
train-core (~> 3.0)
|
||||||
|
tty-prompt (~> 0.17)
|
||||||
|
tty-table (~> 0.10)
|
||||||
|
jmespath (1.4.0)
|
||||||
|
json (2.3.1)
|
||||||
|
json_schemer (0.2.11)
|
||||||
|
ecma-re-validator (~> 0.2)
|
||||||
|
hana (~> 1.3)
|
||||||
|
regexp_parser (~> 1.5)
|
||||||
|
uri_template (~> 0.7)
|
||||||
|
jwt (2.2.1)
|
||||||
|
kitchen-docker (2.10.0)
|
||||||
|
test-kitchen (>= 1.0.0)
|
||||||
|
kitchen-inspec (2.0.0)
|
||||||
|
hashie (~> 3.4)
|
||||||
|
inspec (>= 2.2.64, < 5.0)
|
||||||
|
test-kitchen (>= 1.6, < 3)
|
||||||
|
kitchen-salt (0.6.3)
|
||||||
|
hashie (>= 3.5)
|
||||||
|
test-kitchen (>= 1.4)
|
||||||
|
kitchen-vagrant (1.6.1)
|
||||||
|
test-kitchen (>= 1.4, < 3)
|
||||||
|
libyajl2 (1.2.0)
|
||||||
|
license-acceptance (1.0.19)
|
||||||
|
pastel (~> 0.7)
|
||||||
|
tomlrb (~> 1.2)
|
||||||
|
tty-box (~> 0.3)
|
||||||
|
tty-prompt (~> 0.18)
|
||||||
|
little-plugger (1.1.4)
|
||||||
|
logging (2.3.0)
|
||||||
|
little-plugger (~> 1.1)
|
||||||
|
multi_json (~> 1.14)
|
||||||
|
memoist (0.16.2)
|
||||||
|
method_source (1.0.0)
|
||||||
|
mini_mime (1.0.2)
|
||||||
|
minitest (5.14.1)
|
||||||
|
mixlib-config (3.0.6)
|
||||||
|
tomlrb
|
||||||
|
mixlib-install (3.12.1)
|
||||||
|
mixlib-shellout
|
||||||
|
mixlib-versioning
|
||||||
|
thor
|
||||||
|
mixlib-log (3.0.8)
|
||||||
|
mixlib-shellout (3.0.9)
|
||||||
|
mixlib-versioning (1.2.12)
|
||||||
|
ms_rest (0.7.6)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
faraday (>= 0.9, < 2.0.0)
|
||||||
|
timeliness (~> 0.3.10)
|
||||||
|
ms_rest_azure (0.12.0)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
faraday (>= 0.9, < 2.0.0)
|
||||||
|
faraday-cookie_jar (~> 0.0.6)
|
||||||
|
ms_rest (~> 0.7.6)
|
||||||
|
multi_json (1.14.1)
|
||||||
|
multipart-post (2.1.1)
|
||||||
|
necromancer (0.5.1)
|
||||||
|
net-scp (3.0.0)
|
||||||
|
net-ssh (>= 2.6.5, < 7.0.0)
|
||||||
|
net-ssh (6.1.0)
|
||||||
|
net-ssh-gateway (2.0.0)
|
||||||
|
net-ssh (>= 4.0.0)
|
||||||
|
nori (2.6.0)
|
||||||
|
os (1.1.0)
|
||||||
|
parallel (1.19.2)
|
||||||
|
parslet (1.8.2)
|
||||||
|
pastel (0.7.4)
|
||||||
|
equatable (~> 0.6)
|
||||||
|
tty-color (~> 0.5)
|
||||||
|
pry (0.13.1)
|
||||||
|
coderay (~> 1.1)
|
||||||
|
method_source (~> 1.0)
|
||||||
|
public_suffix (4.0.5)
|
||||||
|
regexp_parser (1.7.1)
|
||||||
|
representable (3.0.4)
|
||||||
|
declarative (< 0.1.0)
|
||||||
|
declarative-option (< 0.2.0)
|
||||||
|
uber (< 0.2.0)
|
||||||
|
retriable (3.1.2)
|
||||||
|
rspec (3.9.0)
|
||||||
|
rspec-core (~> 3.9.0)
|
||||||
|
rspec-expectations (~> 3.9.0)
|
||||||
|
rspec-mocks (~> 3.9.0)
|
||||||
|
rspec-core (3.9.2)
|
||||||
|
rspec-support (~> 3.9.3)
|
||||||
|
rspec-expectations (3.9.2)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.9.0)
|
||||||
|
rspec-its (1.3.0)
|
||||||
|
rspec-core (>= 3.0.0)
|
||||||
|
rspec-expectations (>= 3.0.0)
|
||||||
|
rspec-mocks (3.9.1)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.9.0)
|
||||||
|
rspec-support (3.9.3)
|
||||||
|
rubyntlm (0.6.2)
|
||||||
|
rubyzip (1.3.0)
|
||||||
|
semverse (3.0.0)
|
||||||
|
signet (0.14.0)
|
||||||
|
addressable (~> 2.3)
|
||||||
|
faraday (>= 0.17.3, < 2.0)
|
||||||
|
jwt (>= 1.5, < 3.0)
|
||||||
|
multi_json (~> 1.10)
|
||||||
|
sslshake (1.3.1)
|
||||||
|
strings (0.1.8)
|
||||||
|
strings-ansi (~> 0.1)
|
||||||
|
unicode-display_width (~> 1.5)
|
||||||
|
unicode_utils (~> 1.4)
|
||||||
|
strings-ansi (0.2.0)
|
||||||
|
sync (0.5.0)
|
||||||
|
term-ansicolor (1.7.1)
|
||||||
|
tins (~> 1.0)
|
||||||
|
test-kitchen (2.5.2)
|
||||||
|
bcrypt_pbkdf (~> 1.0)
|
||||||
|
ed25519 (~> 1.2)
|
||||||
|
license-acceptance (~> 1.0, >= 1.0.11)
|
||||||
|
mixlib-install (~> 3.6)
|
||||||
|
mixlib-shellout (>= 1.2, < 4.0)
|
||||||
|
net-scp (>= 1.1, < 4.0)
|
||||||
|
net-ssh (>= 2.9, < 7.0)
|
||||||
|
net-ssh-gateway (>= 1.2, < 3.0)
|
||||||
|
thor (>= 0.19, < 2.0)
|
||||||
|
winrm (~> 2.0)
|
||||||
|
winrm-elevated (~> 1.0)
|
||||||
|
winrm-fs (~> 1.1)
|
||||||
|
thor (1.0.1)
|
||||||
|
thread_safe (0.3.6)
|
||||||
|
timeliness (0.3.10)
|
||||||
|
tins (1.25.0)
|
||||||
|
sync
|
||||||
|
tomlrb (1.2.9)
|
||||||
|
train (3.3.6)
|
||||||
|
activesupport (>= 5.2.4.3, < 6.0.0)
|
||||||
|
azure_graph_rbac (~> 0.16)
|
||||||
|
azure_mgmt_key_vault (~> 0.17)
|
||||||
|
azure_mgmt_resources (~> 0.15)
|
||||||
|
azure_mgmt_security (~> 0.18)
|
||||||
|
azure_mgmt_storage (~> 0.18)
|
||||||
|
docker-api (~> 1.26)
|
||||||
|
google-api-client (>= 0.23.9, < 0.35.0)
|
||||||
|
googleauth (>= 0.6.6, < 0.11.0)
|
||||||
|
inifile (~> 3.0)
|
||||||
|
train-core (= 3.3.6)
|
||||||
|
train-winrm (~> 0.2)
|
||||||
|
train-aws (0.1.17)
|
||||||
|
aws-sdk-apigateway (~> 1.0)
|
||||||
|
aws-sdk-apigatewayv2 (~> 1.0)
|
||||||
|
aws-sdk-athena (~> 1.0)
|
||||||
|
aws-sdk-autoscaling (~> 1.22.0)
|
||||||
|
aws-sdk-budgets (~> 1.0)
|
||||||
|
aws-sdk-cloudformation (~> 1.0)
|
||||||
|
aws-sdk-cloudfront (~> 1.0)
|
||||||
|
aws-sdk-cloudhsm (~> 1.0)
|
||||||
|
aws-sdk-cloudhsmv2 (~> 1.0)
|
||||||
|
aws-sdk-cloudtrail (~> 1.8)
|
||||||
|
aws-sdk-cloudwatch (~> 1.13)
|
||||||
|
aws-sdk-cloudwatchlogs (~> 1.13)
|
||||||
|
aws-sdk-codecommit (~> 1.0)
|
||||||
|
aws-sdk-codedeploy (~> 1.0)
|
||||||
|
aws-sdk-codepipeline (~> 1.0)
|
||||||
|
aws-sdk-configservice (~> 1.21)
|
||||||
|
aws-sdk-core (~> 3.0)
|
||||||
|
aws-sdk-costandusagereportservice (~> 1.6)
|
||||||
|
aws-sdk-dynamodb (~> 1.31)
|
||||||
|
aws-sdk-ec2 (~> 1.70)
|
||||||
|
aws-sdk-ecr (~> 1.18)
|
||||||
|
aws-sdk-ecs (~> 1.30)
|
||||||
|
aws-sdk-efs (~> 1.0)
|
||||||
|
aws-sdk-eks (~> 1.9)
|
||||||
|
aws-sdk-elasticache (~> 1.0)
|
||||||
|
aws-sdk-elasticbeanstalk (~> 1.0)
|
||||||
|
aws-sdk-elasticloadbalancing (~> 1.8)
|
||||||
|
aws-sdk-elasticloadbalancingv2 (~> 1.0)
|
||||||
|
aws-sdk-elasticsearchservice (~> 1.0)
|
||||||
|
aws-sdk-firehose (~> 1.0)
|
||||||
|
aws-sdk-iam (~> 1.13)
|
||||||
|
aws-sdk-kafka (~> 1.0)
|
||||||
|
aws-sdk-kinesis (~> 1.0)
|
||||||
|
aws-sdk-kms (~> 1.13)
|
||||||
|
aws-sdk-lambda (~> 1.0)
|
||||||
|
aws-sdk-organizations (~> 1.17.0)
|
||||||
|
aws-sdk-rds (~> 1.43)
|
||||||
|
aws-sdk-redshift (~> 1.0)
|
||||||
|
aws-sdk-route53 (~> 1.0)
|
||||||
|
aws-sdk-route53domains (~> 1.0)
|
||||||
|
aws-sdk-route53resolver (~> 1.0)
|
||||||
|
aws-sdk-s3 (~> 1.30)
|
||||||
|
aws-sdk-securityhub (~> 1.0)
|
||||||
|
aws-sdk-ses (~> 1.0)
|
||||||
|
aws-sdk-sms (~> 1.0)
|
||||||
|
aws-sdk-sns (~> 1.9)
|
||||||
|
aws-sdk-sqs (~> 1.10)
|
||||||
|
aws-sdk-ssm (~> 1.0)
|
||||||
|
train-core (3.3.6)
|
||||||
|
addressable (~> 2.5)
|
||||||
|
ffi (!= 1.13.0)
|
||||||
|
json (>= 1.8, < 3.0)
|
||||||
|
mixlib-shellout (>= 2.0, < 4.0)
|
||||||
|
net-scp (>= 1.2, < 4.0)
|
||||||
|
net-ssh (>= 2.9, < 7.0)
|
||||||
|
train-habitat (0.2.13)
|
||||||
|
train-winrm (0.2.6)
|
||||||
|
winrm (~> 2.0)
|
||||||
|
winrm-fs (~> 1.0)
|
||||||
|
tty-box (0.5.0)
|
||||||
|
pastel (~> 0.7.2)
|
||||||
|
strings (~> 0.1.6)
|
||||||
|
tty-cursor (~> 0.7)
|
||||||
|
tty-color (0.5.1)
|
||||||
|
tty-cursor (0.7.1)
|
||||||
|
tty-prompt (0.21.0)
|
||||||
|
necromancer (~> 0.5.0)
|
||||||
|
pastel (~> 0.7.0)
|
||||||
|
tty-reader (~> 0.7.0)
|
||||||
|
tty-reader (0.7.0)
|
||||||
|
tty-cursor (~> 0.7)
|
||||||
|
tty-screen (~> 0.7)
|
||||||
|
wisper (~> 2.0.0)
|
||||||
|
tty-screen (0.8.0)
|
||||||
|
tty-table (0.11.0)
|
||||||
|
equatable (~> 0.6)
|
||||||
|
necromancer (~> 0.5)
|
||||||
|
pastel (~> 0.7.2)
|
||||||
|
strings (~> 0.1.5)
|
||||||
|
tty-screen (~> 0.7)
|
||||||
|
tzinfo (1.2.7)
|
||||||
|
thread_safe (~> 0.1)
|
||||||
|
uber (0.1.0)
|
||||||
|
unf (0.1.4)
|
||||||
|
unf_ext
|
||||||
|
unf_ext (0.0.7.7)
|
||||||
|
unicode-display_width (1.7.0)
|
||||||
|
unicode_utils (1.4.0)
|
||||||
|
uri_template (0.7.0)
|
||||||
|
winrm (2.3.4)
|
||||||
|
builder (>= 2.1.2)
|
||||||
|
erubi (~> 1.8)
|
||||||
|
gssapi (~> 1.2)
|
||||||
|
gyoku (~> 1.0)
|
||||||
|
httpclient (~> 2.2, >= 2.2.0.2)
|
||||||
|
logging (>= 1.6.1, < 3.0)
|
||||||
|
nori (~> 2.0)
|
||||||
|
rubyntlm (~> 0.6.0, >= 0.6.1)
|
||||||
|
winrm-elevated (1.2.1)
|
||||||
|
erubi (~> 1.8)
|
||||||
|
winrm (~> 2.0)
|
||||||
|
winrm-fs (~> 1.0)
|
||||||
|
winrm-fs (1.3.3)
|
||||||
|
erubi (~> 1.8)
|
||||||
|
logging (>= 1.6.1, < 3.0)
|
||||||
|
rubyzip (~> 1.1)
|
||||||
|
winrm (~> 2.0)
|
||||||
|
wisper (2.0.1)
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
ruby
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
kitchen-docker (>= 2.9)
|
||||||
|
kitchen-inspec (>= 1.1)
|
||||||
|
kitchen-salt (>= 0.6.0)
|
||||||
|
kitchen-vagrant
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
2.1.2
|
||||||
@@ -15,7 +15,7 @@ This list is sorted by the number of commits per contributor in *descending* ord
|
|||||||
- Contributions
|
- Contributions
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/10231489?v=4' width='36' height='36' alt='@myii'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/10231489?v=4' width='36' height='36' alt='@myii'>`
|
||||||
- `@myii <https://github.com/myii>`_
|
- `@myii <https://github.com/myii>`_
|
||||||
- 97
|
- 123
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/13322818?v=4' width='36' height='36' alt='@noelmcloughlin'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/13322818?v=4' width='36' height='36' alt='@noelmcloughlin'>`
|
||||||
- `@noelmcloughlin <https://github.com/noelmcloughlin>`_
|
- `@noelmcloughlin <https://github.com/noelmcloughlin>`_
|
||||||
- 62
|
- 62
|
||||||
@@ -67,8 +67,8 @@ This list is sorted by the number of commits per contributor in *descending* ord
|
|||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/1920805?v=4' width='36' height='36' alt='@alxwr'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/1920805?v=4' width='36' height='36' alt='@alxwr'>`
|
||||||
- `@alxwr <https://github.com/alxwr>`_
|
- `@alxwr <https://github.com/alxwr>`_
|
||||||
- 5
|
- 5
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/74739?v=4' width='36' height='36' alt='@audreyr'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/74739?v=4' width='36' height='36' alt='@audreyfeldroy'>`
|
||||||
- `@audreyr <https://github.com/audreyr>`_
|
- `@audreyfeldroy <https://github.com/audreyfeldroy>`_
|
||||||
- 5
|
- 5
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/278900?v=4' width='36' height='36' alt='@blast-hardcheese'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/278900?v=4' width='36' height='36' alt='@blast-hardcheese'>`
|
||||||
- `@blast-hardcheese <https://github.com/blast-hardcheese>`_
|
- `@blast-hardcheese <https://github.com/blast-hardcheese>`_
|
||||||
@@ -166,9 +166,6 @@ This list is sorted by the number of commits per contributor in *descending* ord
|
|||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/2592431?v=4' width='36' height='36' alt='@RobRuana'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/2592431?v=4' width='36' height='36' alt='@RobRuana'>`
|
||||||
- `@RobRuana <https://github.com/RobRuana>`_
|
- `@RobRuana <https://github.com/RobRuana>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/3165500?v=4' width='36' height='36' alt='@rmartins90'>`
|
|
||||||
- `@rmartins90 <https://github.com/rmartins90>`_
|
|
||||||
- 1
|
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/10464711?v=4' width='36' height='36' alt='@sbrefort'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/10464711?v=4' width='36' height='36' alt='@sbrefort'>`
|
||||||
- `@sbrefort <https://github.com/sbrefort>`_
|
- `@sbrefort <https://github.com/sbrefort>`_
|
||||||
- 1
|
- 1
|
||||||
@@ -199,6 +196,9 @@ This list is sorted by the number of commits per contributor in *descending* ord
|
|||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/11394644?v=4' width='36' height='36' alt='@Strade288'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/11394644?v=4' width='36' height='36' alt='@Strade288'>`
|
||||||
- `@Strade288 <https://github.com/Strade288>`_
|
- `@Strade288 <https://github.com/Strade288>`_
|
||||||
- 1
|
- 1
|
||||||
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/46799934?v=4' width='36' height='36' alt='@sticky-note'>`
|
||||||
|
- `@sticky-note <https://github.com/sticky-note>`_
|
||||||
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/52996?v=4' width='36' height='36' alt='@daks'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/52996?v=4' width='36' height='36' alt='@daks'>`
|
||||||
- `@daks <https://github.com/daks>`_
|
- `@daks <https://github.com/daks>`_
|
||||||
- 1
|
- 1
|
||||||
@@ -206,4 +206,4 @@ This list is sorted by the number of commits per contributor in *descending* ord
|
|||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
Auto-generated by a `forked version <https://github.com/myii/maintainer>`_ of `gaocegege/maintainer <https://github.com/gaocegege/maintainer>`_ on 2019-12-27.
|
Auto-generated by a `forked version <https://github.com/myii/maintainer>`_ of `gaocegege/maintainer <https://github.com/gaocegege/maintainer>`_ on 2020-09-29.
|
||||||
|
|||||||
@@ -2,6 +2,70 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
`0.41.3 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.2...v0.41.3>`_ (2020-09-29)
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **upstream:** require_in/require use_upstream (\ `ab6b97e <https://github.com/saltstack-formulas/postgres-formula/commit/ab6b97e8c3ff40f9cb2e629c3c0faf09ca59ede9>`_\ )
|
||||||
|
|
||||||
|
`0.41.2 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.1...v0.41.2>`_ (2020-07-27)
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **macros:** fix ``format_kwargs`` macro (\ `5e6511b <https://github.com/saltstack-formulas/postgres-formula/commit/5e6511b783388930010e6c0795b197728fb10b39>`_\ )
|
||||||
|
|
||||||
|
Continuous Integration
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **kitchen:** ubuntu-2004-master-py3 added (\ `7978976 <https://github.com/saltstack-formulas/postgres-formula/commit/79789765439bb0727521dc817fe9eaebba000a67>`_\ )
|
||||||
|
* **kitchen+travis:** use latest pre-salted images [skip ci] (\ `702323c <https://github.com/saltstack-formulas/postgres-formula/commit/702323c24df1df6b11defd663b55cf38586bd3f3>`_\ )
|
||||||
|
* **travis:** ubuntu upgrade from 16 to 18 & 20 (\ `44568a6 <https://github.com/saltstack-formulas/postgres-formula/commit/44568a680602fb61f157b74dc05f9af9b153e8e6>`_\ )
|
||||||
|
|
||||||
|
Styles
|
||||||
|
^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **libtofs.jinja:** use Black-inspired Jinja formatting [skip ci] (\ `8735cf8 <https://github.com/saltstack-formulas/postgres-formula/commit/8735cf8ad1b9fc1eb816aecf3d363d4fc81fbe66>`_\ )
|
||||||
|
|
||||||
|
`0.41.1 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.0...v0.41.1>`_ (2020-07-10)
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **contributing:** postgresql-repo state ID requires python3-apt package (\ `69b57e3 <https://github.com/saltstack-formulas/postgres-formula/commit/69b57e3b69062d0b66bd9fb28e3769a9ff579faa>`_\ )
|
||||||
|
* **contributing:** postgresql-service-reload type (\ `278893c <https://github.com/saltstack-formulas/postgres-formula/commit/278893c2f0f3fa8db26b45b3874f7dd7177b714a>`_\ )
|
||||||
|
* **contributing:** runnig formula inside container (\ `68a791e <https://github.com/saltstack-formulas/postgres-formula/commit/68a791ef091114b081f71631d94201a9f1ed07b6>`_\ )
|
||||||
|
* **libtofs:** “files_switch” mess up the variable exported by “map.jinja” [skip ci] (\ `e6b1485 <https://github.com/saltstack-formulas/postgres-formula/commit/e6b14853d5ce2369ead22cabdfc48ae63f64e550>`_\ )
|
||||||
|
* **postgres.server:** reverted how posrgre.server.image is included (\ `07044bf <https://github.com/saltstack-formulas/postgres-formula/commit/07044bf7c1d420855b43d6add30358ff39666702>`_\ )
|
||||||
|
|
||||||
|
Continuous Integration
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **gemfile:** remove unused ``rspec-retry`` gem [skip ci] (\ `85feac2 <https://github.com/saltstack-formulas/postgres-formula/commit/85feac2852ee399f37293b60008e3a17d19cd47f>`_\ )
|
||||||
|
* **gemfile:** update for Vagrant testing [skip ci] (\ `061715e <https://github.com/saltstack-formulas/postgres-formula/commit/061715e560880a9a60720bbcbeda632c010d03a4>`_\ )
|
||||||
|
* **gemfile.lock:** add to repo with updated ``Gemfile`` [skip ci] (\ `35850da <https://github.com/saltstack-formulas/postgres-formula/commit/35850da22cb4f61144a61098b9869603b6e0a682>`_\ )
|
||||||
|
* **kitchen:** avoid using bootstrap for ``master`` instances [skip ci] (\ `86697d8 <https://github.com/saltstack-formulas/postgres-formula/commit/86697d8df48e24e37d6885f68ea8988d43b076aa>`_\ )
|
||||||
|
* **kitchen:** use ``saltimages`` Docker Hub where available [skip ci] (\ `5e29999 <https://github.com/saltstack-formulas/postgres-formula/commit/5e29999495f36653aa1b51f2baf956533fdee7e4>`_\ )
|
||||||
|
* **kitchen+travis:** remove ``master-py2-arch-base-latest`` [skip ci] (\ `c46053a <https://github.com/saltstack-formulas/postgres-formula/commit/c46053abd8019a4229daf19db1af86c5f8961353>`_\ )
|
||||||
|
* **travis:** add notifications => zulip [skip ci] (\ `442cfec <https://github.com/saltstack-formulas/postgres-formula/commit/442cfec245fb6b22d7768c8436ba6c62ca2975fd>`_\ )
|
||||||
|
* **workflows/commitlint:** add to repo [skip ci] (\ `0c766c8 <https://github.com/saltstack-formulas/postgres-formula/commit/0c766c8e2e336e31d44fdddf5f4c5e56faa9e40e>`_\ )
|
||||||
|
|
||||||
|
Documentation
|
||||||
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **container:** "postgres:bake_image" specifics (\ `904a525 <https://github.com/saltstack-formulas/postgres-formula/commit/904a5258cd155f3b5a83ec8dc8e990a8ffc6b798>`_\ )
|
||||||
|
|
||||||
`0.41.0 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.40.5...v0.41.0>`_ (2019-12-27)
|
`0.41.0 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.40.5...v0.41.0>`_ (2019-12-27)
|
||||||
-------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -83,31 +83,15 @@ packaged init script, job or unit.
|
|||||||
Further information: https://blog.tyk.nu/blog/freebsd-jails-and-sysv-ipc/
|
Further information: https://blog.tyk.nu/blog/freebsd-jails-and-sysv-ipc/
|
||||||
|
|
||||||
|
|
||||||
``postgres.server.image``
|
**Running inside a container** (using Packer, Docker or similar tools), when OS ``init`` process
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
is not available to start the service and enable it on "boot", set pillar value:
|
||||||
|
|
||||||
Installs the PostgreSQL server package on Linux, prepares the DB cluster and starts the server by issuing
|
|
||||||
raw ``pg_ctl`` command. The ``postgres:bake_image`` Pillar toggles this behaviour. For example:
|
|
||||||
|
|
||||||
.. code:: yaml
|
.. code:: yaml
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
bake_image: True
|
bake_image: True
|
||||||
|
|
||||||
If set ``True``, then it becomes possible to fully provision PostgreSQL with all supported entities
|
This toggles starting PostgreSQL daemon by issuing raw ``pg_ctl`` or ``pg_ctlcluster`` command.
|
||||||
from ``postgres.manage`` state during the build ("baking") of AMI / VM / Container images (using
|
|
||||||
Packer, Docker or similar tools), i.e. when OS ``init`` process is not available to start the
|
|
||||||
service and enable it on "boot" of resulting appliance.
|
|
||||||
|
|
||||||
Also it allows to make Docker images with PostgreSQL using functionality being available since Salt
|
|
||||||
2016.11.0 release:
|
|
||||||
|
|
||||||
.. code:: console
|
|
||||||
|
|
||||||
salt 'minion.with.docker' dockerng.sls_build my-postgres base=centos/systemd mods=postgres
|
|
||||||
|
|
||||||
If a lookup dictionary or Pillar has ``postgres:bake_image`` set ``False`` (this is default), it is
|
|
||||||
equivalent of applying ``postgres.server`` state.
|
|
||||||
|
|
||||||
``postgres.upstream``
|
``postgres.upstream``
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
184
kitchen.yml
184
kitchen.yml
@@ -14,147 +14,119 @@ platforms:
|
|||||||
## SALT `master`
|
## SALT `master`
|
||||||
- name: debian-10-master-py3
|
- name: debian-10-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-master-py3:debian-10
|
image: saltimages/salt-master-py3:debian-10
|
||||||
provision_command:
|
- name: ubuntu-2004-master-py3
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
driver:
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
|
image: saltimages/salt-master-py3:ubuntu-20.04
|
||||||
- name: ubuntu-1804-master-py3
|
- name: ubuntu-1804-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-master-py3:ubuntu-18.04
|
image: saltimages/salt-master-py3:ubuntu-18.04
|
||||||
provision_command:
|
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
|
|
||||||
- name: centos-8-master-py3
|
- name: centos-8-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-master-py3:centos-8
|
image: saltimages/salt-master-py3:centos-8
|
||||||
provision_command:
|
- name: fedora-32-master-py3
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
driver:
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
|
image: saltimages/salt-master-py3:fedora-32
|
||||||
- name: fedora-31-master-py3
|
- name: fedora-31-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-master-py3:fedora-31
|
image: saltimages/salt-master-py3:fedora-31
|
||||||
provision_command:
|
- name: opensuse-leap-152-master-py3
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
|
|
||||||
- name: opensuse-leap-151-master-py3
|
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-master-py3:opensuse-leap-15.1
|
image: saltimages/salt-master-py3:opensuse-leap-15.2
|
||||||
provision_command:
|
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
run_command: /usr/lib/systemd/systemd
|
||||||
# Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
transport:
|
transport:
|
||||||
max_ssh_sessions: 1
|
max_ssh_sessions: 1
|
||||||
# Use the `develop` image temporarily until the `master` image is available
|
- name: amazonlinux-2-master-py3
|
||||||
# Not changing the name to minimise disruption across all of the formulas
|
|
||||||
- name: amazonlinux-2-master-py2
|
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-develop-py2:amazonlinux-2
|
image: saltimages/salt-master-py3:amazonlinux-2
|
||||||
provision_command:
|
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
## SALT `3000.3`
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
|
- name: debian-10-3000-3-py3
|
||||||
- name: arch-base-latest-master-py2
|
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-master-py2:arch-base-latest
|
image: saltimages/salt-3000.3-py3:debian-10
|
||||||
provision_command:
|
- name: debian-9-3000-3-py3
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
driver:
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python2 git master
|
image: saltimages/salt-3000.3-py3:debian-9
|
||||||
|
- name: ubuntu-1804-3000-3-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.3-py3:ubuntu-18.04
|
||||||
|
- name: centos-8-3000-3-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.3-py3:centos-8
|
||||||
|
- name: centos-7-3000-3-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.3-py3:centos-7
|
||||||
|
- name: fedora-31-3000-3-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.3-py3:fedora-31
|
||||||
|
- name: opensuse-leap-152-3000-3-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.3-py3:opensuse-leap-15.2
|
||||||
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
|
||||||
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
|
transport:
|
||||||
|
max_ssh_sessions: 1
|
||||||
|
- name: amazonlinux-2-3000-3-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.3-py3:amazonlinux-2
|
||||||
|
- name: ubuntu-1804-3000-3-py2
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.3-py2:ubuntu-18.04
|
||||||
|
- name: ubuntu-1604-3000-3-py2
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.3-py2:ubuntu-16.04
|
||||||
|
- name: arch-base-latest-3000-3-py2
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.3-py2:arch-base-latest
|
||||||
run_command: /usr/lib/systemd/systemd
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
## SALT `2019.2`
|
## SALT `2019.2`
|
||||||
- name: debian-10-2019-2-py3
|
- name: debian-10-2019-2-py3
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2019.2-py3:debian-10
|
image: saltimages/salt-2019.2-py3:debian-10
|
||||||
- name: debian-9-2019-2-py3
|
- name: debian-9-2019-2-py3
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2019.2-py3:debian-9
|
image: saltimages/salt-2019.2-py3:debian-9
|
||||||
- name: ubuntu-1804-2019-2-py3
|
- name: ubuntu-1804-2019-2-py3
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2019.2-py3:ubuntu-18.04
|
image: saltimages/salt-2019.2-py3:ubuntu-18.04
|
||||||
|
- name: ubuntu-1604-2019-2-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-2019.2-py3:ubuntu-16.04
|
||||||
- name: centos-8-2019-2-py3
|
- name: centos-8-2019-2-py3
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2019.2-py3:centos-8
|
image: saltimages/salt-2019.2-py3:centos-8
|
||||||
|
- name: centos-7-2019-2-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-2019.2-py3:centos-7
|
||||||
- name: fedora-31-2019-2-py3
|
- name: fedora-31-2019-2-py3
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2019.2-py3:fedora-31
|
image: saltimages/salt-2019.2-py3:fedora-31
|
||||||
- name: opensuse-leap-151-2019-2-py3
|
- name: opensuse-leap-152-2019-2-py3
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2019.2-py3:opensuse-leap-15.1
|
image: saltimages/salt-2019.2-py3:opensuse-leap-15.2
|
||||||
run_command: /usr/lib/systemd/systemd
|
run_command: /usr/lib/systemd/systemd
|
||||||
# Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
transport:
|
transport:
|
||||||
max_ssh_sessions: 1
|
max_ssh_sessions: 1
|
||||||
- name: centos-7-2019-2-py2
|
- name: amazonlinux-2-2019-2-py3
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2019.2-py2:centos-7
|
image: saltimages/salt-2019.2-py3:amazonlinux-2
|
||||||
- name: amazonlinux-2-2019-2-py2
|
- name: centos-6-2019-2-py2
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2019.2-py2:amazonlinux-2
|
image: saltimages/salt-2019.2-py2:centos-6
|
||||||
|
run_command: /sbin/init
|
||||||
|
- name: amazonlinux-1-2019-2-py2
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-2019.2-py2:amazonlinux-1
|
||||||
|
run_command: /sbin/init
|
||||||
- name: arch-base-latest-2019-2-py2
|
- name: arch-base-latest-2019-2-py2
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2019.2-py2:arch-base-latest
|
image: saltimages/salt-2019.2-py2:arch-base-latest
|
||||||
run_command: /usr/lib/systemd/systemd
|
|
||||||
|
|
||||||
## SALT `2018.3`
|
|
||||||
- name: fedora-30-2018-3-py3
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2018.3-py3:fedora-30
|
|
||||||
- name: debian-9-2018-3-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2018.3-py2:debian-9
|
|
||||||
- name: ubuntu-1604-2018-3-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2018.3-py2:ubuntu-16.04
|
|
||||||
- name: centos-7-2018-3-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2018.3-py2:centos-7
|
|
||||||
- name: opensuse-leap-151-2018-3-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2018.3-py2:opensuse-leap-15.1
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
|
||||||
# Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
|
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
|
||||||
transport:
|
|
||||||
max_ssh_sessions: 1
|
|
||||||
- name: amazonlinux-2-2018-3-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2018.3-py2:amazonlinux-2
|
|
||||||
- name: arch-base-latest-2018-3-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2018.3-py2:arch-base-latest
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
|
||||||
|
|
||||||
## SALT `2017.7`
|
|
||||||
- name: debian-8-2017-7-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2017.7-py2:debian-8
|
|
||||||
- name: ubuntu-1604-2017-7-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2017.7-py2:ubuntu-16.04
|
|
||||||
- name: centos-6-2017-7-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2017.7-py2:centos-6
|
|
||||||
run_command: /sbin/init
|
|
||||||
- name: fedora-30-2017-7-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2017.7-py2:fedora-30
|
|
||||||
- name: opensuse-leap-151-2017-7-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2017.7-py2:opensuse-leap-15.1
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
|
||||||
# Workaround to avoid intermittent failures on `opensuse-leap-15.1`:
|
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
|
||||||
transport:
|
|
||||||
max_ssh_sessions: 1
|
|
||||||
- name: amazonlinux-2-2017-7-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2017.7-py2:amazonlinux-2
|
|
||||||
- name: arch-base-latest-2017-7-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2017.7-py2:arch-base-latest
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
provisioner:
|
provisioner:
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
prepare_cluster:
|
prepare_cluster:
|
||||||
pgcommand: pg_createcluster {{ version }} {{ cluster_name }} -d
|
pgcommand: pg_createcluster {{ version }} {{ cluster_name }} -d
|
||||||
user: root
|
user: root
|
||||||
|
bake_image_run_cmd: pg_ctlcluster {{ version }} {{ cluster_name }} start
|
||||||
|
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ postgres:
|
|||||||
version: '10'
|
version: '10'
|
||||||
pkg: postgresql
|
pkg: postgresql
|
||||||
pkgs_extra: []
|
pkgs_extra: []
|
||||||
|
pkgs_deps: []
|
||||||
pkg_client: postgresql-client
|
pkg_client: postgresql-client
|
||||||
pkg_dev: postgresql-devel
|
pkg_dev: postgresql-devel
|
||||||
pkg_dev_deps: []
|
pkg_dev_deps: []
|
||||||
@@ -76,6 +77,7 @@ postgres:
|
|||||||
sysrc: false
|
sysrc: false
|
||||||
|
|
||||||
bake_image: false
|
bake_image: false
|
||||||
|
bake_image_run_cmd: pg_ctl start
|
||||||
|
|
||||||
fromrepo: ''
|
fromrepo: ''
|
||||||
|
|
||||||
|
|||||||
@@ -1,40 +1,37 @@
|
|||||||
{%- macro files_switch(source_files,
|
{%- macro files_switch(
|
||||||
|
source_files,
|
||||||
lookup=None,
|
lookup=None,
|
||||||
default_files_switch=['id', 'os_family'],
|
default_files_switch=["id", "os_family"],
|
||||||
indent_width=6,
|
indent_width=6,
|
||||||
use_subpath=False) %}
|
use_subpath=False
|
||||||
{#-
|
) %}
|
||||||
|
{#-
|
||||||
Returns a valid value for the "source" parameter of a "file.managed"
|
Returns a valid value for the "source" parameter of a "file.managed"
|
||||||
state function. This makes easier the usage of the Template Override and
|
state function. This makes easier the usage of the Template Override and
|
||||||
Files Switch (TOFS) pattern.
|
Files Switch (TOFS) pattern.
|
||||||
|
|
||||||
Params:
|
Params:
|
||||||
* source_files: ordered list of files to look for
|
* source_files: ordered list of files to look for
|
||||||
* lookup: key under '<tplroot>:tofs:source_files' to prepend to the
|
* lookup: key under "<tplroot>:tofs:source_files" to prepend to the
|
||||||
list of source files
|
list of source files
|
||||||
* default_files_switch: if there's no config (e.g. pillar)
|
* default_files_switch: if there's no config (e.g. pillar)
|
||||||
'<tplroot>:tofs:files_switch' this is the ordered list of grains to
|
"<tplroot>:tofs:files_switch" this is the ordered list of grains to
|
||||||
use as selector switch of the directories under
|
use as selector switch of the directories under
|
||||||
"<path_prefix>/files"
|
"<path_prefix>/files"
|
||||||
* indent_witdh: indentation of the result value to conform to YAML
|
* indent_width: indentation of the result value to conform to YAML
|
||||||
* use_subpath: defaults to `False` but if set, lookup the source file
|
* use_subpath: defaults to `False` but if set, lookup the source file
|
||||||
recursively from the current state directory up to `tplroot`
|
recursively from the current state directory up to `tplroot`
|
||||||
|
|
||||||
Example (based on a `tplroot` of `xxx`):
|
Example (based on a `tplroot` of `xxx`):
|
||||||
|
|
||||||
If we have a state:
|
If we have a state:
|
||||||
|
|
||||||
Deploy configuration:
|
Deploy configuration:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /etc/yyy/zzz.conf
|
- name: /etc/yyy/zzz.conf
|
||||||
- source: {{ files_switch(['/etc/yyy/zzz.conf', '/etc/yyy/zzz.conf.jinja'],
|
- source: {{ files_switch(
|
||||||
lookup='Deploy configuration'
|
["/etc/yyy/zzz.conf", "/etc/yyy/zzz.conf.jinja"],
|
||||||
|
lookup="Deploy configuration",
|
||||||
) }}
|
) }}
|
||||||
- template: jinja
|
- template: jinja
|
||||||
|
|
||||||
In a minion with id=theminion and os_family=RedHat, it's going to be
|
In a minion with id=theminion and os_family=RedHat, it's going to be
|
||||||
rendered as:
|
rendered as:
|
||||||
|
|
||||||
Deploy configuration:
|
Deploy configuration:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /etc/yyy/zzz.conf
|
- name: /etc/yyy/zzz.conf
|
||||||
@@ -46,67 +43,73 @@
|
|||||||
- salt://xxx/files/default/etc/yyy/zzz.conf
|
- salt://xxx/files/default/etc/yyy/zzz.conf
|
||||||
- salt://xxx/files/default/etc/yyy/zzz.conf.jinja
|
- salt://xxx/files/default/etc/yyy/zzz.conf.jinja
|
||||||
- template: jinja
|
- template: jinja
|
||||||
#}
|
#}
|
||||||
{#- Get the `tplroot` from `tpldir` #}
|
{#- Get the `tplroot` from `tpldir` #}
|
||||||
{%- set tplroot = tpldir.split('/')[0] %}
|
{%- set tplroot = tpldir.split("/")[0] %}
|
||||||
{%- set path_prefix = salt['config.get'](tplroot ~ ':tofs:path_prefix', tplroot) %}
|
{%- set path_prefix = salt["config.get"](tplroot ~ ":tofs:path_prefix", tplroot) %}
|
||||||
{%- set files_dir = salt['config.get'](tplroot ~ ':tofs:dirs:files', 'files') %}
|
{%- set files_dir = salt["config.get"](tplroot ~ ":tofs:dirs:files", "files") %}
|
||||||
{%- set files_switch_list = salt['config.get'](
|
{%- set files_switch_list = salt["config.get"](
|
||||||
tplroot ~ ':tofs:files_switch',
|
tplroot ~ ":tofs:files_switch", default_files_switch
|
||||||
default_files_switch
|
|
||||||
) %}
|
) %}
|
||||||
{#- Lookup source_files (v2), files (v1), or fallback to an empty list #}
|
{#- Lookup source_files (v2), files (v1), or fallback to an empty list #}
|
||||||
{%- set src_files = salt['config.get'](
|
{%- set src_files = salt["config.get"](
|
||||||
tplroot ~ ':tofs:source_files:' ~ lookup,
|
tplroot ~ ":tofs:source_files:" ~ lookup,
|
||||||
salt['config.get'](tplroot ~ ':tofs:files:' ~ lookup, [])
|
salt["config.get"](tplroot ~ ":tofs:files:" ~ lookup, []),
|
||||||
) %}
|
) %}
|
||||||
{#- Append the default source_files #}
|
{#- Append the default source_files #}
|
||||||
{%- set src_files = src_files + source_files %}
|
{%- set src_files = src_files + source_files %}
|
||||||
{#- Only add to [''] when supporting older TOFS implementations #}
|
{#- Only add to [""] when supporting older TOFS implementations #}
|
||||||
{%- set path_prefix_exts = [''] %}
|
{%- set path_prefix_exts = [""] %}
|
||||||
{%- if use_subpath and tplroot != tpldir %}
|
{%- if use_subpath and tplroot != tpldir %}
|
||||||
{#- Walk directory tree to find {{ files_dir }} #}
|
{#- Walk directory tree to find {{ files_dir }} #}
|
||||||
{%- set subpath_parts = tpldir.lstrip(tplroot).lstrip('/').split('/') %}
|
{%- set subpath_parts = tpldir.lstrip(tplroot).lstrip("/").split("/") %}
|
||||||
{%- for path in subpath_parts %}
|
{%- for path in subpath_parts %}
|
||||||
{%- set subpath = subpath_parts[0:loop.index] | join('/') %}
|
{%- set subpath = subpath_parts[0 : loop.index] | join("/") %}
|
||||||
{%- do path_prefix_exts.append('/' ~ subpath) %}
|
{%- do path_prefix_exts.append("/" ~ subpath) %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- for path_prefix_ext in path_prefix_exts|reverse %}
|
{%- for path_prefix_ext in path_prefix_exts | reverse %}
|
||||||
{%- set path_prefix_inc_ext = path_prefix ~ path_prefix_ext %}
|
{%- set path_prefix_inc_ext = path_prefix ~ path_prefix_ext %}
|
||||||
{#- For older TOFS implementation, use `files_switch` from the config #}
|
{#- For older TOFS implementation, use `files_switch` from the config #}
|
||||||
{#- Use the default, new method otherwise #}
|
{#- Use the default, new method otherwise #}
|
||||||
{%- set fsl = salt['config.get'](
|
{%- set fsl = salt["config.get"](
|
||||||
tplroot ~ path_prefix_ext|replace('/', ':') ~ ':files_switch',
|
tplroot ~ path_prefix_ext | replace("/", ":") ~ ":files_switch",
|
||||||
files_switch_list
|
files_switch_list,
|
||||||
|
) %}
|
||||||
|
{#- Append an empty value to evaluate as `default` in the loop below #}
|
||||||
|
{%- if "" not in fsl %}
|
||||||
|
{%- set fsl = fsl + [""] %}
|
||||||
|
{%- endif %}
|
||||||
|
{%- for fs in fsl %}
|
||||||
|
{%- for src_file in src_files %}
|
||||||
|
{%- if fs %}
|
||||||
|
{%- set fs_dirs = salt["config.get"](fs, fs) %}
|
||||||
|
{%- else %}
|
||||||
|
{%- set fs_dirs = salt["config.get"](
|
||||||
|
tplroot ~ ":tofs:dirs:default", "default"
|
||||||
|
) %}
|
||||||
|
{%- endif %}
|
||||||
|
{#- Force the `config.get` lookup result as a list where necessary #}
|
||||||
|
{#- since we need to also handle grains that are lists #}
|
||||||
|
{%- if fs_dirs is string %}
|
||||||
|
{%- set fs_dirs = [fs_dirs] %}
|
||||||
|
{%- endif %}
|
||||||
|
{%- for fs_dir in fs_dirs %}
|
||||||
|
{#- strip empty elements by using a select #}
|
||||||
|
{%- set url = (
|
||||||
|
[
|
||||||
|
"- salt:/",
|
||||||
|
path_prefix_inc_ext.strip("/"),
|
||||||
|
files_dir.strip("/"),
|
||||||
|
fs_dir.strip("/"),
|
||||||
|
src_file.strip("/"),
|
||||||
|
]
|
||||||
|
| select
|
||||||
|
| join("/")
|
||||||
) %}
|
) %}
|
||||||
{#- Append an empty value to evaluate as `default` in the loop below #}
|
|
||||||
{%- if '' not in fsl %}
|
|
||||||
{%- do fsl.append('') %}
|
|
||||||
{%- endif %}
|
|
||||||
{%- for fs in fsl %}
|
|
||||||
{%- for src_file in src_files %}
|
|
||||||
{%- if fs %}
|
|
||||||
{%- set fs_dirs = salt['config.get'](fs, fs) %}
|
|
||||||
{%- else %}
|
|
||||||
{%- set fs_dirs = salt['config.get'](tplroot ~ ':tofs:dirs:default', 'default') %}
|
|
||||||
{%- endif %}
|
|
||||||
{#- Force the `config.get` lookup result as a list where necessary #}
|
|
||||||
{#- since we need to also handle grains that are lists #}
|
|
||||||
{%- if fs_dirs is string %}
|
|
||||||
{%- set fs_dirs = [fs_dirs] %}
|
|
||||||
{%- endif %}
|
|
||||||
{%- for fs_dir in fs_dirs %}
|
|
||||||
{%- set url = [
|
|
||||||
'- salt:/',
|
|
||||||
path_prefix_inc_ext.strip('/'),
|
|
||||||
files_dir.strip('/'),
|
|
||||||
fs_dir.strip('/'),
|
|
||||||
src_file.strip('/'),
|
|
||||||
] | select | join('/') %}
|
|
||||||
{{ url | indent(indent_width, true) }}
|
{{ url | indent(indent_width, true) }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{%- filter indent(4) %}
|
{%- filter indent(4) %}
|
||||||
{%- for k, v in kwarg|dictsort() %}
|
{%- for k, v in kwarg|dictsort() %}
|
||||||
- {{ k }}: {{ v }}
|
- {{ k }}: {{ v|yaml_dquote if v is string else v }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endfilter %}
|
{%- endfilter %}
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ Arch:
|
|||||||
pkg_dev: postgresql
|
pkg_dev: postgresql
|
||||||
|
|
||||||
Debian:
|
Debian:
|
||||||
|
pkgs_deps: ['python3-apt']
|
||||||
pkg_repo:
|
pkg_repo:
|
||||||
humanname: PostgreSQL Official Repository
|
humanname: PostgreSQL Official Repository
|
||||||
key_url: 'https://www.postgresql.org/media/keys/ACCC4CF8.asc'
|
key_url: 'https://www.postgresql.org/media/keys/ACCC4CF8.asc'
|
||||||
|
|||||||
@@ -5,20 +5,22 @@
|
|||||||
|
|
||||||
{%- if postgres.bake_image %}
|
{%- if postgres.bake_image %}
|
||||||
|
|
||||||
include:
|
|
||||||
- postgres.server
|
|
||||||
|
|
||||||
# An attempt to start PostgreSQL with `pg_ctl`
|
# An attempt to start PostgreSQL with `pg_ctl`
|
||||||
|
postgresql-running:
|
||||||
postgresql-start:
|
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: pg_ctl -D {{ postgres.data_dir }} -l logfile start
|
- name: {{ postgres.bake_image_run_cmd }}
|
||||||
- runas: {{ postgres.user }}
|
- runas: {{ postgres.user }}
|
||||||
- unless:
|
- unless:
|
||||||
- ps -p $(head -n 1 {{ postgres.data_dir }}/postmaster.pid) 2>/dev/null
|
- ps -p $(head -n 1 {{ postgres.data_dir }}/postmaster.pid) 2>/dev/null
|
||||||
- require:
|
- require:
|
||||||
- file: postgresql-pg_hba
|
- file: postgresql-pg_hba
|
||||||
|
|
||||||
|
postgresql-service-reload:
|
||||||
|
module.run:
|
||||||
|
- name: test.true
|
||||||
|
- require:
|
||||||
|
- cmd: postgresql-running
|
||||||
|
|
||||||
# Try to enable PostgreSQL in "manual" way
|
# Try to enable PostgreSQL in "manual" way
|
||||||
|
|
||||||
postgresql-enable:
|
postgresql-enable:
|
||||||
@@ -34,12 +36,6 @@ postgresql-enable:
|
|||||||
- name: 'true'
|
- name: 'true'
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
- require:
|
- require:
|
||||||
- cmd: postgresql-start
|
- cmd: postgresql-running
|
||||||
|
|
||||||
{%- else %}
|
|
||||||
|
|
||||||
postgresql-start:
|
|
||||||
test.show_notification:
|
|
||||||
- text: The 'postgres:bake_image' Pillar is disabled (set to 'False').
|
|
||||||
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|||||||
@@ -20,8 +20,6 @@ postgresql-server:
|
|||||||
- pkgs: {{ pkgs | json }}
|
- pkgs: {{ pkgs | json }}
|
||||||
{%- if postgres.use_upstream_repo == true %}
|
{%- if postgres.use_upstream_repo == true %}
|
||||||
- refresh: True
|
- refresh: True
|
||||||
- require:
|
|
||||||
- pkgrepo: postgresql-repo
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if postgres.fromrepo %}
|
{%- if postgres.fromrepo %}
|
||||||
- fromrepo: {{ postgres.fromrepo }}
|
- fromrepo: {{ postgres.fromrepo }}
|
||||||
|
|||||||
@@ -17,10 +17,19 @@ postgresql-profile:
|
|||||||
- defaults:
|
- defaults:
|
||||||
bin_dir: {{ postgres.bin_dir }}
|
bin_dir: {{ postgres.bin_dir }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
postgresql-pkg-deps:
|
||||||
|
pkg.installed:
|
||||||
|
- pkgs: {{ postgres.pkgs_deps }}
|
||||||
|
|
||||||
# Add upstream repository for your distro
|
# Add upstream repository for your distro
|
||||||
postgresql-repo:
|
postgresql-repo:
|
||||||
pkgrepo.managed:
|
pkgrepo.managed:
|
||||||
{{- format_kwargs(postgres.pkg_repo) }}
|
{{- format_kwargs(postgres.pkg_repo) }}
|
||||||
|
- require:
|
||||||
|
- pkg: postgresql-pkg-deps
|
||||||
|
- require_in:
|
||||||
|
- pkg: postgresql-server
|
||||||
|
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user