Compare commits
131 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47ada685df | ||
|
|
18d3df43ad | ||
|
|
a1837c24f1 | ||
|
|
2214096362 | ||
|
|
27473b9865 | ||
|
|
a6c81972a2 | ||
|
|
060c8df630 | ||
|
|
8a11bd679a | ||
|
|
1fa7c66b83 | ||
|
|
e9da40b570 | ||
|
|
24f92dd0ef | ||
|
|
f6bab93f27 | ||
|
|
d2efe082db | ||
|
|
fa14f63a0a | ||
|
|
216192dece | ||
|
|
f9b6f36f2b | ||
|
|
097d4e4bcf | ||
|
|
2de775be1e | ||
|
|
d16e91ceb0 | ||
|
|
b690bab978 | ||
|
|
288bea8fac | ||
|
|
92e0ad383c | ||
|
|
9e145be0ed | ||
|
|
1d34f8c56f | ||
|
|
45cc47d9f8 | ||
|
|
eb63ec85e0 | ||
|
|
809aaabdbc | ||
|
|
79feefa751 | ||
|
|
c97317c39f | ||
|
|
fd8f0e5db5 | ||
|
|
93bb123ea1 | ||
|
|
69812c1f62 | ||
|
|
42bb7f8cb8 | ||
|
|
01141d1116 | ||
|
|
0ee210c25f | ||
|
|
ed2d6884b1 | ||
|
|
2ebc9c11da | ||
|
|
fc53d977b3 | ||
|
|
cc43d1c90d | ||
|
|
23b1f18dba | ||
|
|
ce800b09cd | ||
|
|
ec5d66f94e | ||
|
|
26b223323f | ||
|
|
750d8aab7a | ||
|
|
7d46b273af | ||
|
|
f3e29a4652 | ||
|
|
476b15e326 | ||
|
|
6f04b3191c | ||
|
|
e976ee9c99 | ||
|
|
39be0b5dad | ||
|
|
e964c26a29 | ||
|
|
73c39aff5e | ||
|
|
53d1ac5994 | ||
|
|
61299186ff | ||
|
|
4c0f796f00 | ||
|
|
e84389dbb3 | ||
|
|
2615411ec0 | ||
|
|
062399fc16 | ||
|
|
a45673a878 | ||
|
|
f589e96824 | ||
|
|
44ac9ff9d4 | ||
|
|
0a6cf8fefa | ||
|
|
150926401e | ||
|
|
e4900b47a1 | ||
|
|
8b44c068fc | ||
|
|
d6a6444e0d | ||
|
|
3a955e0270 | ||
|
|
d6d1068395 | ||
|
|
b3f381e547 | ||
|
|
5b9de35c59 | ||
|
|
8332a5de2e | ||
|
|
7036f60e8c | ||
|
|
d3d86ba2b7 | ||
|
|
6f73123e18 | ||
|
|
f04d60a773 | ||
|
|
db1794b6bb | ||
|
|
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 | ||
|
|
9395aea4ea | ||
|
|
d145058343 | ||
|
|
d538798ee4 | ||
|
|
9cc95c0209 | ||
|
|
1392538665 | ||
|
|
a77bb06b18 | ||
|
|
0a2b63aba8 | ||
|
|
f0d12caac6 | ||
|
|
bd5959c60a | ||
|
|
8ce1ee4ecc | ||
|
|
c9a57aa96b | ||
|
|
20e5e46e10 | ||
|
|
ccaf4e5e37 | ||
|
|
f3ec66d5ed | ||
|
|
8080be6be3 |
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
|
||||||
41
.github/workflows/kitchen.vagrant.yml
vendored
Normal file
41
.github/workflows/kitchen.vagrant.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=yaml
|
||||||
|
---
|
||||||
|
name: 'Kitchen Vagrant (FreeBSD)'
|
||||||
|
'on': ['push', 'pull_request']
|
||||||
|
|
||||||
|
env:
|
||||||
|
KITCHEN_LOCAL_YAML: 'kitchen.vagrant.yml'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: 'macos-10.15'
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
instance:
|
||||||
|
- default-freebsd-130-master-py3
|
||||||
|
# - freebsd-130-master-py3
|
||||||
|
- default-freebsd-122-master-py3
|
||||||
|
# - freebsd-122-master-py3
|
||||||
|
- default-freebsd-114-master-py3
|
||||||
|
# - freebsd-114-master-py3
|
||||||
|
# - default-freebsd-130-3002-6-py3
|
||||||
|
# - default-freebsd-122-3002-6-py3
|
||||||
|
# - default-freebsd-114-3002-6-py3
|
||||||
|
steps:
|
||||||
|
- name: 'Check out code'
|
||||||
|
uses: 'actions/checkout@v2'
|
||||||
|
- name: 'Set up Bundler cache'
|
||||||
|
uses: 'actions/cache@v1'
|
||||||
|
with:
|
||||||
|
path: 'vendor/bundle'
|
||||||
|
key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}"
|
||||||
|
restore-keys: "${{ runner.os }}-gems-"
|
||||||
|
- name: 'Run Bundler'
|
||||||
|
run: |
|
||||||
|
ruby --version
|
||||||
|
bundle config path vendor/bundle
|
||||||
|
bundle install --jobs 4 --retry 3
|
||||||
|
- name: 'Run Test Kitchen'
|
||||||
|
run: 'bundle exec kitchen verify ${{ matrix.instance }}'
|
||||||
13
.gitignore
vendored
13
.gitignore
vendored
@@ -91,6 +91,9 @@ celerybeat-schedule
|
|||||||
venv/
|
venv/
|
||||||
ENV/
|
ENV/
|
||||||
|
|
||||||
|
# visual studio
|
||||||
|
.vs/
|
||||||
|
|
||||||
# Spyder project settings
|
# Spyder project settings
|
||||||
.spyderproject
|
.spyderproject
|
||||||
.spyproject
|
.spyproject
|
||||||
@@ -105,7 +108,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
|
||||||
@@ -120,3 +123,11 @@ docs/*.md
|
|||||||
Dockerfile.*_*
|
Dockerfile.*_*
|
||||||
ignore/
|
ignore/
|
||||||
tmp/
|
tmp/
|
||||||
|
|
||||||
|
# `salt-formula` -- Vagrant Specific files
|
||||||
|
.vagrant
|
||||||
|
top.sls
|
||||||
|
|
||||||
|
# `suricata-formula` -- Platform binaries
|
||||||
|
*.rpm
|
||||||
|
*.deb
|
||||||
|
|||||||
282
.gitlab-ci.yml
Normal file
282
.gitlab-ci.yml
Normal file
@@ -0,0 +1,282 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=yaml
|
||||||
|
---
|
||||||
|
###############################################################################
|
||||||
|
# Define all YAML node anchors
|
||||||
|
###############################################################################
|
||||||
|
.node_anchors:
|
||||||
|
# `only` (also used for `except` where applicable)
|
||||||
|
only_branch_master_parent_repo: &only_branch_master_parent_repo
|
||||||
|
- 'master@saltstack-formulas/postgres-formula'
|
||||||
|
# `stage`
|
||||||
|
stage_lint: &stage_lint 'lint'
|
||||||
|
stage_release: &stage_release 'release'
|
||||||
|
stage_test: &stage_test 'test'
|
||||||
|
# `image`
|
||||||
|
image_commitlint: &image_commitlint 'myii/ssf-commitlint:11'
|
||||||
|
image_dindruby: &image_dindruby 'myii/ssf-dind-ruby:2.7.1-r3'
|
||||||
|
image_precommit: &image_precommit
|
||||||
|
name: 'myii/ssf-pre-commit:2.9.2'
|
||||||
|
entrypoint: ['/bin/bash', '-c']
|
||||||
|
image_rubocop: &image_rubocop 'pipelinecomponents/rubocop:latest'
|
||||||
|
image_semantic-release: &image_semanticrelease 'myii/ssf-semantic-release:15.14'
|
||||||
|
# `services`
|
||||||
|
services_docker_dind: &services_docker_dind
|
||||||
|
- 'docker:dind'
|
||||||
|
# `variables`
|
||||||
|
# https://forum.gitlab.com/t/gitlab-com-ci-caching-rubygems/5627/3
|
||||||
|
# https://bundler.io/v1.16/bundle_config.html
|
||||||
|
variables_bundler: &variables_bundler
|
||||||
|
BUNDLE_CACHE_PATH: '${CI_PROJECT_DIR}/.cache/bundler'
|
||||||
|
BUNDLE_WITHOUT: 'production'
|
||||||
|
# `cache`
|
||||||
|
cache_bundler: &cache_bundler
|
||||||
|
key: '${CI_JOB_STAGE}'
|
||||||
|
paths:
|
||||||
|
- '${BUNDLE_CACHE_PATH}'
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Define stages and global variables
|
||||||
|
###############################################################################
|
||||||
|
stages:
|
||||||
|
- *stage_lint
|
||||||
|
- *stage_test
|
||||||
|
- *stage_release
|
||||||
|
variables:
|
||||||
|
DOCKER_DRIVER: 'overlay2'
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# `lint` stage: `commitlint`, `pre-commit` & `rubocop` (latest, failure allowed)
|
||||||
|
###############################################################################
|
||||||
|
commitlint:
|
||||||
|
stage: *stage_lint
|
||||||
|
image: *image_commitlint
|
||||||
|
script:
|
||||||
|
# Add `upstream` remote to get access to `upstream/master`
|
||||||
|
- 'git remote add upstream
|
||||||
|
https://gitlab.com/saltstack-formulas/postgres-formula.git'
|
||||||
|
- 'git fetch --all'
|
||||||
|
# Set default commit hashes for `--from` and `--to`
|
||||||
|
- 'export COMMITLINT_FROM="$(git merge-base upstream/master HEAD)"'
|
||||||
|
- 'export COMMITLINT_TO="${CI_COMMIT_SHA}"'
|
||||||
|
# `coqbot` adds a merge commit to test PRs on top of the latest commit in
|
||||||
|
# the repo; amend this merge commit message to avoid failure
|
||||||
|
- |
|
||||||
|
if [ "${GITLAB_USER_LOGIN}" = "coqbot" ] \
|
||||||
|
&& [ "${CI_COMMIT_BRANCH}" != "master" ]; then
|
||||||
|
git commit --amend -m \
|
||||||
|
'chore: reword coqbot merge commit message for commitlint'
|
||||||
|
export COMMITLINT_TO=HEAD
|
||||||
|
fi
|
||||||
|
# Run `commitlint`
|
||||||
|
- 'commitlint --from "${COMMITLINT_FROM}"
|
||||||
|
--to "${COMMITLINT_TO}"
|
||||||
|
--verbose'
|
||||||
|
|
||||||
|
pre-commit:
|
||||||
|
stage: *stage_lint
|
||||||
|
image: *image_precommit
|
||||||
|
# https://pre-commit.com/#gitlab-ci-example
|
||||||
|
variables:
|
||||||
|
PRE_COMMIT_HOME: '${CI_PROJECT_DIR}/.cache/pre-commit'
|
||||||
|
cache:
|
||||||
|
key: '${CI_JOB_NAME}'
|
||||||
|
paths:
|
||||||
|
- '${PRE_COMMIT_HOME}'
|
||||||
|
script:
|
||||||
|
- 'pre-commit run --all-files --color always --verbose'
|
||||||
|
|
||||||
|
# Use a separate job for `rubocop` other than the one potentially run by `pre-commit`
|
||||||
|
# - The `pre-commit` check will only be available for formulas that pass the default
|
||||||
|
# `rubocop` check -- and must continue to do so
|
||||||
|
# - This job is allowed to fail, so can be used for all formulas
|
||||||
|
# - Furthermore, this job uses all of the latest `rubocop` features & cops,
|
||||||
|
# which will help when upgrading the `rubocop` linter used in `pre-commit`
|
||||||
|
rubocop:
|
||||||
|
allow_failure: true
|
||||||
|
stage: *stage_lint
|
||||||
|
image: *image_rubocop
|
||||||
|
script:
|
||||||
|
- 'rubocop -d -P -S --enable-pending-cops'
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Define `test` template
|
||||||
|
###############################################################################
|
||||||
|
.test_instance: &test_instance
|
||||||
|
stage: *stage_test
|
||||||
|
image: *image_dindruby
|
||||||
|
services: *services_docker_dind
|
||||||
|
variables: *variables_bundler
|
||||||
|
cache: *cache_bundler
|
||||||
|
before_script:
|
||||||
|
# TODO: This should work from the env vars above automatically
|
||||||
|
- 'bundle config set path "${BUNDLE_CACHE_PATH}"'
|
||||||
|
- 'bundle config set without "${BUNDLE_WITHOUT}"'
|
||||||
|
- 'bundle install'
|
||||||
|
script:
|
||||||
|
# Alternative value to consider: `${CI_JOB_NAME}`
|
||||||
|
- 'bin/kitchen verify "${DOCKER_ENV_CI_JOB_NAME}"'
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Define `test` template (`allow_failure: true`)
|
||||||
|
###############################################################################
|
||||||
|
.test_instance_failure_permitted:
|
||||||
|
<<: *test_instance
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# `test` stage: each instance below uses the `test` template above
|
||||||
|
###############################################################################
|
||||||
|
## Define the rest of the matrix based on Kitchen testing
|
||||||
|
# Make sure the instances listed below match up with
|
||||||
|
# the `platforms` defined in `kitchen.yml`
|
||||||
|
# default-debian-11-tiamat-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-10-tiamat-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-9-tiamat-py3: {extends: '.test_instance'}
|
||||||
|
# default-ubuntu-2004-tiamat-py3: {extends: '.test_instance'}
|
||||||
|
# default-ubuntu-1804-tiamat-py3: {extends: '.test_instance'}
|
||||||
|
# default-centos-8-tiamat-py3: {extends: '.test_instance'}
|
||||||
|
# default-centos-7-tiamat-py3: {extends: '.test_instance'}
|
||||||
|
# default-amazonlinux-2-tiamat-py3: {extends: '.test_instance'}
|
||||||
|
# default-oraclelinux-8-tiamat-py3: {extends: '.test_instance'}
|
||||||
|
# default-oraclelinux-7-tiamat-py3: {extends: '.test_instance'}
|
||||||
|
# default-almalinux-8-tiamat-py3: {extends: '.test_instance'}
|
||||||
|
# default-rockylinux-8-tiamat-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-11-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-debian-11-master-py3: {extends: '.test_instance'}
|
||||||
|
debian-11-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-10-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-debian-10-master-py3: {extends: '.test_instance'}
|
||||||
|
debian-10-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-9-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-debian-9-master-py3: {extends: '.test_instance'}
|
||||||
|
debian-9-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-ubuntu-2004-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-ubuntu-2004-master-py3: {extends: '.test_instance'}
|
||||||
|
ubuntu-2004-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-ubuntu-1804-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-ubuntu-1804-master-py3: {extends: '.test_instance'}
|
||||||
|
ubuntu-1804-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-centos-8-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-centos-8-master-py3: {extends: '.test_instance'}
|
||||||
|
centos-8-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-centos-7-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-centos-7-master-py3: {extends: '.test_instance'}
|
||||||
|
centos-7-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-fedora-34-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-fedora-34-master-py3: {extends: '.test_instance'}
|
||||||
|
fedora-34-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-fedora-33-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-fedora-33-master-py3: {extends: '.test_instance'}
|
||||||
|
fedora-33-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-leap-153-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-opensuse-leap-153-master-py3: {extends: '.test_instance'}
|
||||||
|
opensuse-leap-153-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-leap-152-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-opensuse-leap-152-master-py3: {extends: '.test_instance_failure_permitted'}
|
||||||
|
opensuse-leap-152-master-py3: {extends: '.test_instance_failure_permitted'}
|
||||||
|
default-opensuse-tmbl-latest-master-py3: {extends: '.test_instance'}
|
||||||
|
# opensuse-tmbl-latest-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-amazonlinux-2-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-amazonlinux-2-master-py3: {extends: '.test_instance'}
|
||||||
|
amazonlinux-2-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-oraclelinux-8-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-oraclelinux-8-master-py3: {extends: '.test_instance'}
|
||||||
|
oraclelinux-8-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-oraclelinux-7-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-oraclelinux-7-master-py3: {extends: '.test_instance'}
|
||||||
|
oraclelinux-7-master-py3: {extends: '.test_instance'}
|
||||||
|
default-arch-base-latest-master-py3: {extends: '.test_instance'}
|
||||||
|
# arch-base-latest-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-gentoo-stage3-latest-master-py3: {extends: '.test_instance'}
|
||||||
|
# gentoo-stage3-latest-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-gentoo-stage3-systemd-master-py3: {extends: '.test_instance'}
|
||||||
|
# gentoo-stage3-systemd-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-almalinux-8-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-almalinux-8-master-py3: {extends: '.test_instance'}
|
||||||
|
almalinux-8-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-rockylinux-8-master-py3: {extends: '.test_instance'}
|
||||||
|
# repo-rockylinux-8-master-py3: {extends: '.test_instance'}
|
||||||
|
rockylinux-8-master-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-11-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-10-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-9-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-ubuntu-2004-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-ubuntu-1804-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-centos-8-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-centos-7-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-fedora-34-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-fedora-33-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-leap-153-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-leap-152-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-tmbl-latest-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-amazonlinux-2-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-oraclelinux-8-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-oraclelinux-7-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-arch-base-latest-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-gentoo-stage3-latest-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-gentoo-stage3-systemd-3003-1-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-11-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-10-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-9-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-ubuntu-2004-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-ubuntu-1804-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-centos-8-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-centos-7-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-fedora-34-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-fedora-33-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-amazonlinux-2-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-oraclelinux-8-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-oraclelinux-7-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-arch-base-latest-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-gentoo-stage3-latest-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-gentoo-stage3-systemd-3002-6-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-leap-153-3002-2-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-leap-152-3002-2-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-tmbl-latest-3002-2-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-10-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-9-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-ubuntu-2004-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-ubuntu-1804-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-centos-8-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-centos-7-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-fedora-34-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-fedora-33-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-leap-153-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-leap-152-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-tmbl-latest-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-amazonlinux-2-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-oraclelinux-8-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-oraclelinux-7-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-arch-base-latest-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-gentoo-stage3-latest-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-gentoo-stage3-systemd-3001-7-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-10-3000-9-py3: {extends: '.test_instance'}
|
||||||
|
# default-debian-9-3000-9-py3: {extends: '.test_instance'}
|
||||||
|
# default-ubuntu-1804-3000-9-py3: {extends: '.test_instance'}
|
||||||
|
# default-centos-8-3000-9-py3: {extends: '.test_instance'}
|
||||||
|
# default-centos-7-3000-9-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-leap-153-3000-9-py3: {extends: '.test_instance'}
|
||||||
|
# default-opensuse-leap-152-3000-9-py3: {extends: '.test_instance'}
|
||||||
|
# default-amazonlinux-2-3000-9-py3: {extends: '.test_instance'}
|
||||||
|
# default-oraclelinux-8-3000-9-py3: {extends: '.test_instance'}
|
||||||
|
# default-oraclelinux-7-3000-9-py3: {extends: '.test_instance'}
|
||||||
|
# default-gentoo-stage3-latest-3000-9-py3: {extends: '.test_instance'}
|
||||||
|
# default-gentoo-stage3-systemd-3000-9-py3: {extends: '.test_instance'}
|
||||||
|
# default-ubuntu-1804-3000-9-py2: {extends: '.test_instance'}
|
||||||
|
# default-arch-base-latest-3000-9-py2: {extends: '.test_instance'}
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# `release` stage: `semantic-release`
|
||||||
|
###############################################################################
|
||||||
|
semantic-release:
|
||||||
|
only: *only_branch_master_parent_repo
|
||||||
|
stage: *stage_release
|
||||||
|
image: *image_semanticrelease
|
||||||
|
variables:
|
||||||
|
MAINTAINER_TOKEN: '${GH_TOKEN}'
|
||||||
|
script:
|
||||||
|
# Update `AUTHORS.md`
|
||||||
|
- '${HOME}/go/bin/maintainer contributor'
|
||||||
|
# Run `semantic-release`
|
||||||
|
- 'semantic-release'
|
||||||
65
.pre-commit-config.yaml
Normal file
65
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=yaml
|
||||||
|
---
|
||||||
|
# See https://pre-commit.com for more information
|
||||||
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
|
default_stages: [commit]
|
||||||
|
repos:
|
||||||
|
- repo: https://github.com/dafyddj/commitlint-pre-commit-hook
|
||||||
|
rev: v2.3.0
|
||||||
|
hooks:
|
||||||
|
- id: commitlint
|
||||||
|
name: Check commit message using commitlint
|
||||||
|
description: Lint commit message against @commitlint/config-conventional rules
|
||||||
|
stages: [commit-msg]
|
||||||
|
additional_dependencies: ['@commitlint/config-conventional@8.3.4']
|
||||||
|
- id: commitlint-travis
|
||||||
|
stages: [manual]
|
||||||
|
additional_dependencies: ['@commitlint/config-conventional@8.3.4']
|
||||||
|
always_run: true
|
||||||
|
- repo: https://github.com/rubocop-hq/rubocop
|
||||||
|
rev: v1.9.1
|
||||||
|
hooks:
|
||||||
|
- id: rubocop
|
||||||
|
name: Check Ruby files with rubocop
|
||||||
|
args: [--debug]
|
||||||
|
always_run: true
|
||||||
|
pass_filenames: false
|
||||||
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
||||||
|
rev: v0.7.1.1
|
||||||
|
hooks:
|
||||||
|
- id: shellcheck
|
||||||
|
name: Check shell scripts with shellcheck
|
||||||
|
files: ^.*\.(sh|bash|ksh)$
|
||||||
|
types: []
|
||||||
|
- repo: https://github.com/adrienverge/yamllint
|
||||||
|
rev: v1.23.0
|
||||||
|
hooks:
|
||||||
|
- id: yamllint
|
||||||
|
name: Check YAML syntax with yamllint
|
||||||
|
args: [--strict, '.']
|
||||||
|
always_run: true
|
||||||
|
pass_filenames: false
|
||||||
|
- repo: https://github.com/warpnet/salt-lint
|
||||||
|
rev: v0.3.0
|
||||||
|
hooks:
|
||||||
|
- id: salt-lint
|
||||||
|
name: Check Salt files using salt-lint
|
||||||
|
files: ^.*\.(sls|jinja|j2|tmpl|tst)$
|
||||||
|
- repo: https://github.com/myint/rstcheck
|
||||||
|
rev: 3f929574
|
||||||
|
hooks:
|
||||||
|
- id: rstcheck
|
||||||
|
name: Check reST files using rstcheck
|
||||||
|
exclude: 'docs/CHANGELOG.rst'
|
||||||
|
- repo: https://github.com/saltstack-formulas/mirrors-rst-lint
|
||||||
|
rev: v1.3.2
|
||||||
|
hooks:
|
||||||
|
- id: rst-lint
|
||||||
|
name: Check reST files using rst-lint
|
||||||
|
exclude: |
|
||||||
|
(?x)^(
|
||||||
|
docs/CHANGELOG.rst|
|
||||||
|
docs/TOFS_pattern.rst|
|
||||||
|
)$
|
||||||
|
additional_dependencies: [pygments==2.9.0]
|
||||||
4
.rstcheck.cfg
Normal file
4
.rstcheck.cfg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
[rstcheck]
|
||||||
|
report=info
|
||||||
|
ignore_language=rst
|
||||||
|
ignore_messages=(Duplicate (ex|im)plicit target.*|Hyperlink target ".*" is not referenced\.$)
|
||||||
11
.rubocop.yml
11
.rubocop.yml
@@ -2,9 +2,18 @@
|
|||||||
# 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:
|
||||||
|
IgnoredMethods:
|
||||||
|
- control
|
||||||
|
- describe
|
||||||
|
# Increase from default of `25`
|
||||||
|
Max: 30
|
||||||
|
Security/YAMLLoad:
|
||||||
|
Exclude:
|
||||||
|
- test/integration/**/_mapdata.rb
|
||||||
|
|
||||||
# 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`
|
||||||
|
|||||||
270
.travis.yml
270
.travis.yml
@@ -1,15 +1,28 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# vim: ft=yaml
|
# vim: ft=yaml
|
||||||
---
|
---
|
||||||
|
################################################################################
|
||||||
|
# NOTE: This file is UNMAINTAINED; it is provided for references purposes only.
|
||||||
|
# No guarantees are tendered that this structure will work after 2020.
|
||||||
|
################################################################################
|
||||||
|
# * https://en.wikipedia.org/wiki/Travis_CI:
|
||||||
|
# - "... free open-source plans were removed in [sic] the end of 2020"
|
||||||
|
# - https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
|
||||||
|
# - https://ropensci.org/technotes/2020/11/19/moving-away-travis/
|
||||||
|
################################################################################
|
||||||
## Machine config
|
## Machine config
|
||||||
dist: bionic
|
os: 'linux'
|
||||||
sudo: required
|
arch: 'amd64'
|
||||||
services:
|
dist: 'bionic'
|
||||||
- docker
|
version: '~> 1.0'
|
||||||
|
|
||||||
## Language and cache config
|
## Language and cache config
|
||||||
language: ruby
|
language: 'ruby'
|
||||||
cache: bundler
|
cache: 'bundler'
|
||||||
|
|
||||||
|
## Services config
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
|
||||||
## Script to run for the test stage
|
## Script to run for the test stage
|
||||||
script:
|
script:
|
||||||
@@ -18,23 +31,25 @@ script:
|
|||||||
## Stages and jobs matrix
|
## Stages and jobs matrix
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- name: release
|
# # As part of the switch away from Travis CI, ensure that the `release` stage
|
||||||
if: branch = master AND type != pull_request
|
# # is not run inadvertently
|
||||||
|
# - name: 'release'
|
||||||
|
# if: 'branch = master AND type != pull_request'
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
## Define the test stage that runs the linters (and testing matrix, if applicable)
|
## Define the test stage that runs the linters (and testing matrix, if applicable)
|
||||||
|
|
||||||
# Run all of the linters in a single job
|
# Run all of the linters in a single job
|
||||||
- language: node_js
|
- language: 'node_js'
|
||||||
node_js: lts/*
|
node_js: 'lts/*'
|
||||||
env: Lint
|
env: 'Lint'
|
||||||
name: 'Lint: salt-lint, yamllint, rubocop & commitlint'
|
name: 'Lint: salt-lint, yamllint, rubocop, shellcheck & commitlint'
|
||||||
before_install: skip
|
before_install: 'skip'
|
||||||
script:
|
script:
|
||||||
# Install and run `salt-lint`
|
# Install and run `salt-lint`
|
||||||
- pip install --user salt-lint
|
- pip install --user salt-lint
|
||||||
- git ls-files | grep '\.sls$\|\.jinja$\|\.j2$\|\.tmpl$'
|
- git ls-files -- '*.sls' '*.jinja' '*.j2' '*.tmpl' '*.tst'
|
||||||
| xargs -I {} salt-lint {}
|
| xargs salt-lint
|
||||||
# Install and run `yamllint`
|
# Install and run `yamllint`
|
||||||
# Need at least `v1.17.0` for the `yaml-files` setting
|
# Need at least `v1.17.0` for the `yaml-files` setting
|
||||||
- pip install --user yamllint>=1.17.0
|
- pip install --user yamllint>=1.17.0
|
||||||
@@ -42,50 +57,175 @@ jobs:
|
|||||||
# Install and run `rubocop`
|
# Install and run `rubocop`
|
||||||
- gem install rubocop
|
- gem install rubocop
|
||||||
- rubocop -d
|
- rubocop -d
|
||||||
|
# Run `shellcheck` (already pre-installed in Travis)
|
||||||
|
- shellcheck --version
|
||||||
|
- git ls-files -- '*.sh' '*.bash' '*.ksh'
|
||||||
|
| xargs shellcheck
|
||||||
# Install and run `commitlint`
|
# Install and run `commitlint`
|
||||||
- npm install @commitlint/config-conventional -D
|
- npm i -D @commitlint/config-conventional
|
||||||
- npm install @commitlint/travis-cli -D
|
@commitlint/travis-cli
|
||||||
- commitlint-travis
|
- commitlint-travis
|
||||||
|
|
||||||
|
# Run `pre-commit` linters in a single job
|
||||||
|
- language: 'python'
|
||||||
|
env: 'Lint_pre-commit'
|
||||||
|
name: 'Lint: pre-commit'
|
||||||
|
before_install: 'skip'
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/pre-commit
|
||||||
|
script:
|
||||||
|
# Install and run `pre-commit`
|
||||||
|
- pip install pre-commit==2.7.1
|
||||||
|
- pre-commit run --all-files --color always --verbose
|
||||||
|
- pre-commit run --color always --hook-stage manual --verbose commitlint-travis
|
||||||
|
|
||||||
## Define the rest of the matrix based on Kitchen testing
|
## Define the rest of the matrix based on Kitchen testing
|
||||||
# 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-11-tiamat-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1804-develop-py3
|
# - env: INSTANCE=default-debian-10-tiamat-py3
|
||||||
# - env: INSTANCE=default-centos-7-develop-py3
|
# - env: INSTANCE=default-debian-9-tiamat-py3
|
||||||
# - env: INSTANCE=default-fedora-30-develop-py3
|
# - env: INSTANCE=default-ubuntu-2004-tiamat-py3
|
||||||
# - env: INSTANCE=default-opensuse-leap-15-develop-py3
|
# - env: INSTANCE=default-ubuntu-1804-tiamat-py3
|
||||||
# - env: INSTANCE=default-amazonlinux-2-develop-py2
|
# - env: INSTANCE=default-centos-8-tiamat-py3
|
||||||
# - env: INSTANCE=default-arch-base-latest-develop-py2
|
# - env: INSTANCE=default-centos-7-tiamat-py3
|
||||||
# - env: INSTANCE=default-debian-9-2019-2-py3
|
# - env: INSTANCE=default-amazonlinux-2-tiamat-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1804-2019-2-py3
|
# - env: INSTANCE=default-oraclelinux-8-tiamat-py3
|
||||||
- env: INSTANCE=default-centos-7-2019-2-py3
|
# - env: INSTANCE=default-oraclelinux-7-tiamat-py3
|
||||||
- env: INSTANCE=default-fedora-30-2019-2-py3
|
# - env: INSTANCE=default-almalinux-8-tiamat-py3
|
||||||
# - env: INSTANCE=default-opensuse-leap-15-2019-2-py3
|
# - env: INSTANCE=default-rockylinux-8-tiamat-py3
|
||||||
# - env: INSTANCE=default-amazonlinux-2-2019-2-py2
|
# - env: INSTANCE=default-debian-11-master-py3
|
||||||
# - env: INSTANCE=default-arch-base-latest-2019-2-py2
|
# - env: INSTANCE=repo-debian-11-master-py3
|
||||||
# - env: INSTANCE=default-debian-9-2018-3-py2
|
- env: INSTANCE=debian-11-master-py3
|
||||||
- env: INSTANCE=default-ubuntu-1604-2018-3-py2
|
# - env: INSTANCE=default-debian-10-master-py3
|
||||||
# - env: INSTANCE=default-centos-7-2018-3-py2
|
# - env: INSTANCE=repo-debian-10-master-py3
|
||||||
# - env: INSTANCE=default-fedora-29-2018-3-py2
|
- env: INSTANCE=debian-10-master-py3
|
||||||
- env: INSTANCE=default-opensuse-leap-15-2018-3-py2
|
# - env: INSTANCE=default-debian-9-master-py3
|
||||||
# - env: INSTANCE=default-amazonlinux-2-2018-3-py2
|
# - env: INSTANCE=repo-debian-9-master-py3
|
||||||
# - env: INSTANCE=default-arch-base-latest-2018-3-py2
|
- env: INSTANCE=debian-9-master-py3
|
||||||
# - env: INSTANCE=default-debian-8-2017-7-py2
|
# - env: INSTANCE=default-ubuntu-2004-master-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1604-2017-7-py2
|
# - env: INSTANCE=repo-ubuntu-2004-master-py3
|
||||||
- env: INSTANCE=default-centos-6-2017-7-py2
|
- env: INSTANCE=ubuntu-2004-master-py3
|
||||||
# - env: INSTANCE=default-fedora-29-2017-7-py2
|
# - env: INSTANCE=default-ubuntu-1804-master-py3
|
||||||
# - env: INSTANCE=default-opensuse-leap-15-2017-7-py2
|
# - env: INSTANCE=repo-ubuntu-1804-master-py3
|
||||||
# - env: INSTANCE=default-amazonlinux-2-2017-7-py2
|
- env: INSTANCE=ubuntu-1804-master-py3
|
||||||
# - env: INSTANCE=default-arch-base-latest-2017-7-py2
|
# - env: INSTANCE=default-centos-8-master-py3
|
||||||
|
# - env: INSTANCE=repo-centos-8-master-py3
|
||||||
|
- env: INSTANCE=centos-8-master-py3
|
||||||
|
# - env: INSTANCE=default-centos-7-master-py3
|
||||||
|
# - env: INSTANCE=repo-centos-7-master-py3
|
||||||
|
- env: INSTANCE=centos-7-master-py3
|
||||||
|
# - env: INSTANCE=default-fedora-34-master-py3
|
||||||
|
# - env: INSTANCE=repo-fedora-34-master-py3
|
||||||
|
- env: INSTANCE=fedora-34-master-py3
|
||||||
|
# - env: INSTANCE=default-fedora-33-master-py3
|
||||||
|
# - env: INSTANCE=repo-fedora-33-master-py3
|
||||||
|
- env: INSTANCE=fedora-33-master-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-leap-153-master-py3
|
||||||
|
# - env: INSTANCE=repo-opensuse-leap-153-master-py3
|
||||||
|
- env: INSTANCE=opensuse-leap-153-master-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-leap-152-master-py3
|
||||||
|
# - env: INSTANCE=repo-opensuse-leap-152-master-py3
|
||||||
|
- env: INSTANCE=opensuse-leap-152-master-py3
|
||||||
|
- env: INSTANCE=default-opensuse-tmbl-latest-master-py3
|
||||||
|
# - env: INSTANCE=opensuse-tmbl-latest-master-py3
|
||||||
|
# - env: INSTANCE=default-amazonlinux-2-master-py3
|
||||||
|
# - env: INSTANCE=repo-amazonlinux-2-master-py3
|
||||||
|
- env: INSTANCE=amazonlinux-2-master-py3
|
||||||
|
# - env: INSTANCE=default-oraclelinux-8-master-py3
|
||||||
|
# - env: INSTANCE=repo-oraclelinux-8-master-py3
|
||||||
|
- env: INSTANCE=oraclelinux-8-master-py3
|
||||||
|
# - env: INSTANCE=default-oraclelinux-7-master-py3
|
||||||
|
# - env: INSTANCE=repo-oraclelinux-7-master-py3
|
||||||
|
- env: INSTANCE=oraclelinux-7-master-py3
|
||||||
|
- env: INSTANCE=default-arch-base-latest-master-py3
|
||||||
|
# - env: INSTANCE=arch-base-latest-master-py3
|
||||||
|
# - env: INSTANCE=default-gentoo-stage3-latest-master-py3
|
||||||
|
# - env: INSTANCE=gentoo-stage3-latest-master-py3
|
||||||
|
# - env: INSTANCE=default-gentoo-stage3-systemd-master-py3
|
||||||
|
# - env: INSTANCE=gentoo-stage3-systemd-master-py3
|
||||||
|
# - env: INSTANCE=default-almalinux-8-master-py3
|
||||||
|
# - env: INSTANCE=repo-almalinux-8-master-py3
|
||||||
|
- env: INSTANCE=almalinux-8-master-py3
|
||||||
|
# - env: INSTANCE=default-rockylinux-8-master-py3
|
||||||
|
# - env: INSTANCE=repo-rockylinux-8-master-py3
|
||||||
|
- env: INSTANCE=rockylinux-8-master-py3
|
||||||
|
# - env: INSTANCE=default-debian-11-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-debian-10-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-debian-9-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-ubuntu-2004-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-ubuntu-1804-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-centos-8-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-centos-7-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-fedora-34-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-fedora-33-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-leap-153-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-leap-152-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-tmbl-latest-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-amazonlinux-2-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-oraclelinux-8-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-oraclelinux-7-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-arch-base-latest-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-gentoo-stage3-latest-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-gentoo-stage3-systemd-3003-1-py3
|
||||||
|
# - env: INSTANCE=default-debian-11-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-debian-10-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-debian-9-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-ubuntu-2004-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-ubuntu-1804-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-centos-8-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-centos-7-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-fedora-34-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-fedora-33-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-amazonlinux-2-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-oraclelinux-8-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-oraclelinux-7-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-arch-base-latest-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-gentoo-stage3-latest-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-gentoo-stage3-systemd-3002-6-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-leap-153-3002-2-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-leap-152-3002-2-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-tmbl-latest-3002-2-py3
|
||||||
|
# - env: INSTANCE=default-debian-10-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-debian-9-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-ubuntu-2004-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-ubuntu-1804-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-centos-8-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-centos-7-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-fedora-34-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-fedora-33-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-leap-153-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-leap-152-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-tmbl-latest-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-amazonlinux-2-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-oraclelinux-8-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-oraclelinux-7-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-arch-base-latest-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-gentoo-stage3-latest-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-gentoo-stage3-systemd-3001-7-py3
|
||||||
|
# - env: INSTANCE=default-debian-10-3000-9-py3
|
||||||
|
# - env: INSTANCE=default-debian-9-3000-9-py3
|
||||||
|
# - env: INSTANCE=default-ubuntu-1804-3000-9-py3
|
||||||
|
# - env: INSTANCE=default-centos-8-3000-9-py3
|
||||||
|
# - env: INSTANCE=default-centos-7-3000-9-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-leap-153-3000-9-py3
|
||||||
|
# - env: INSTANCE=default-opensuse-leap-152-3000-9-py3
|
||||||
|
# - env: INSTANCE=default-amazonlinux-2-3000-9-py3
|
||||||
|
# - env: INSTANCE=default-oraclelinux-8-3000-9-py3
|
||||||
|
# - env: INSTANCE=default-oraclelinux-7-3000-9-py3
|
||||||
|
# - env: INSTANCE=default-gentoo-stage3-latest-3000-9-py3
|
||||||
|
# - env: INSTANCE=default-gentoo-stage3-systemd-3000-9-py3
|
||||||
|
# - env: INSTANCE=default-ubuntu-1804-3000-9-py2
|
||||||
|
# - env: INSTANCE=default-arch-base-latest-3000-9-py2
|
||||||
|
|
||||||
## Define the release stage that runs `semantic-release`
|
## Define the release stage that runs `semantic-release`
|
||||||
- stage: release
|
- stage: 'release'
|
||||||
language: node_js
|
language: 'node_js'
|
||||||
node_js: lts/*
|
node_js: 'lts/*'
|
||||||
env: Release
|
env: 'Release'
|
||||||
name: 'Run semantic-release inc. file updates to AUTHORS, CHANGELOG & FORMULA'
|
name: 'Run semantic-release inc. file updates to AUTHORS, CHANGELOG & FORMULA'
|
||||||
before_install: skip
|
before_install: 'skip'
|
||||||
script:
|
script:
|
||||||
# Update `AUTHORS.md`
|
# Update `AUTHORS.md`
|
||||||
- export MAINTAINER_TOKEN=${GH_TOKEN}
|
- export MAINTAINER_TOKEN=${GH_TOKEN}
|
||||||
@@ -93,12 +233,26 @@ jobs:
|
|||||||
- maintainer contributor
|
- maintainer contributor
|
||||||
|
|
||||||
# Install all dependencies required for `semantic-release`
|
# Install all dependencies required for `semantic-release`
|
||||||
- npm install @semantic-release/changelog@3 -D
|
- npm i -D @semantic-release/changelog@3
|
||||||
- npm install @semantic-release/exec@3 -D
|
@semantic-release/exec@3
|
||||||
- npm install @semantic-release/git@7 -D
|
@semantic-release/git@7
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: 'script'
|
||||||
skip_cleanup: true
|
# Opt-in to `dpl v2` to complete the Travis build config validation (beta)
|
||||||
script:
|
# * https://docs.travis-ci.com/user/build-config-validation
|
||||||
# Run `semantic-release`
|
# Deprecated `skip_cleanup` can now be avoided, `cleanup: false` is by default
|
||||||
- npx semantic-release@15
|
edge: true
|
||||||
|
# Run `semantic-release`
|
||||||
|
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
|
||||||
|
|||||||
18
.yamllint
18
.yamllint
@@ -2,17 +2,25 @@
|
|||||||
# vim: ft=yaml
|
# vim: ft=yaml
|
||||||
---
|
---
|
||||||
# Extend the `default` configuration provided by `yamllint`
|
# Extend the `default` configuration provided by `yamllint`
|
||||||
extends: default
|
extends: 'default'
|
||||||
|
|
||||||
# Files to ignore completely
|
# Files to ignore completely
|
||||||
# 1. All YAML files under directory `node_modules/`, introduced during the Travis run
|
# 1. All YAML files under directory `.bundle/`, introduced if gems are installed locally
|
||||||
# 2. Any SLS files under directory `test/`, which are actually state files
|
# 2. All YAML files under directory `.cache/`, introduced during the CI run
|
||||||
# 3. Any YAML files under directory `.kitchen/`, introduced during local testing
|
# 3. All YAML files under directory `.git/`
|
||||||
# 4. All YAML files heavily reliant on Jinja; these can be tackled in a subsequent PR
|
# 4. All YAML files under directory `node_modules/`, introduced during the CI run
|
||||||
|
# 5. Any SLS files under directory `test/`, which are actually state files
|
||||||
|
# 6. Any YAML files under directory `.kitchen/`, introduced during local testing
|
||||||
|
# 7. `kitchen.vagrant.yml`, which contains Embedded Ruby (ERB) template syntax
|
||||||
|
# 8. All YAML files heavily reliant on Jinja; these can be tackled in a subsequent PR
|
||||||
ignore: |
|
ignore: |
|
||||||
|
.bundle/
|
||||||
|
.cache/
|
||||||
|
.git/
|
||||||
node_modules/
|
node_modules/
|
||||||
test/**/states/**/*.sls
|
test/**/states/**/*.sls
|
||||||
.kitchen/
|
.kitchen/
|
||||||
|
kitchen.vagrant.yml
|
||||||
pillar.example
|
pillar.example
|
||||||
postgres/codenamemap.yaml
|
postgres/codenamemap.yaml
|
||||||
postgres/osfamilymap.yaml
|
postgres/osfamilymap.yaml
|
||||||
|
|||||||
130
AUTHORS.md
130
AUTHORS.md
@@ -4,70 +4,72 @@ 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)|83
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/10231489?v=4' width='36' height='36' alt='@myii'>|[@myii](https://github.com/myii)|166
|
||||||
<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://avatars.githubusercontent.com/u/13322818?v=4' width='36' height='36' alt='@noelmcloughlin'>|[@noelmcloughlin](https://github.com/noelmcloughlin)|78
|
||||||
<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://avatars.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://avatars.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://avatars0.githubusercontent.com/u/16338056?v=4' width='36' height='36' alt='@vutny'>|[@vutny](https://github.com/vutny)|31
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/242396?v=4' width='36' height='36' alt='@javierbertoli'>|[@javierbertoli](https://github.com/javierbertoli)|21
|
||||||
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/242396?v=4' width='36' height='36' alt='@javierbertoli'>|[@javierbertoli](https://github.com/javierbertoli)|19
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/3374962?v=4' width='36' height='36' alt='@nmadhok'>|[@nmadhok](https://github.com/nmadhok)|19
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/3374962?v=4' width='36' height='36' alt='@nmadhok'>|[@nmadhok](https://github.com/nmadhok)|19
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/16338056?v=4' width='36' height='36' alt='@vutny'>|[@vutny](https://github.com/vutny)|18
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/528061?v=4' width='36' height='36' alt='@puneetk'>|[@puneetk](https://github.com/puneetk)|11
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/528061?v=4' width='36' height='36' alt='@puneetk'>|[@puneetk](https://github.com/puneetk)|11
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/745513?v=4' width='36' height='36' alt='@EvaSDK'>|[@EvaSDK](https://github.com/EvaSDK)|9
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/745513?v=4' width='36' height='36' alt='@EvaSDK'>|[@EvaSDK](https://github.com/EvaSDK)|9
|
||||||
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/1713422?v=4' width='36' height='36' alt='@dferrantelli'>|[@dferrantelli](https://github.com/dferrantelli)|8
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1713422?v=4' width='36' height='36' alt='@dferramosi'>|[@dferramosi](https://github.com/dferramosi)|8
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/5306980?v=4' width='36' height='36' alt='@johnkeates'>|[@johnkeates](https://github.com/johnkeates)|8
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/5306980?v=4' width='36' height='36' alt='@johnkeates'>|[@johnkeates](https://github.com/johnkeates)|8
|
||||||
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/91293?v=4' width='36' height='36' alt='@whiteinge'>|[@whiteinge](https://github.com/whiteinge)|8
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/91293?v=4' width='36' height='36' alt='@whiteinge'>|[@whiteinge](https://github.com/whiteinge)|8
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/117961?v=4' width='36' height='36' alt='@babilen5'>|[@babilen5](https://github.com/babilen5)|8
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/117961?v=4' width='36' height='36' alt='@babilen5'>|[@babilen5](https://github.com/babilen5)|8
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/20441?v=4' width='36' height='36' alt='@iggy'>|[@iggy](https://github.com/iggy)|7
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/20441?v=4' width='36' height='36' alt='@iggy'>|[@iggy](https://github.com/iggy)|7
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/13106485?v=4' width='36' height='36' alt='@dynjnelson'>|[@dynjnelson](https://github.com/dynjnelson)|7
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/13106485?v=4' width='36' height='36' alt='@dynjnelson'>|[@dynjnelson](https://github.com/dynjnelson)|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://avatars.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://avatars.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://avatars.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://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://avatars.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://avatars.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://avatars.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
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/2995329?v=4' width='36' height='36' alt='@t0fik'>|[@t0fik](https://github.com/t0fik)|5
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/2995329?v=4' width='36' height='36' alt='@t0fik'>|[@t0fik](https://github.com/t0fik)|5
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/3768412?v=4' width='36' height='36' alt='@stp-ip'>|[@stp-ip](https://github.com/stp-ip)|4
|
||||||
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/3768412?v=4' width='36' height='36' alt='@stp-ip'>|[@stp-ip](https://github.com/stp-ip)|4
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1435085?v=4' width='36' height='36' alt='@blbradley'>|[@blbradley](https://github.com/blbradley)|3
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/1435085?v=4' width='36' height='36' alt='@blbradley'>|[@blbradley](https://github.com/blbradley)|3
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/4195158?v=4' width='36' height='36' alt='@dafyddj'>|[@dafyddj](https://github.com/dafyddj)|3
|
||||||
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/2192630?v=4' width='36' height='36' alt='@abrefort'>|[@abrefort](https://github.com/abrefort)|3
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/2192630?v=4' width='36' height='36' alt='@abrefort'>|[@abrefort](https://github.com/abrefort)|3
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/296940?v=4' width='36' height='36' alt='@renoirb'>|[@renoirb](https://github.com/renoirb)|3
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/296940?v=4' width='36' height='36' alt='@renoirb'>|[@renoirb](https://github.com/renoirb)|3
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/1078927?v=4' width='36' height='36' alt='@Ken-2scientists'>|[@Ken-2scientists](https://github.com/Ken-2scientists)|2
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1078927?v=4' width='36' height='36' alt='@Ken-2scientists'>|[@Ken-2scientists](https://github.com/Ken-2scientists)|2
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/22311?v=4' width='36' height='36' alt='@madssj'>|[@madssj](https://github.com/madssj)|2
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/22311?v=4' width='36' height='36' alt='@madssj'>|[@madssj](https://github.com/madssj)|2
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/102919?v=4' width='36' height='36' alt='@h3'>|[@h3](https://github.com/h3)|2
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/102919?v=4' width='36' height='36' alt='@h3'>|[@h3](https://github.com/h3)|2
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/6415605?v=4' width='36' height='36' alt='@tgoodaire'>|[@tgoodaire](https://github.com/tgoodaire)|2
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/6415605?v=4' width='36' height='36' alt='@tgoodaire'>|[@tgoodaire](https://github.com/tgoodaire)|2
|
||||||
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/26276?v=4' width='36' height='36' alt='@durana'>|[@durana](https://github.com/durana)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/46799934?v=4' width='36' height='36' alt='@sticky-note'>|[@sticky-note](https://github.com/sticky-note)|2
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/1922124?v=4' width='36' height='36' alt='@bebosudo'>|[@bebosudo](https://github.com/bebosudo)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/26276?v=4' width='36' height='36' alt='@durana'>|[@durana](https://github.com/durana)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/7353491?v=4' width='36' height='36' alt='@coffee-powered-coder'>|[@coffee-powered-coder](https://github.com/coffee-powered-coder)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1922124?v=4' width='36' height='36' alt='@bebosudo'>|[@bebosudo](https://github.com/bebosudo)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/458548?v=4' width='36' height='36' alt='@SuperTux88'>|[@SuperTux88](https://github.com/SuperTux88)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/7353491?v=4' width='36' height='36' alt='@sarcastic-coder'>|[@sarcastic-coder](https://github.com/sarcastic-coder)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/36720?v=4' width='36' height='36' alt='@brot'>|[@brot](https://github.com/brot)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/458548?v=4' width='36' height='36' alt='@SuperTux88'>|[@SuperTux88](https://github.com/SuperTux88)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/1020898?v=4' width='36' height='36' alt='@xbglowx'>|[@xbglowx](https://github.com/xbglowx)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/36720?v=4' width='36' height='36' alt='@brot'>|[@brot](https://github.com/brot)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/83323?v=4' width='36' height='36' alt='@cro'>|[@cro](https://github.com/cro)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1020898?v=4' width='36' height='36' alt='@xbglowx'>|[@xbglowx](https://github.com/xbglowx)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/8599847?v=4' width='36' height='36' alt='@campbellmc'>|[@campbellmc](https://github.com/campbellmc)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/83323?v=4' width='36' height='36' alt='@cro'>|[@cro](https://github.com/cro)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/306240?v=4' width='36' height='36' alt='@UtahDave'>|[@UtahDave](https://github.com/UtahDave)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/8599847?v=4' width='36' height='36' alt='@campbellmc'>|[@campbellmc](https://github.com/campbellmc)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/215487?v=4' width='36' height='36' alt='@fcrozat'>|[@fcrozat](https://github.com/fcrozat)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1233212?v=4' width='36' height='36' alt='@baby-gnu'>|[@baby-gnu](https://github.com/baby-gnu)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/1468874?v=4' width='36' height='36' alt='@Laogeodritt'>|[@Laogeodritt](https://github.com/Laogeodritt)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/306240?v=4' width='36' height='36' alt='@UtahDave'>|[@UtahDave](https://github.com/UtahDave)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/650691?v=4' width='36' height='36' alt='@itbabu'>|[@itbabu](https://github.com/itbabu)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/215487?v=4' width='36' height='36' alt='@fcrozat'>|[@fcrozat](https://github.com/fcrozat)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/296523?v=4' width='36' height='36' alt='@mkotsbak'>|[@mkotsbak](https://github.com/mkotsbak)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1468874?v=4' width='36' height='36' alt='@Laogeodritt'>|[@Laogeodritt](https://github.com/Laogeodritt)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/1331128?v=4' width='36' height='36' alt='@mattysads'>|[@mattysads](https://github.com/mattysads)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/650691?v=4' width='36' height='36' alt='@itbabu'>|[@itbabu](https://github.com/itbabu)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/3705387?v=4' width='36' height='36' alt='@mbrannigan'>|[@mbrannigan](https://github.com/mbrannigan)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/296523?v=4' width='36' height='36' alt='@mkotsbak'>|[@mkotsbak](https://github.com/mkotsbak)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/3433835?v=4' width='36' height='36' alt='@n-rodriguez'>|[@n-rodriguez](https://github.com/n-rodriguez)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1331128?v=4' width='36' height='36' alt='@mattysads'>|[@mattysads](https://github.com/mattysads)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/8399114?v=4' width='36' height='36' alt='@fortunejuggle'>|[@fortunejuggle](https://github.com/fortunejuggle)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/3705387?v=4' width='36' height='36' alt='@mbrannigan'>|[@mbrannigan](https://github.com/mbrannigan)|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://avatars.githubusercontent.com/u/3433835?v=4' width='36' height='36' alt='@n-rodriguez'>|[@n-rodriguez](https://github.com/n-rodriguez)|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://avatars.githubusercontent.com/u/8399114?v=4' width='36' height='36' alt='@fortunejuggle'>|[@fortunejuggle](https://github.com/fortunejuggle)|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://avatars.githubusercontent.com/u/152786?v=4' width='36' height='36' alt='@droope'>|[@droope](https://github.com/droope)|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://avatars.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/10464711?v=4' width='36' height='36' alt='@sbrefort'>|[@sbrefort](https://github.com/sbrefort)|1
|
<img class='float-left rounded-1' src='https://avatars.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/125458?v=4' width='36' height='36' alt='@sbellem'>|[@sbellem](https://github.com/sbellem)|1
|
<img class='float-left rounded-1' src='https://avatars.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/500703?v=4' width='36' height='36' alt='@retrry'>|[@retrry](https://github.com/retrry)|1
|
<img class='float-left rounded-1' src='https://avatars.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://avatars1.githubusercontent.com/u/2814878?v=4' width='36' height='36' alt='@thomasrossetto'>|[@thomasrossetto](https://github.com/thomasrossetto)|1
|
<img class='float-left rounded-1' src='https://avatars.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://avatars0.githubusercontent.com/u/507599?v=4' width='36' height='36' alt='@thatch45'>|[@thatch45](https://github.com/thatch45)|1
|
<img class='float-left rounded-1' src='https://avatars.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/444668?v=4' width='36' height='36' alt='@tobio'>|[@tobio](https://github.com/tobio)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/2814878?v=4' width='36' height='36' alt='@thomasrossetto'>|[@thomasrossetto](https://github.com/thomasrossetto)|1
|
||||||
<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/2097647?v=4' width='36' height='36' alt='@XRasher'>|[@XRasher](https://github.com/XRasher)|1
|
<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/507599?v=4' width='36' height='36' alt='@thatch45'>|[@thatch45](https://github.com/thatch45)|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://avatars.githubusercontent.com/u/444668?v=4' width='36' height='36' alt='@tobio'>|[@tobio](https://github.com/tobio)|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://avatars.githubusercontent.com/u/2097647?v=4' width='36' height='36' alt='@XRasher'>|[@XRasher](https://github.com/XRasher)|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://avatars.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/52996?v=4' width='36' height='36' alt='@daks'>|[@daks](https://github.com/daks)|1
|
<img class='float-left rounded-1' src='https://avatars.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://avatars.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://avatars.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-10-28.
|
Auto-generated by a [forked version](https://github.com/myii/maintainer) of [gaocegege/maintainer](https://github.com/gaocegege/maintainer) on 2021-07-20.
|
||||||
|
|||||||
222
CHANGELOG.md
222
CHANGELOG.md
@@ -1,5 +1,227 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
# [0.43.0](https://github.com/saltstack-formulas/postgres-formula/compare/v0.42.0...v0.43.0) (2021-07-20)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **redhat:** fix `pkg_deps` to be able to install PostgreSQL 13 ([060c8df](https://github.com/saltstack-formulas/postgres-formula/commit/060c8df630ea4077a3d5a2b301fed56ed6ce1a45))
|
||||||
|
|
||||||
|
|
||||||
|
### Continuous Integration
|
||||||
|
|
||||||
|
* add Debian 11 Bullseye & update `yamllint` configuration [skip ci] ([1fa7c66](https://github.com/saltstack-formulas/postgres-formula/commit/1fa7c66b8361357fc5372552ec713fd2dca15883))
|
||||||
|
* use `default` & `repo` InSpec suites ([a6c8197](https://github.com/saltstack-formulas/postgres-formula/commit/a6c81972a2c722d1dc3637acb412a8e1e513c998))
|
||||||
|
* **kitchen:** move `provisioner` block & update `run_command` [skip ci] ([e9da40b](https://github.com/saltstack-formulas/postgres-formula/commit/e9da40b5707d1e3d7f55f0b526e89c917418d4f5))
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **codenamemap:** update to current supported Fedora versions ([8a11bd6](https://github.com/saltstack-formulas/postgres-formula/commit/8a11bd679a8a6175c796294dd0a5c759725de25d))
|
||||||
|
|
||||||
|
|
||||||
|
### Tests
|
||||||
|
|
||||||
|
* **inspec:** move common controls to the `share` profile ([2214096](https://github.com/saltstack-formulas/postgres-formula/commit/221409636290444aa06ef9e59fd324b94412a635))
|
||||||
|
* **inspec:** rename all files to avoid unnecessary `_spec` suffix ([a1837c2](https://github.com/saltstack-formulas/postgres-formula/commit/a1837c24f1b5210964e74f576805470f6db1a0cf))
|
||||||
|
* **pillar:** use separate pillars to test `default` & `repo` suites ([27473b9](https://github.com/saltstack-formulas/postgres-formula/commit/27473b9865e8d716aa991cd33e9e186815933483))
|
||||||
|
|
||||||
|
# [0.42.0](https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.9...v0.42.0) (2021-07-15)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **debian:** add bullseye support ([216192d](https://github.com/saltstack-formulas/postgres-formula/commit/216192dece7d275e189666c55d76456fbdde1b57))
|
||||||
|
|
||||||
|
## [0.41.9](https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.8...v0.41.9) (2021-07-06)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **osmap.yaml:** fix PGDG repo file creation for Amazon Linux ([2de775b](https://github.com/saltstack-formulas/postgres-formula/commit/2de775be1e3e77b2bd71cb0a0a6fa587498c10e7))
|
||||||
|
|
||||||
|
|
||||||
|
### Continuous Integration
|
||||||
|
|
||||||
|
* **3003.1:** update inc. AlmaLinux, Rocky & `rst-lint` [skip ci] ([d16e91c](https://github.com/saltstack-formulas/postgres-formula/commit/d16e91ceb03411f58c98cbb919f65b3f3eb4abbb))
|
||||||
|
* **kitchen+gitlab:** remove Ubuntu 16.04 & Fedora 32 (EOL) [skip ci] ([b690bab](https://github.com/saltstack-formulas/postgres-formula/commit/b690bab978901f9bea7c9b043ebce5a8f520f4b9))
|
||||||
|
|
||||||
|
## [0.41.8](https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.7...v0.41.8) (2021-05-25)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **jinja:** use json filter ([eb63ec8](https://github.com/saltstack-formulas/postgres-formula/commit/eb63ec85e0f2d15f929ffbf1d483211b7bf4e595))
|
||||||
|
|
||||||
|
|
||||||
|
### Continuous Integration
|
||||||
|
|
||||||
|
* add `arch-master` to matrix and update `.travis.yml` [skip ci] ([79feefa](https://github.com/saltstack-formulas/postgres-formula/commit/79feefa7519a5674496b8abfdc68e7baad75f950))
|
||||||
|
* **kitchen+gitlab:** adjust matrix to add `3003` [skip ci] ([fd8f0e5](https://github.com/saltstack-formulas/postgres-formula/commit/fd8f0e5db5c67f21c16910ab3ed696d59a7eeee2))
|
||||||
|
* **vagrant:** add FreeBSD 13.0 [skip ci] ([93bb123](https://github.com/saltstack-formulas/postgres-formula/commit/93bb123ea1a8e5037c8898777ba90338979e802f))
|
||||||
|
* **vagrant:** use pre-salted boxes & conditional local settings [skip ci] ([69812c1](https://github.com/saltstack-formulas/postgres-formula/commit/69812c1f62b90ba9094c873930ac334edac9a0aa))
|
||||||
|
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
|
||||||
|
* **readme:** fix headings [skip ci] ([c97317c](https://github.com/saltstack-formulas/postgres-formula/commit/c97317c39fe46375a78b478c08210d25461548ff))
|
||||||
|
|
||||||
|
## [0.41.7](https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.6...v0.41.7) (2021-03-26)
|
||||||
|
|
||||||
|
|
||||||
|
### Continuous Integration
|
||||||
|
|
||||||
|
* enable Vagrant-based testing using GitHub Actions ([2ebc9c1](https://github.com/saltstack-formulas/postgres-formula/commit/2ebc9c11da512c8bc2089e8ecb28f5d3e13261f1))
|
||||||
|
* **kitchen+ci:** use latest pre-salted images (after CVE) [skip ci] ([cc43d1c](https://github.com/saltstack-formulas/postgres-formula/commit/cc43d1c90db36c232012bc80b66baa248ece3c42))
|
||||||
|
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
|
||||||
|
* **readme:** add `Testing with Vagrant` section ([ed2d688](https://github.com/saltstack-formulas/postgres-formula/commit/ed2d6884b10725fad55b83de4972e59710f1970f))
|
||||||
|
|
||||||
|
|
||||||
|
### Tests
|
||||||
|
|
||||||
|
* standardise use of `share` suite & `_mapdata` state [skip ci] ([fc53d97](https://github.com/saltstack-formulas/postgres-formula/commit/fc53d977b32290834dc5aa17fe461154b269d38c))
|
||||||
|
|
||||||
|
## [0.41.6](https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.5...v0.41.6) (2021-02-26)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **repo:** check whether pkg_repo is set ([26b2233](https://github.com/saltstack-formulas/postgres-formula/commit/26b223323fa65abee731af04ee9631062a78b308))
|
||||||
|
* **repo:** reorder dependencies to prevent errors ([750d8aa](https://github.com/saltstack-formulas/postgres-formula/commit/750d8aab7a7e386e5ca0a3d546bb5cf12aa4506c))
|
||||||
|
|
||||||
|
|
||||||
|
### Continuous Integration
|
||||||
|
|
||||||
|
* **gemfile+lock:** use `ssf` customised `kitchen-docker` repo [skip ci] ([476b15e](https://github.com/saltstack-formulas/postgres-formula/commit/476b15e326b72a6bbdb9635d612f30b7a51ce7fa))
|
||||||
|
* **kitchen+gitlab-ci:** use latest pre-salted images [skip ci] ([6f04b31](https://github.com/saltstack-formulas/postgres-formula/commit/6f04b3191c6d1354d376473ff6e3ba213d614a4d))
|
||||||
|
* **pre-commit:** update hook for `rubocop` [skip ci] ([e964c26](https://github.com/saltstack-formulas/postgres-formula/commit/e964c26a29e61c5455b880e00195d5a0f55de641))
|
||||||
|
|
||||||
|
|
||||||
|
### Tests
|
||||||
|
|
||||||
|
* **command_spec:** fix `rubocop` violation [skip ci] ([73c39af](https://github.com/saltstack-formulas/postgres-formula/commit/73c39aff5ef9bf5808a251f70504e3b019087f01))
|
||||||
|
* **pillar:** update conditional to include Tumbleweed ([e976ee9](https://github.com/saltstack-formulas/postgres-formula/commit/e976ee9c9924363db400b23cbde914112b6b4349))
|
||||||
|
|
||||||
|
## [0.41.5](https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.4...v0.41.5) (2021-01-07)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **cent7:** postgres11 needs libicu installed ([4c0f796](https://github.com/saltstack-formulas/postgres-formula/commit/4c0f796f00901b88e0ee9d778a5acb2115bf17cb))
|
||||||
|
|
||||||
|
|
||||||
|
### Continuous Integration
|
||||||
|
|
||||||
|
* **commitlint:** ensure `upstream/master` uses main repo URL [skip ci] ([e84389d](https://github.com/saltstack-formulas/postgres-formula/commit/e84389dbb31f04f3eeabfd3935ef193e09e5b562))
|
||||||
|
* **gitlab-ci:** add `rubocop` linter (with `allow_failure`) [skip ci] ([2615411](https://github.com/saltstack-formulas/postgres-formula/commit/2615411ec019600328c330cb4e72de89472f8fc9))
|
||||||
|
|
||||||
|
## [0.41.4](https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.3...v0.41.4) (2020-12-16)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **archlinux:** avoid nonetype error ([0a6cf8f](https://github.com/saltstack-formulas/postgres-formula/commit/0a6cf8fefae1bbd5668a447ced911088ac965475))
|
||||||
|
* **archlinux:** use consistent jinja repo check ([3a955e0](https://github.com/saltstack-formulas/postgres-formula/commit/3a955e02708b23929c93f879bcba0e3fe5ae5666))
|
||||||
|
* **jinja:** syntax correction ([8b44c06](https://github.com/saltstack-formulas/postgres-formula/commit/8b44c068fcfd4199336596bdba095fc0e6c8fb2e))
|
||||||
|
* **python:** use python3 postres on cent7/8 ([d6d1068](https://github.com/saltstack-formulas/postgres-formula/commit/d6d1068395131de08534e387d377389bd078d3ee))
|
||||||
|
* **suse:** version 11+ repo support on suse ([b3f381e](https://github.com/saltstack-formulas/postgres-formula/commit/b3f381e54750a00bb19a4aa50c6273c627dca16c))
|
||||||
|
|
||||||
|
|
||||||
|
### Continuous Integration
|
||||||
|
|
||||||
|
* **gitlab-ci:** use GitLab CI as Travis CI replacement ([a45673a](https://github.com/saltstack-formulas/postgres-formula/commit/a45673a87892deb973afee3689aea4bebd7a5739))
|
||||||
|
* **pre-commit:** add to formula [skip ci] ([db1794b](https://github.com/saltstack-formulas/postgres-formula/commit/db1794b6bbb6ce183e5231cb4b7e7193dcb80143))
|
||||||
|
* **pre-commit:** enable/disable `rstcheck` as relevant [skip ci] ([f04d60a](https://github.com/saltstack-formulas/postgres-formula/commit/f04d60a773461dce98b4f2a7c8abbbab268513a0))
|
||||||
|
* **pre-commit:** finalise `rstcheck` configuration [skip ci] ([7036f60](https://github.com/saltstack-formulas/postgres-formula/commit/7036f60e8ca3857beeca18abe70a3c59b6a021ec))
|
||||||
|
|
||||||
|
## [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)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **mac_shortcut.sh:** fix `shellcheck` error ([d538798](https://github.com/saltstack-formulas/postgres-formula/commit/d538798ee4423ecb72b29bd39e4f35437412ce43))
|
||||||
|
* **release.config.js:** use full commit hash in commit link [skip ci] ([f3ec66d](https://github.com/saltstack-formulas/postgres-formula/commit/f3ec66d5ed90bc9a458fdff2233c9a707f0c9c72))
|
||||||
|
|
||||||
|
|
||||||
|
### Continuous Integration
|
||||||
|
|
||||||
|
* **gemfile:** restrict `train` gem version until upstream fix [skip ci] ([a77bb06](https://github.com/saltstack-formulas/postgres-formula/commit/a77bb06b18823c7db0debd2c4ff135a367f76d04))
|
||||||
|
* **kitchen:** use `develop` image until `master` is ready (`amazonlinux`) [skip ci] ([20e5e46](https://github.com/saltstack-formulas/postgres-formula/commit/20e5e46e1011641714a11756617530b898e3d689))
|
||||||
|
* **kitchen+travis:** upgrade matrix after `2019.2.2` release [skip ci] ([8080be6](https://github.com/saltstack-formulas/postgres-formula/commit/8080be6be3dd0c8799fa102b1235fb151514bced))
|
||||||
|
* **travis:** apply changes from build config validation [skip ci] ([8ce1ee4](https://github.com/saltstack-formulas/postgres-formula/commit/8ce1ee4ecc5dd6a6a14118eda75b3446b6f58d82))
|
||||||
|
* **travis:** opt-in to `dpl v2` to complete build config validation [skip ci] ([bd5959c](https://github.com/saltstack-formulas/postgres-formula/commit/bd5959c60a93e65ea0658f5cb7fd1609bdd3399c))
|
||||||
|
* **travis:** quote pathspecs used with `git ls-files` [skip ci] ([0a2b63a](https://github.com/saltstack-formulas/postgres-formula/commit/0a2b63aba85b09c8983d066cbad7e344de791db1))
|
||||||
|
* **travis:** run `shellcheck` during lint job [skip ci] ([f0d12ca](https://github.com/saltstack-formulas/postgres-formula/commit/f0d12caac67bf7f2049ca7f1b7185912e876cb02))
|
||||||
|
* **travis:** use `major.minor` for `semantic-release` version [skip ci] ([1392538](https://github.com/saltstack-formulas/postgres-formula/commit/1392538665bea2a699836a87a6b749e07276a94d))
|
||||||
|
* **travis:** use build config validation (beta) [skip ci] ([c9a57aa](https://github.com/saltstack-formulas/postgres-formula/commit/c9a57aa96bb80dc27c4722e0f8dc45c77460c03a))
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **codenamemap:** update for current versions ([9cc95c0](https://github.com/saltstack-formulas/postgres-formula/commit/9cc95c020909563486f404b186e15ed71dd8a83a))
|
||||||
|
|
||||||
|
|
||||||
|
### Performance Improvements
|
||||||
|
|
||||||
|
* **travis:** improve `salt-lint` invocation [skip ci] ([ccaf4e5](https://github.com/saltstack-formulas/postgres-formula/commit/ccaf4e5e3729c75c3a5eccbf482e7fca09415fea))
|
||||||
|
|
||||||
## [0.40.5](https://github.com/saltstack-formulas/postgres-formula/compare/v0.40.4...v0.40.5) (2019-10-28)
|
## [0.40.5](https://github.com/saltstack-formulas/postgres-formula/compare/v0.40.4...v0.40.5) (2019-10-28)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
49
CODEOWNERS
Normal file
49
CODEOWNERS
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
# 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/install-hooks @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
|
||||||
|
/*/_mapdata/ @saltstack-formulas/ssf
|
||||||
|
/*/libsaltcli.jinja @saltstack-formulas/ssf
|
||||||
|
/*/libtofs.jinja @saltstack-formulas/ssf
|
||||||
|
/test/integration/**/_mapdata.rb @saltstack-formulas/ssf
|
||||||
|
/test/integration/**/libraries/system.rb @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
|
||||||
|
/.gitlab-ci.yml @saltstack-formulas/ssf
|
||||||
|
/.pre-commit-config.yaml @saltstack-formulas/ssf
|
||||||
|
/.rstcheck.cfg @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
|
||||||
|
/kitchen.vagrant.yml @saltstack-formulas/ssf
|
||||||
|
/kitchen.windows.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.40.5
|
version: 0.43.0
|
||||||
release: 1
|
release: 1
|
||||||
minimum_version: 2016.11
|
minimum_version: 2016.11
|
||||||
summary: Postgres formula
|
summary: Postgres formula
|
||||||
|
|||||||
17
Gemfile
17
Gemfile
@@ -2,6 +2,17 @@
|
|||||||
|
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
gem 'kitchen-docker', '>= 2.9'
|
# Use the latest version of `inspec` prior to `4.23.4`, which introduces a
|
||||||
gem 'kitchen-inspec', '>= 1.1'
|
# regression where the diff isn't displayed when comparing using `eq`.
|
||||||
gem 'kitchen-salt', '>= 0.6.0'
|
gem 'inspec', '~> 4.22.22'
|
||||||
|
# Install the `kitchen-docker` gem using `git` because the latest version
|
||||||
|
# currently available (`2.10.0`) doesn't include a recent fix for Gentoo.
|
||||||
|
# rubocop:disable Layout/LineLength
|
||||||
|
gem 'kitchen-docker', git: 'https://gitlab.com/saltstack-formulas/infrastructure/kitchen-docker', branch: 'ssf'
|
||||||
|
# rubocop:enable Layout/LineLength
|
||||||
|
gem 'kitchen-inspec', '>= 2.5.0'
|
||||||
|
gem 'kitchen-salt', '>= 0.6.3'
|
||||||
|
|
||||||
|
group :vagrant do
|
||||||
|
gem 'kitchen-vagrant'
|
||||||
|
end
|
||||||
|
|||||||
594
Gemfile.lock
Normal file
594
Gemfile.lock
Normal file
@@ -0,0 +1,594 @@
|
|||||||
|
GIT
|
||||||
|
remote: https://gitlab.com/saltstack-formulas/infrastructure/kitchen-docker
|
||||||
|
revision: 1f543f654da5c1774cb8737f6f07a01745520bb5
|
||||||
|
branch: ssf
|
||||||
|
specs:
|
||||||
|
kitchen-docker (2.10.0)
|
||||||
|
test-kitchen (>= 1.0.0)
|
||||||
|
|
||||||
|
GEM
|
||||||
|
remote: https://rubygems.org/
|
||||||
|
specs:
|
||||||
|
activesupport (6.1.4)
|
||||||
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
|
i18n (>= 1.6, < 2)
|
||||||
|
minitest (>= 5.1)
|
||||||
|
tzinfo (~> 2.0)
|
||||||
|
zeitwerk (~> 2.3)
|
||||||
|
addressable (2.8.0)
|
||||||
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
|
aws-eventstream (1.1.1)
|
||||||
|
aws-partitions (1.478.0)
|
||||||
|
aws-sdk-apigateway (1.62.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-apigatewayv2 (1.32.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-applicationautoscaling (1.51.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-athena (1.37.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-autoscaling (1.61.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-batch (1.47.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-budgets (1.38.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudformation (1.53.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudfront (1.53.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudhsm (1.30.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudhsmv2 (1.33.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudtrail (1.35.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudwatch (1.51.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudwatchevents (1.46.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cloudwatchlogs (1.41.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-codecommit (1.42.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-codedeploy (1.40.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-codepipeline (1.44.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cognitoidentity (1.31.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-cognitoidentityprovider (1.51.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-configservice (1.62.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-core (3.117.0)
|
||||||
|
aws-eventstream (~> 1, >= 1.0.2)
|
||||||
|
aws-partitions (~> 1, >= 1.239.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
jmespath (~> 1.0)
|
||||||
|
aws-sdk-costandusagereportservice (1.31.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-databasemigrationservice (1.53.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-dynamodb (1.60.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-ec2 (1.248.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-ecr (1.42.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-ecrpublic (1.3.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-ecs (1.80.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-efs (1.40.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-eks (1.58.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-elasticache (1.57.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-elasticbeanstalk (1.42.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-elasticloadbalancing (1.31.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-elasticloadbalancingv2 (1.62.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-elasticsearchservice (1.52.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-eventbridge (1.24.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-firehose (1.37.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-glue (1.87.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-guardduty (1.45.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-iam (1.56.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-kafka (1.36.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-kinesis (1.32.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-kms (1.44.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-lambda (1.63.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-organizations (1.59.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-ram (1.25.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-rds (1.121.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-redshift (1.65.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-route53 (1.49.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-route53domains (1.30.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-route53resolver (1.26.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-s3 (1.96.1)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sdk-kms (~> 1)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-secretsmanager (1.46.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-securityhub (1.47.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-servicecatalog (1.59.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-ses (1.38.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-shield (1.37.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-sms (1.29.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-sns (1.42.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-sqs (1.40.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-ssm (1.112.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-states (1.39.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sdk-transfer (1.32.0)
|
||||||
|
aws-sdk-core (~> 3, >= 3.112.0)
|
||||||
|
aws-sigv4 (~> 1.1)
|
||||||
|
aws-sigv4 (1.2.4)
|
||||||
|
aws-eventstream (~> 1, >= 1.0.2)
|
||||||
|
azure_graph_rbac (0.17.2)
|
||||||
|
ms_rest_azure (~> 0.12.0)
|
||||||
|
azure_mgmt_key_vault (0.17.7)
|
||||||
|
ms_rest_azure (~> 0.12.0)
|
||||||
|
azure_mgmt_resources (0.18.2)
|
||||||
|
ms_rest_azure (~> 0.12.0)
|
||||||
|
azure_mgmt_security (0.19.0)
|
||||||
|
ms_rest_azure (~> 0.12.0)
|
||||||
|
azure_mgmt_storage (0.23.0)
|
||||||
|
ms_rest_azure (~> 0.12.0)
|
||||||
|
bcrypt_pbkdf (1.1.0)
|
||||||
|
builder (3.2.4)
|
||||||
|
chef-config (17.2.29)
|
||||||
|
addressable
|
||||||
|
chef-utils (= 17.2.29)
|
||||||
|
fuzzyurl
|
||||||
|
mixlib-config (>= 2.2.12, < 4.0)
|
||||||
|
mixlib-shellout (>= 2.0, < 4.0)
|
||||||
|
tomlrb (~> 1.2)
|
||||||
|
chef-telemetry (1.0.29)
|
||||||
|
chef-config
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
chef-utils (17.2.29)
|
||||||
|
concurrent-ruby
|
||||||
|
coderay (1.1.3)
|
||||||
|
concurrent-ruby (1.1.9)
|
||||||
|
declarative (0.0.20)
|
||||||
|
diff-lcs (1.4.4)
|
||||||
|
docker-api (2.2.0)
|
||||||
|
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)
|
||||||
|
erubi (1.10.0)
|
||||||
|
excon (0.84.0)
|
||||||
|
faraday (0.17.4)
|
||||||
|
multipart-post (>= 1.2, < 3)
|
||||||
|
faraday-cookie_jar (0.0.7)
|
||||||
|
faraday (>= 0.8.0)
|
||||||
|
http-cookie (~> 1.0.0)
|
||||||
|
faraday_middleware (0.12.2)
|
||||||
|
faraday (>= 0.7.4, < 1.0)
|
||||||
|
ffi (1.15.3)
|
||||||
|
fuzzyurl (0.9.0)
|
||||||
|
google-api-client (0.52.0)
|
||||||
|
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)
|
||||||
|
rexml
|
||||||
|
signet (~> 0.12)
|
||||||
|
googleauth (0.14.0)
|
||||||
|
faraday (>= 0.17.3, < 2.0)
|
||||||
|
jwt (>= 1.4, < 3.0)
|
||||||
|
memoist (~> 0.16)
|
||||||
|
multi_json (~> 1.11)
|
||||||
|
os (>= 0.9, < 2.0)
|
||||||
|
signet (~> 0.14)
|
||||||
|
gssapi (1.3.1)
|
||||||
|
ffi (>= 1.0.1)
|
||||||
|
gyoku (1.3.1)
|
||||||
|
builder (>= 2.1.2)
|
||||||
|
hana (1.3.7)
|
||||||
|
hashie (3.6.0)
|
||||||
|
http-cookie (1.0.4)
|
||||||
|
domain_name (~> 0.5)
|
||||||
|
httpclient (2.8.3)
|
||||||
|
i18n (1.8.10)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
inifile (3.0.0)
|
||||||
|
inspec (4.22.22)
|
||||||
|
faraday_middleware (~> 0.12.2)
|
||||||
|
inspec-core (= 4.22.22)
|
||||||
|
train (~> 3.0)
|
||||||
|
train-aws (~> 0.1)
|
||||||
|
train-habitat (~> 0.1)
|
||||||
|
train-winrm (~> 0.2)
|
||||||
|
inspec-core (4.22.22)
|
||||||
|
addressable (~> 2.4)
|
||||||
|
chef-telemetry (~> 1.0)
|
||||||
|
faraday (>= 0.9.0)
|
||||||
|
hashie (~> 3.4)
|
||||||
|
json_schemer (>= 0.2.1, < 0.2.12)
|
||||||
|
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)
|
||||||
|
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.5.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.3)
|
||||||
|
kitchen-inspec (2.5.0)
|
||||||
|
hashie (>= 3.4, <= 5.0)
|
||||||
|
inspec (>= 2.2.64, < 5.0)
|
||||||
|
test-kitchen (>= 2.7, < 4)
|
||||||
|
kitchen-salt (0.6.3)
|
||||||
|
hashie (>= 3.5)
|
||||||
|
test-kitchen (>= 1.4)
|
||||||
|
kitchen-vagrant (1.9.0)
|
||||||
|
test-kitchen (>= 1.4, < 4)
|
||||||
|
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.1.0)
|
||||||
|
minitest (5.14.4)
|
||||||
|
mixlib-config (3.0.9)
|
||||||
|
tomlrb
|
||||||
|
mixlib-install (3.12.11)
|
||||||
|
mixlib-shellout
|
||||||
|
mixlib-versioning
|
||||||
|
thor
|
||||||
|
mixlib-log (3.0.9)
|
||||||
|
mixlib-shellout (3.2.5)
|
||||||
|
chef-utils
|
||||||
|
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.15.0)
|
||||||
|
multipart-post (2.1.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.1)
|
||||||
|
parallel (1.20.1)
|
||||||
|
parslet (1.8.2)
|
||||||
|
pastel (0.8.0)
|
||||||
|
tty-color (~> 0.5)
|
||||||
|
pry (0.14.1)
|
||||||
|
coderay (~> 1.1)
|
||||||
|
method_source (~> 1.0)
|
||||||
|
public_suffix (4.0.6)
|
||||||
|
regexp_parser (1.8.2)
|
||||||
|
representable (3.1.1)
|
||||||
|
declarative (< 0.1.0)
|
||||||
|
trailblazer-option (>= 0.1.1, < 0.2.0)
|
||||||
|
uber (< 0.2.0)
|
||||||
|
retriable (3.1.2)
|
||||||
|
rexml (3.2.5)
|
||||||
|
rspec (3.10.0)
|
||||||
|
rspec-core (~> 3.10.0)
|
||||||
|
rspec-expectations (~> 3.10.0)
|
||||||
|
rspec-mocks (~> 3.10.0)
|
||||||
|
rspec-core (3.10.1)
|
||||||
|
rspec-support (~> 3.10.0)
|
||||||
|
rspec-expectations (3.10.1)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.10.0)
|
||||||
|
rspec-its (1.3.0)
|
||||||
|
rspec-core (>= 3.0.0)
|
||||||
|
rspec-expectations (>= 3.0.0)
|
||||||
|
rspec-mocks (3.10.2)
|
||||||
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
|
rspec-support (~> 3.10.0)
|
||||||
|
rspec-support (3.10.2)
|
||||||
|
rubyntlm (0.6.3)
|
||||||
|
rubyzip (1.3.0)
|
||||||
|
semverse (3.0.0)
|
||||||
|
signet (0.15.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.2.1)
|
||||||
|
strings-ansi (~> 0.2)
|
||||||
|
unicode-display_width (>= 1.5, < 3.0)
|
||||||
|
unicode_utils (~> 1.4)
|
||||||
|
strings-ansi (0.2.0)
|
||||||
|
test-kitchen (3.0.0)
|
||||||
|
bcrypt_pbkdf (~> 1.0)
|
||||||
|
chef-utils (>= 16.4.35)
|
||||||
|
ed25519 (~> 1.2)
|
||||||
|
license-acceptance (>= 1.0.11, < 3.0)
|
||||||
|
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.1.0)
|
||||||
|
timeliness (0.3.10)
|
||||||
|
tomlrb (1.2.9)
|
||||||
|
trailblazer-option (0.1.1)
|
||||||
|
train (3.7.4)
|
||||||
|
activesupport (>= 6.0.3.1)
|
||||||
|
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, < 3.0)
|
||||||
|
google-api-client (>= 0.23.9, <= 0.52.0)
|
||||||
|
googleauth (>= 0.6.6, <= 0.14.0)
|
||||||
|
inifile (~> 3.0)
|
||||||
|
train-core (= 3.7.4)
|
||||||
|
train-winrm (~> 0.2)
|
||||||
|
train-aws (0.2.8)
|
||||||
|
aws-sdk-apigateway (~> 1.0)
|
||||||
|
aws-sdk-apigatewayv2 (~> 1.0)
|
||||||
|
aws-sdk-applicationautoscaling (>= 1.46, < 1.52)
|
||||||
|
aws-sdk-athena (~> 1.0)
|
||||||
|
aws-sdk-autoscaling (>= 1.22, < 1.62)
|
||||||
|
aws-sdk-batch (>= 1.36, < 1.48)
|
||||||
|
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-cloudwatchevents (>= 1.36, < 1.47)
|
||||||
|
aws-sdk-cloudwatchlogs (~> 1.13)
|
||||||
|
aws-sdk-codecommit (~> 1.0)
|
||||||
|
aws-sdk-codedeploy (~> 1.0)
|
||||||
|
aws-sdk-codepipeline (~> 1.0)
|
||||||
|
aws-sdk-cognitoidentity (>= 1.26, < 1.32)
|
||||||
|
aws-sdk-cognitoidentityprovider (>= 1.46, < 1.52)
|
||||||
|
aws-sdk-configservice (~> 1.21)
|
||||||
|
aws-sdk-core (~> 3.0)
|
||||||
|
aws-sdk-costandusagereportservice (~> 1.6)
|
||||||
|
aws-sdk-databasemigrationservice (>= 1.42, < 1.54)
|
||||||
|
aws-sdk-dynamodb (~> 1.31)
|
||||||
|
aws-sdk-ec2 (~> 1.70)
|
||||||
|
aws-sdk-ecr (~> 1.18)
|
||||||
|
aws-sdk-ecrpublic (~> 1.3)
|
||||||
|
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-eventbridge (~> 1.24.0)
|
||||||
|
aws-sdk-firehose (~> 1.0)
|
||||||
|
aws-sdk-glue (>= 1.71, < 1.88)
|
||||||
|
aws-sdk-guardduty (~> 1.31)
|
||||||
|
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, < 1.60)
|
||||||
|
aws-sdk-ram (>= 1.21, < 1.26)
|
||||||
|
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-secretsmanager (>= 1.42, < 1.47)
|
||||||
|
aws-sdk-securityhub (~> 1.0)
|
||||||
|
aws-sdk-servicecatalog (>= 1.48, < 1.60)
|
||||||
|
aws-sdk-ses (~> 1.0)
|
||||||
|
aws-sdk-shield (~> 1.30)
|
||||||
|
aws-sdk-sms (~> 1.0)
|
||||||
|
aws-sdk-sns (~> 1.9)
|
||||||
|
aws-sdk-sqs (~> 1.10)
|
||||||
|
aws-sdk-ssm (~> 1.0)
|
||||||
|
aws-sdk-states (>= 1.35, < 1.40)
|
||||||
|
aws-sdk-transfer (>= 1.26, < 1.33)
|
||||||
|
train-core (3.7.4)
|
||||||
|
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.22)
|
||||||
|
train-winrm (0.2.12)
|
||||||
|
winrm (>= 2.3.6, < 3.0)
|
||||||
|
winrm-elevated (~> 1.2.2)
|
||||||
|
winrm-fs (~> 1.0)
|
||||||
|
tty-box (0.7.0)
|
||||||
|
pastel (~> 0.8)
|
||||||
|
strings (~> 0.2.0)
|
||||||
|
tty-cursor (~> 0.7)
|
||||||
|
tty-color (0.6.0)
|
||||||
|
tty-cursor (0.7.1)
|
||||||
|
tty-prompt (0.23.1)
|
||||||
|
pastel (~> 0.8)
|
||||||
|
tty-reader (~> 0.8)
|
||||||
|
tty-reader (0.9.0)
|
||||||
|
tty-cursor (~> 0.7)
|
||||||
|
tty-screen (~> 0.8)
|
||||||
|
wisper (~> 2.0)
|
||||||
|
tty-screen (0.8.1)
|
||||||
|
tty-table (0.12.0)
|
||||||
|
pastel (~> 0.8)
|
||||||
|
strings (~> 0.2.0)
|
||||||
|
tty-screen (~> 0.8)
|
||||||
|
tzinfo (2.0.4)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
|
uber (0.1.0)
|
||||||
|
unf (0.1.4)
|
||||||
|
unf_ext
|
||||||
|
unf_ext (0.0.7.7)
|
||||||
|
unicode-display_width (2.0.0)
|
||||||
|
unicode_utils (1.4.0)
|
||||||
|
uri_template (0.7.0)
|
||||||
|
winrm (2.3.6)
|
||||||
|
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.3)
|
||||||
|
winrm-elevated (1.2.3)
|
||||||
|
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)
|
||||||
|
zeitwerk (2.4.2)
|
||||||
|
|
||||||
|
PLATFORMS
|
||||||
|
ruby
|
||||||
|
|
||||||
|
DEPENDENCIES
|
||||||
|
inspec (~> 4.22.22)
|
||||||
|
kitchen-docker!
|
||||||
|
kitchen-inspec (>= 2.5.0)
|
||||||
|
kitchen-salt (>= 0.6.3)
|
||||||
|
kitchen-vagrant
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
2.1.2
|
||||||
16
bin/install-hooks
Executable file
16
bin/install-hooks
Executable file
@@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
set -o nounset # Treat unset variables as an error and immediately exit
|
||||||
|
set -o errexit # If a command fails exit the whole script
|
||||||
|
|
||||||
|
if [ "${DEBUG:-false}" = "true" ]; then
|
||||||
|
set -x # Run the entire script in debug mode
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! command -v pre-commit >/dev/null 2>&1; then
|
||||||
|
echo "pre-commit not found: please install or check your PATH" >&2
|
||||||
|
echo "See https://pre-commit.com/#installation" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
pre-commit install --install-hooks
|
||||||
|
pre-commit install --hook-type commit-msg --install-hooks
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@commitlint/config-conventional'],
|
extends: ['@commitlint/config-conventional'],
|
||||||
|
rules: {
|
||||||
|
'body-max-line-length': [2, 'always', 120],
|
||||||
|
'footer-max-line-length': [2, 'always', 120],
|
||||||
|
'header-max-length': [2, 'always', 72],
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
158
docs/AUTHORS.rst
158
docs/AUTHORS.rst
@@ -13,197 +13,203 @@ This list is sorted by the number of commits per contributor in *descending* ord
|
|||||||
* - Avatar
|
* - Avatar
|
||||||
- Contributor
|
- Contributor
|
||||||
- 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://avatars.githubusercontent.com/u/10231489?v=4' width='36' height='36' alt='@myii'>`
|
||||||
- `@myii <https://github.com/myii>`_
|
- `@myii <https://github.com/myii>`_
|
||||||
- 83
|
- 166
|
||||||
* - :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://avatars.githubusercontent.com/u/13322818?v=4' width='36' height='36' alt='@noelmcloughlin'>`
|
||||||
- `@noelmcloughlin <https://github.com/noelmcloughlin>`_
|
- `@noelmcloughlin <https://github.com/noelmcloughlin>`_
|
||||||
- 62
|
- 78
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/1800660?v=4' width='36' height='36' alt='@aboe76'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1800660?v=4' width='36' height='36' alt='@aboe76'>`
|
||||||
- `@aboe76 <https://github.com/aboe76>`_
|
- `@aboe76 <https://github.com/aboe76>`_
|
||||||
- 54
|
- 54
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/1396878?v=4' width='36' height='36' alt='@gravyboat'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1396878?v=4' width='36' height='36' alt='@gravyboat'>`
|
||||||
- `@gravyboat <https://github.com/gravyboat>`_
|
- `@gravyboat <https://github.com/gravyboat>`_
|
||||||
- 41
|
- 41
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/16338056?v=4' width='36' height='36' alt='@vutny'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/242396?v=4' width='36' height='36' alt='@javierbertoli'>`
|
||||||
- `@vutny <https://github.com/vutny>`_
|
|
||||||
- 31
|
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/242396?v=4' width='36' height='36' alt='@javierbertoli'>`
|
|
||||||
- `@javierbertoli <https://github.com/javierbertoli>`_
|
- `@javierbertoli <https://github.com/javierbertoli>`_
|
||||||
- 19
|
- 21
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/3374962?v=4' width='36' height='36' alt='@nmadhok'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/3374962?v=4' width='36' height='36' alt='@nmadhok'>`
|
||||||
- `@nmadhok <https://github.com/nmadhok>`_
|
- `@nmadhok <https://github.com/nmadhok>`_
|
||||||
- 19
|
- 19
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/528061?v=4' width='36' height='36' alt='@puneetk'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/16338056?v=4' width='36' height='36' alt='@vutny'>`
|
||||||
|
- `@vutny <https://github.com/vutny>`_
|
||||||
|
- 18
|
||||||
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/528061?v=4' width='36' height='36' alt='@puneetk'>`
|
||||||
- `@puneetk <https://github.com/puneetk>`_
|
- `@puneetk <https://github.com/puneetk>`_
|
||||||
- 11
|
- 11
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/745513?v=4' width='36' height='36' alt='@EvaSDK'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/745513?v=4' width='36' height='36' alt='@EvaSDK'>`
|
||||||
- `@EvaSDK <https://github.com/EvaSDK>`_
|
- `@EvaSDK <https://github.com/EvaSDK>`_
|
||||||
- 9
|
- 9
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/1713422?v=4' width='36' height='36' alt='@dferrantelli'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1713422?v=4' width='36' height='36' alt='@dferramosi'>`
|
||||||
- `@dferrantelli <https://github.com/dferrantelli>`_
|
- `@dferramosi <https://github.com/dferramosi>`_
|
||||||
- 8
|
- 8
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/5306980?v=4' width='36' height='36' alt='@johnkeates'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/5306980?v=4' width='36' height='36' alt='@johnkeates'>`
|
||||||
- `@johnkeates <https://github.com/johnkeates>`_
|
- `@johnkeates <https://github.com/johnkeates>`_
|
||||||
- 8
|
- 8
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/91293?v=4' width='36' height='36' alt='@whiteinge'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/91293?v=4' width='36' height='36' alt='@whiteinge'>`
|
||||||
- `@whiteinge <https://github.com/whiteinge>`_
|
- `@whiteinge <https://github.com/whiteinge>`_
|
||||||
- 8
|
- 8
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/117961?v=4' width='36' height='36' alt='@babilen5'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/117961?v=4' width='36' height='36' alt='@babilen5'>`
|
||||||
- `@babilen5 <https://github.com/babilen5>`_
|
- `@babilen5 <https://github.com/babilen5>`_
|
||||||
- 8
|
- 8
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/20441?v=4' width='36' height='36' alt='@iggy'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/20441?v=4' width='36' height='36' alt='@iggy'>`
|
||||||
- `@iggy <https://github.com/iggy>`_
|
- `@iggy <https://github.com/iggy>`_
|
||||||
- 7
|
- 7
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/13106485?v=4' width='36' height='36' alt='@dynjnelson'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/13106485?v=4' width='36' height='36' alt='@dynjnelson'>`
|
||||||
- `@dynjnelson <https://github.com/dynjnelson>`_
|
- `@dynjnelson <https://github.com/dynjnelson>`_
|
||||||
- 7
|
- 7
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/3449635?v=4' width='36' height='36' alt='@rominf'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/3449635?v=4' width='36' height='36' alt='@rominf'>`
|
||||||
- `@rominf <https://github.com/rominf>`_
|
- `@rominf <https://github.com/rominf>`_
|
||||||
- 7
|
- 7
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/223763?v=4' width='36' height='36' alt='@alfredopalhares'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1920805?v=4' width='36' height='36' alt='@alxwr'>`
|
||||||
- `@alfredopalhares <https://github.com/alfredopalhares>`_
|
|
||||||
- 6
|
|
||||||
* - :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://avatars.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://avatars.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>`_
|
||||||
- 5
|
- 5
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/2179770?v=4' width='36' height='36' alt='@gilou'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/2179770?v=4' width='36' height='36' alt='@gilou'>`
|
||||||
- `@gilou <https://github.com/gilou>`_
|
- `@gilou <https://github.com/gilou>`_
|
||||||
- 5
|
- 5
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/287147?v=4' width='36' height='36' alt='@techhat'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/287147?v=4' width='36' height='36' alt='@techhat'>`
|
||||||
- `@techhat <https://github.com/techhat>`_
|
- `@techhat <https://github.com/techhat>`_
|
||||||
- 5
|
- 5
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/2995329?v=4' width='36' height='36' alt='@t0fik'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/2995329?v=4' width='36' height='36' alt='@t0fik'>`
|
||||||
- `@t0fik <https://github.com/t0fik>`_
|
- `@t0fik <https://github.com/t0fik>`_
|
||||||
- 5
|
- 5
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/3768412?v=4' width='36' height='36' alt='@stp-ip'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/3768412?v=4' width='36' height='36' alt='@stp-ip'>`
|
||||||
- `@stp-ip <https://github.com/stp-ip>`_
|
- `@stp-ip <https://github.com/stp-ip>`_
|
||||||
- 4
|
- 4
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/1435085?v=4' width='36' height='36' alt='@blbradley'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1435085?v=4' width='36' height='36' alt='@blbradley'>`
|
||||||
- `@blbradley <https://github.com/blbradley>`_
|
- `@blbradley <https://github.com/blbradley>`_
|
||||||
- 3
|
- 3
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/2192630?v=4' width='36' height='36' alt='@abrefort'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/4195158?v=4' width='36' height='36' alt='@dafyddj'>`
|
||||||
|
- `@dafyddj <https://github.com/dafyddj>`_
|
||||||
|
- 3
|
||||||
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/2192630?v=4' width='36' height='36' alt='@abrefort'>`
|
||||||
- `@abrefort <https://github.com/abrefort>`_
|
- `@abrefort <https://github.com/abrefort>`_
|
||||||
- 3
|
- 3
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/296940?v=4' width='36' height='36' alt='@renoirb'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/296940?v=4' width='36' height='36' alt='@renoirb'>`
|
||||||
- `@renoirb <https://github.com/renoirb>`_
|
- `@renoirb <https://github.com/renoirb>`_
|
||||||
- 3
|
- 3
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/1078927?v=4' width='36' height='36' alt='@Ken-2scientists'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1078927?v=4' width='36' height='36' alt='@Ken-2scientists'>`
|
||||||
- `@Ken-2scientists <https://github.com/Ken-2scientists>`_
|
- `@Ken-2scientists <https://github.com/Ken-2scientists>`_
|
||||||
- 2
|
- 2
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/22311?v=4' width='36' height='36' alt='@madssj'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/22311?v=4' width='36' height='36' alt='@madssj'>`
|
||||||
- `@madssj <https://github.com/madssj>`_
|
- `@madssj <https://github.com/madssj>`_
|
||||||
- 2
|
- 2
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/102919?v=4' width='36' height='36' alt='@h3'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/102919?v=4' width='36' height='36' alt='@h3'>`
|
||||||
- `@h3 <https://github.com/h3>`_
|
- `@h3 <https://github.com/h3>`_
|
||||||
- 2
|
- 2
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/6415605?v=4' width='36' height='36' alt='@tgoodaire'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/6415605?v=4' width='36' height='36' alt='@tgoodaire'>`
|
||||||
- `@tgoodaire <https://github.com/tgoodaire>`_
|
- `@tgoodaire <https://github.com/tgoodaire>`_
|
||||||
- 2
|
- 2
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/26276?v=4' width='36' height='36' alt='@durana'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/46799934?v=4' width='36' height='36' alt='@sticky-note'>`
|
||||||
|
- `@sticky-note <https://github.com/sticky-note>`_
|
||||||
|
- 2
|
||||||
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/26276?v=4' width='36' height='36' alt='@durana'>`
|
||||||
- `@durana <https://github.com/durana>`_
|
- `@durana <https://github.com/durana>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/1922124?v=4' width='36' height='36' alt='@bebosudo'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1922124?v=4' width='36' height='36' alt='@bebosudo'>`
|
||||||
- `@bebosudo <https://github.com/bebosudo>`_
|
- `@bebosudo <https://github.com/bebosudo>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/7353491?v=4' width='36' height='36' alt='@coffee-powered-coder'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/7353491?v=4' width='36' height='36' alt='@sarcastic-coder'>`
|
||||||
- `@coffee-powered-coder <https://github.com/coffee-powered-coder>`_
|
- `@sarcastic-coder <https://github.com/sarcastic-coder>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/458548?v=4' width='36' height='36' alt='@SuperTux88'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/458548?v=4' width='36' height='36' alt='@SuperTux88'>`
|
||||||
- `@SuperTux88 <https://github.com/SuperTux88>`_
|
- `@SuperTux88 <https://github.com/SuperTux88>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/36720?v=4' width='36' height='36' alt='@brot'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/36720?v=4' width='36' height='36' alt='@brot'>`
|
||||||
- `@brot <https://github.com/brot>`_
|
- `@brot <https://github.com/brot>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/1020898?v=4' width='36' height='36' alt='@xbglowx'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1020898?v=4' width='36' height='36' alt='@xbglowx'>`
|
||||||
- `@xbglowx <https://github.com/xbglowx>`_
|
- `@xbglowx <https://github.com/xbglowx>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/83323?v=4' width='36' height='36' alt='@cro'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/83323?v=4' width='36' height='36' alt='@cro'>`
|
||||||
- `@cro <https://github.com/cro>`_
|
- `@cro <https://github.com/cro>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/8599847?v=4' width='36' height='36' alt='@campbellmc'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/8599847?v=4' width='36' height='36' alt='@campbellmc'>`
|
||||||
- `@campbellmc <https://github.com/campbellmc>`_
|
- `@campbellmc <https://github.com/campbellmc>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/306240?v=4' width='36' height='36' alt='@UtahDave'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1233212?v=4' width='36' height='36' alt='@baby-gnu'>`
|
||||||
|
- `@baby-gnu <https://github.com/baby-gnu>`_
|
||||||
|
- 1
|
||||||
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/306240?v=4' width='36' height='36' alt='@UtahDave'>`
|
||||||
- `@UtahDave <https://github.com/UtahDave>`_
|
- `@UtahDave <https://github.com/UtahDave>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/215487?v=4' width='36' height='36' alt='@fcrozat'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/215487?v=4' width='36' height='36' alt='@fcrozat'>`
|
||||||
- `@fcrozat <https://github.com/fcrozat>`_
|
- `@fcrozat <https://github.com/fcrozat>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/1468874?v=4' width='36' height='36' alt='@Laogeodritt'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1468874?v=4' width='36' height='36' alt='@Laogeodritt'>`
|
||||||
- `@Laogeodritt <https://github.com/Laogeodritt>`_
|
- `@Laogeodritt <https://github.com/Laogeodritt>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/650691?v=4' width='36' height='36' alt='@itbabu'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/650691?v=4' width='36' height='36' alt='@itbabu'>`
|
||||||
- `@itbabu <https://github.com/itbabu>`_
|
- `@itbabu <https://github.com/itbabu>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/296523?v=4' width='36' height='36' alt='@mkotsbak'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/296523?v=4' width='36' height='36' alt='@mkotsbak'>`
|
||||||
- `@mkotsbak <https://github.com/mkotsbak>`_
|
- `@mkotsbak <https://github.com/mkotsbak>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/1331128?v=4' width='36' height='36' alt='@mattysads'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1331128?v=4' width='36' height='36' alt='@mattysads'>`
|
||||||
- `@mattysads <https://github.com/mattysads>`_
|
- `@mattysads <https://github.com/mattysads>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/3705387?v=4' width='36' height='36' alt='@mbrannigan'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/3705387?v=4' width='36' height='36' alt='@mbrannigan'>`
|
||||||
- `@mbrannigan <https://github.com/mbrannigan>`_
|
- `@mbrannigan <https://github.com/mbrannigan>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/3433835?v=4' width='36' height='36' alt='@n-rodriguez'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/3433835?v=4' width='36' height='36' alt='@n-rodriguez'>`
|
||||||
- `@n-rodriguez <https://github.com/n-rodriguez>`_
|
- `@n-rodriguez <https://github.com/n-rodriguez>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/8399114?v=4' width='36' height='36' alt='@fortunejuggle'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/8399114?v=4' width='36' height='36' alt='@fortunejuggle'>`
|
||||||
- `@fortunejuggle <https://github.com/fortunejuggle>`_
|
- `@fortunejuggle <https://github.com/fortunejuggle>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/219695?v=4' width='36' height='36' alt='@rmoorman'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/152786?v=4' width='36' height='36' alt='@droope'>`
|
||||||
|
- `@droope <https://github.com/droope>`_
|
||||||
|
- 1
|
||||||
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/219695?v=4' width='36' height='36' alt='@rmoorman'>`
|
||||||
- `@rmoorman <https://github.com/rmoorman>`_
|
- `@rmoorman <https://github.com/rmoorman>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/154676?v=4' width='36' height='36' alt='@skurfer'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/154676?v=4' width='36' height='36' alt='@skurfer'>`
|
||||||
- `@skurfer <https://github.com/skurfer>`_
|
- `@skurfer <https://github.com/skurfer>`_
|
||||||
- 1
|
- 1
|
||||||
* - :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://avatars.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'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/10464711?v=4' width='36' height='36' alt='@sbrefort'>`
|
||||||
- `@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'>`
|
|
||||||
- `@sbrefort <https://github.com/sbrefort>`_
|
- `@sbrefort <https://github.com/sbrefort>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars2.githubusercontent.com/u/125458?v=4' width='36' height='36' alt='@sbellem'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/125458?v=4' width='36' height='36' alt='@sbellem'>`
|
||||||
- `@sbellem <https://github.com/sbellem>`_
|
- `@sbellem <https://github.com/sbellem>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/500703?v=4' width='36' height='36' alt='@retrry'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/500703?v=4' width='36' height='36' alt='@retrry'>`
|
||||||
- `@retrry <https://github.com/retrry>`_
|
- `@retrry <https://github.com/retrry>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/2814878?v=4' width='36' height='36' alt='@thomasrossetto'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/2814878?v=4' width='36' height='36' alt='@thomasrossetto'>`
|
||||||
- `@thomasrossetto <https://github.com/thomasrossetto>`_
|
- `@thomasrossetto <https://github.com/thomasrossetto>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/507599?v=4' width='36' height='36' alt='@thatch45'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/507599?v=4' width='36' height='36' alt='@thatch45'>`
|
||||||
- `@thatch45 <https://github.com/thatch45>`_
|
- `@thatch45 <https://github.com/thatch45>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars1.githubusercontent.com/u/444668?v=4' width='36' height='36' alt='@tobio'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/444668?v=4' width='36' height='36' alt='@tobio'>`
|
||||||
- `@tobio <https://github.com/tobio>`_
|
- `@tobio <https://github.com/tobio>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/2097647?v=4' width='36' height='36' alt='@XRasher'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/2097647?v=4' width='36' height='36' alt='@XRasher'>`
|
||||||
- `@XRasher <https://github.com/XRasher>`_
|
- `@XRasher <https://github.com/XRasher>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars3.githubusercontent.com/u/8005290?v=4' width='36' height='36' alt='@YetAnotherMinion'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/8005290?v=4' width='36' height='36' alt='@YetAnotherMinion'>`
|
||||||
- `@YetAnotherMinion <https://github.com/YetAnotherMinion>`_
|
- `@YetAnotherMinion <https://github.com/YetAnotherMinion>`_
|
||||||
- 1
|
- 1
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars0.githubusercontent.com/u/17393048?v=4' width='36' height='36' alt='@ek9'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/17393048?v=4' width='36' height='36' alt='@ek9'>`
|
||||||
- `@ek9 <https://github.com/ek9>`_
|
- `@ek9 <https://github.com/ek9>`_
|
||||||
- 1
|
- 1
|
||||||
* - :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://avatars.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://avatars3.githubusercontent.com/u/52996?v=4' width='36' height='36' alt='@daks'>`
|
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/52996?v=4' width='36' height='36' alt='@daks'>`
|
||||||
- `@daks <https://github.com/daks>`_
|
- `@daks <https://github.com/daks>`_
|
||||||
- 1
|
- 1
|
||||||
|
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
Auto-generated by a `forked version <https://github.com/myii/maintainer>`_ of `gaocegege/maintainer <https://github.com/gaocegege/maintainer>`_ on 2019-10-28.
|
Auto-generated by a `forked version <https://github.com/myii/maintainer>`_ of `gaocegege/maintainer <https://github.com/gaocegege/maintainer>`_ on 2021-07-20.
|
||||||
|
|||||||
@@ -2,6 +2,271 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
`0.43.0 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.42.0...v0.43.0>`_ (2021-07-20)
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **redhat:** fix ``pkg_deps`` to be able to install PostgreSQL 13 (\ `060c8df <https://github.com/saltstack-formulas/postgres-formula/commit/060c8df630ea4077a3d5a2b301fed56ed6ce1a45>`_\ )
|
||||||
|
|
||||||
|
Continuous Integration
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* add Debian 11 Bullseye & update ``yamllint`` configuration [skip ci] (\ `1fa7c66 <https://github.com/saltstack-formulas/postgres-formula/commit/1fa7c66b8361357fc5372552ec713fd2dca15883>`_\ )
|
||||||
|
* use ``default`` & ``repo`` InSpec suites (\ `a6c8197 <https://github.com/saltstack-formulas/postgres-formula/commit/a6c81972a2c722d1dc3637acb412a8e1e513c998>`_\ )
|
||||||
|
* **kitchen:** move ``provisioner`` block & update ``run_command`` [skip ci] (\ `e9da40b <https://github.com/saltstack-formulas/postgres-formula/commit/e9da40b5707d1e3d7f55f0b526e89c917418d4f5>`_\ )
|
||||||
|
|
||||||
|
Features
|
||||||
|
^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **codenamemap:** update to current supported Fedora versions (\ `8a11bd6 <https://github.com/saltstack-formulas/postgres-formula/commit/8a11bd679a8a6175c796294dd0a5c759725de25d>`_\ )
|
||||||
|
|
||||||
|
Tests
|
||||||
|
^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **inspec:** move common controls to the ``share`` profile (\ `2214096 <https://github.com/saltstack-formulas/postgres-formula/commit/221409636290444aa06ef9e59fd324b94412a635>`_\ )
|
||||||
|
* **inspec:** rename all files to avoid unnecessary ``_spec`` suffix (\ `a1837c2 <https://github.com/saltstack-formulas/postgres-formula/commit/a1837c24f1b5210964e74f576805470f6db1a0cf>`_\ )
|
||||||
|
* **pillar:** use separate pillars to test ``default`` & ``repo`` suites (\ `27473b9 <https://github.com/saltstack-formulas/postgres-formula/commit/27473b9865e8d716aa991cd33e9e186815933483>`_\ )
|
||||||
|
|
||||||
|
`0.42.0 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.9...v0.42.0>`_ (2021-07-15)
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Features
|
||||||
|
^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **debian:** add bullseye support (\ `216192d <https://github.com/saltstack-formulas/postgres-formula/commit/216192dece7d275e189666c55d76456fbdde1b57>`_\ )
|
||||||
|
|
||||||
|
`0.41.9 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.8...v0.41.9>`_ (2021-07-06)
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **osmap.yaml:** fix PGDG repo file creation for Amazon Linux (\ `2de775b <https://github.com/saltstack-formulas/postgres-formula/commit/2de775be1e3e77b2bd71cb0a0a6fa587498c10e7>`_\ )
|
||||||
|
|
||||||
|
Continuous Integration
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **3003.1:** update inc. AlmaLinux, Rocky & ``rst-lint`` [skip ci] (\ `d16e91c <https://github.com/saltstack-formulas/postgres-formula/commit/d16e91ceb03411f58c98cbb919f65b3f3eb4abbb>`_\ )
|
||||||
|
* **kitchen+gitlab:** remove Ubuntu 16.04 & Fedora 32 (EOL) [skip ci] (\ `b690bab <https://github.com/saltstack-formulas/postgres-formula/commit/b690bab978901f9bea7c9b043ebce5a8f520f4b9>`_\ )
|
||||||
|
|
||||||
|
`0.41.8 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.7...v0.41.8>`_ (2021-05-25)
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **jinja:** use json filter (\ `eb63ec8 <https://github.com/saltstack-formulas/postgres-formula/commit/eb63ec85e0f2d15f929ffbf1d483211b7bf4e595>`_\ )
|
||||||
|
|
||||||
|
Continuous Integration
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* add ``arch-master`` to matrix and update ``.travis.yml`` [skip ci] (\ `79feefa <https://github.com/saltstack-formulas/postgres-formula/commit/79feefa7519a5674496b8abfdc68e7baad75f950>`_\ )
|
||||||
|
* **kitchen+gitlab:** adjust matrix to add ``3003`` [skip ci] (\ `fd8f0e5 <https://github.com/saltstack-formulas/postgres-formula/commit/fd8f0e5db5c67f21c16910ab3ed696d59a7eeee2>`_\ )
|
||||||
|
* **vagrant:** add FreeBSD 13.0 [skip ci] (\ `93bb123 <https://github.com/saltstack-formulas/postgres-formula/commit/93bb123ea1a8e5037c8898777ba90338979e802f>`_\ )
|
||||||
|
* **vagrant:** use pre-salted boxes & conditional local settings [skip ci] (\ `69812c1 <https://github.com/saltstack-formulas/postgres-formula/commit/69812c1f62b90ba9094c873930ac334edac9a0aa>`_\ )
|
||||||
|
|
||||||
|
Documentation
|
||||||
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **readme:** fix headings [skip ci] (\ `c97317c <https://github.com/saltstack-formulas/postgres-formula/commit/c97317c39fe46375a78b478c08210d25461548ff>`_\ )
|
||||||
|
|
||||||
|
`0.41.7 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.6...v0.41.7>`_ (2021-03-26)
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Continuous Integration
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* enable Vagrant-based testing using GitHub Actions (\ `2ebc9c1 <https://github.com/saltstack-formulas/postgres-formula/commit/2ebc9c11da512c8bc2089e8ecb28f5d3e13261f1>`_\ )
|
||||||
|
* **kitchen+ci:** use latest pre-salted images (after CVE) [skip ci] (\ `cc43d1c <https://github.com/saltstack-formulas/postgres-formula/commit/cc43d1c90db36c232012bc80b66baa248ece3c42>`_\ )
|
||||||
|
|
||||||
|
Documentation
|
||||||
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **readme:** add ``Testing with Vagrant`` section (\ `ed2d688 <https://github.com/saltstack-formulas/postgres-formula/commit/ed2d6884b10725fad55b83de4972e59710f1970f>`_\ )
|
||||||
|
|
||||||
|
Tests
|
||||||
|
^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* standardise use of ``share`` suite & ``_mapdata`` state [skip ci] (\ `fc53d97 <https://github.com/saltstack-formulas/postgres-formula/commit/fc53d977b32290834dc5aa17fe461154b269d38c>`_\ )
|
||||||
|
|
||||||
|
`0.41.6 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.5...v0.41.6>`_ (2021-02-26)
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **repo:** check whether pkg_repo is set (\ `26b2233 <https://github.com/saltstack-formulas/postgres-formula/commit/26b223323fa65abee731af04ee9631062a78b308>`_\ )
|
||||||
|
* **repo:** reorder dependencies to prevent errors (\ `750d8aa <https://github.com/saltstack-formulas/postgres-formula/commit/750d8aab7a7e386e5ca0a3d546bb5cf12aa4506c>`_\ )
|
||||||
|
|
||||||
|
Continuous Integration
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **gemfile+lock:** use ``ssf`` customised ``kitchen-docker`` repo [skip ci] (\ `476b15e <https://github.com/saltstack-formulas/postgres-formula/commit/476b15e326b72a6bbdb9635d612f30b7a51ce7fa>`_\ )
|
||||||
|
* **kitchen+gitlab-ci:** use latest pre-salted images [skip ci] (\ `6f04b31 <https://github.com/saltstack-formulas/postgres-formula/commit/6f04b3191c6d1354d376473ff6e3ba213d614a4d>`_\ )
|
||||||
|
* **pre-commit:** update hook for ``rubocop`` [skip ci] (\ `e964c26 <https://github.com/saltstack-formulas/postgres-formula/commit/e964c26a29e61c5455b880e00195d5a0f55de641>`_\ )
|
||||||
|
|
||||||
|
Tests
|
||||||
|
^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **command_spec:** fix ``rubocop`` violation [skip ci] (\ `73c39af <https://github.com/saltstack-formulas/postgres-formula/commit/73c39aff5ef9bf5808a251f70504e3b019087f01>`_\ )
|
||||||
|
* **pillar:** update conditional to include Tumbleweed (\ `e976ee9 <https://github.com/saltstack-formulas/postgres-formula/commit/e976ee9c9924363db400b23cbde914112b6b4349>`_\ )
|
||||||
|
|
||||||
|
`0.41.5 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.4...v0.41.5>`_ (2021-01-07)
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **cent7:** postgres11 needs libicu installed (\ `4c0f796 <https://github.com/saltstack-formulas/postgres-formula/commit/4c0f796f00901b88e0ee9d778a5acb2115bf17cb>`_\ )
|
||||||
|
|
||||||
|
Continuous Integration
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **commitlint:** ensure ``upstream/master`` uses main repo URL [skip ci] (\ `e84389d <https://github.com/saltstack-formulas/postgres-formula/commit/e84389dbb31f04f3eeabfd3935ef193e09e5b562>`_\ )
|
||||||
|
* **gitlab-ci:** add ``rubocop`` linter (with ``allow_failure``\ ) [skip ci] (\ `2615411 <https://github.com/saltstack-formulas/postgres-formula/commit/2615411ec019600328c330cb4e72de89472f8fc9>`_\ )
|
||||||
|
|
||||||
|
`0.41.4 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.3...v0.41.4>`_ (2020-12-16)
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **archlinux:** avoid nonetype error (\ `0a6cf8f <https://github.com/saltstack-formulas/postgres-formula/commit/0a6cf8fefae1bbd5668a447ced911088ac965475>`_\ )
|
||||||
|
* **archlinux:** use consistent jinja repo check (\ `3a955e0 <https://github.com/saltstack-formulas/postgres-formula/commit/3a955e02708b23929c93f879bcba0e3fe5ae5666>`_\ )
|
||||||
|
* **jinja:** syntax correction (\ `8b44c06 <https://github.com/saltstack-formulas/postgres-formula/commit/8b44c068fcfd4199336596bdba095fc0e6c8fb2e>`_\ )
|
||||||
|
* **python:** use python3 postres on cent7/8 (\ `d6d1068 <https://github.com/saltstack-formulas/postgres-formula/commit/d6d1068395131de08534e387d377389bd078d3ee>`_\ )
|
||||||
|
* **suse:** version 11+ repo support on suse (\ `b3f381e <https://github.com/saltstack-formulas/postgres-formula/commit/b3f381e54750a00bb19a4aa50c6273c627dca16c>`_\ )
|
||||||
|
|
||||||
|
Continuous Integration
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **gitlab-ci:** use GitLab CI as Travis CI replacement (\ `a45673a <https://github.com/saltstack-formulas/postgres-formula/commit/a45673a87892deb973afee3689aea4bebd7a5739>`_\ )
|
||||||
|
* **pre-commit:** add to formula [skip ci] (\ `db1794b <https://github.com/saltstack-formulas/postgres-formula/commit/db1794b6bbb6ce183e5231cb4b7e7193dcb80143>`_\ )
|
||||||
|
* **pre-commit:** enable/disable ``rstcheck`` as relevant [skip ci] (\ `f04d60a <https://github.com/saltstack-formulas/postgres-formula/commit/f04d60a773461dce98b4f2a7c8abbbab268513a0>`_\ )
|
||||||
|
* **pre-commit:** finalise ``rstcheck`` configuration [skip ci] (\ `7036f60 <https://github.com/saltstack-formulas/postgres-formula/commit/7036f60e8ca3857beeca18abe70a3c59b6a021ec>`_\ )
|
||||||
|
|
||||||
|
`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)
|
||||||
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **mac_shortcut.sh:** fix ``shellcheck`` error (\ `d538798 <https://github.com/saltstack-formulas/postgres-formula/commit/d538798ee4423ecb72b29bd39e4f35437412ce43>`_\ )
|
||||||
|
* **release.config.js:** use full commit hash in commit link [skip ci] (\ `f3ec66d <https://github.com/saltstack-formulas/postgres-formula/commit/f3ec66d5ed90bc9a458fdff2233c9a707f0c9c72>`_\ )
|
||||||
|
|
||||||
|
Continuous Integration
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **gemfile:** restrict ``train`` gem version until upstream fix [skip ci] (\ `a77bb06 <https://github.com/saltstack-formulas/postgres-formula/commit/a77bb06b18823c7db0debd2c4ff135a367f76d04>`_\ )
|
||||||
|
* **kitchen:** use ``develop`` image until ``master`` is ready (\ ``amazonlinux``\ ) [skip ci] (\ `20e5e46 <https://github.com/saltstack-formulas/postgres-formula/commit/20e5e46e1011641714a11756617530b898e3d689>`_\ )
|
||||||
|
* **kitchen+travis:** upgrade matrix after ``2019.2.2`` release [skip ci] (\ `8080be6 <https://github.com/saltstack-formulas/postgres-formula/commit/8080be6be3dd0c8799fa102b1235fb151514bced>`_\ )
|
||||||
|
* **travis:** apply changes from build config validation [skip ci] (\ `8ce1ee4 <https://github.com/saltstack-formulas/postgres-formula/commit/8ce1ee4ecc5dd6a6a14118eda75b3446b6f58d82>`_\ )
|
||||||
|
* **travis:** opt-in to ``dpl v2`` to complete build config validation [skip ci] (\ `bd5959c <https://github.com/saltstack-formulas/postgres-formula/commit/bd5959c60a93e65ea0658f5cb7fd1609bdd3399c>`_\ )
|
||||||
|
* **travis:** quote pathspecs used with ``git ls-files`` [skip ci] (\ `0a2b63a <https://github.com/saltstack-formulas/postgres-formula/commit/0a2b63aba85b09c8983d066cbad7e344de791db1>`_\ )
|
||||||
|
* **travis:** run ``shellcheck`` during lint job [skip ci] (\ `f0d12ca <https://github.com/saltstack-formulas/postgres-formula/commit/f0d12caac67bf7f2049ca7f1b7185912e876cb02>`_\ )
|
||||||
|
* **travis:** use ``major.minor`` for ``semantic-release`` version [skip ci] (\ `1392538 <https://github.com/saltstack-formulas/postgres-formula/commit/1392538665bea2a699836a87a6b749e07276a94d>`_\ )
|
||||||
|
* **travis:** use build config validation (beta) [skip ci] (\ `c9a57aa <https://github.com/saltstack-formulas/postgres-formula/commit/c9a57aa96bb80dc27c4722e0f8dc45c77460c03a>`_\ )
|
||||||
|
|
||||||
|
Features
|
||||||
|
^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **codenamemap:** update for current versions (\ `9cc95c0 <https://github.com/saltstack-formulas/postgres-formula/commit/9cc95c020909563486f404b186e15ed71dd8a83a>`_\ )
|
||||||
|
|
||||||
|
Performance Improvements
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
||||||
|
* **travis:** improve ``salt-lint`` invocation [skip ci] (\ `ccaf4e5 <https://github.com/saltstack-formulas/postgres-formula/commit/ccaf4e5e3729c75c3a5eccbf482e7fca09415fea>`_\ )
|
||||||
|
|
||||||
`0.40.5 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.40.4...v0.40.5>`_ (2019-10-28)
|
`0.40.5 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.40.4...v0.40.5>`_ (2019-10-28)
|
||||||
-------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
.. _readme:
|
|
||||||
|
|
||||||
postgres-formula
|
postgres-formula
|
||||||
================
|
================
|
||||||
|
|
||||||
@@ -63,7 +61,7 @@ Creates such DB objects as: users, tablespaces, databases, schemas and extension
|
|||||||
See ``pillar.example`` file for details.
|
See ``pillar.example`` file for details.
|
||||||
|
|
||||||
``postgres.python``
|
``postgres.python``
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Installs the PostgreSQL adapter for Python on Linux.
|
Installs the PostgreSQL adapter for Python on Linux.
|
||||||
|
|
||||||
@@ -83,31 +81,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``
|
||||||
^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
@@ -135,17 +117,17 @@ Removal states
|
|||||||
Meta state to remove Postgres software. By default the release installed by formula is targeted only. To target multiple releases, set pillar ``postgres.remove.multiple_releases: True``.
|
Meta state to remove Postgres software. By default the release installed by formula is targeted only. To target multiple releases, set pillar ``postgres.remove.multiple_releases: True``.
|
||||||
|
|
||||||
``postgres.server.remove``
|
``postgres.server.remove``
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Remove server, lib, and contrib packages. The ``postgres.server.remove`` will retain data by default (no data loss) - set pillar ``postgres.remove.data: True`` to remove data and configuration directories also.
|
Remove server, lib, and contrib packages. The ``postgres.server.remove`` will retain data by default (no data loss) - set pillar ``postgres.remove.data: True`` to remove data and configuration directories also.
|
||||||
|
|
||||||
``postgres.client.remove``
|
``postgres.client.remove``
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Remove client package.
|
Remove client package.
|
||||||
|
|
||||||
``postgres.dev.remove``
|
``postgres.dev.remove``
|
||||||
^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Remove development and python packages.
|
Remove development and python packages.
|
||||||
|
|
||||||
@@ -166,7 +148,7 @@ Creates the docker instance and runs the ``postgres`` main state, ready for test
|
|||||||
Runs the ``inspec`` tests on the actual instance.
|
Runs the ``inspec`` tests on the actual instance.
|
||||||
|
|
||||||
``kitchen destroy``
|
``kitchen destroy``
|
||||||
^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Removes the docker instance.
|
Removes the docker instance.
|
||||||
|
|
||||||
@@ -180,4 +162,66 @@ Runs all of the stages above in one go: i.e. ``destroy`` + ``converge`` + ``veri
|
|||||||
|
|
||||||
Gives you SSH access to the instance for manual testing.
|
Gives you SSH access to the instance for manual testing.
|
||||||
|
|
||||||
|
Testing with Vagrant
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
Windows/FreeBSD/OpenBSD testing is done with ``kitchen-salt``.
|
||||||
|
|
||||||
|
Requirements
|
||||||
|
^^^^^^^^^^^^
|
||||||
|
|
||||||
|
* Ruby
|
||||||
|
* Virtualbox
|
||||||
|
* Vagrant
|
||||||
|
|
||||||
|
Setup
|
||||||
|
^^^^^
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
$ gem install bundler
|
||||||
|
$ bundle install --with=vagrant
|
||||||
|
$ bin/kitchen test [platform]
|
||||||
|
|
||||||
|
Where ``[platform]`` is the platform name defined in ``kitchen.vagrant.yml``,
|
||||||
|
e.g. ``windows-81-latest-py3``.
|
||||||
|
|
||||||
|
Note
|
||||||
|
^^^^
|
||||||
|
|
||||||
|
When testing using Vagrant you must set the environment variable ``KITCHEN_LOCAL_YAML`` to ``kitchen.vagrant.yml``. For example:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
$ KITCHEN_LOCAL_YAML=kitchen.vagrant.yml bin/kitchen test # Alternatively,
|
||||||
|
$ export KITCHEN_LOCAL_YAML=kitchen.vagrant.yml
|
||||||
|
$ bin/kitchen test
|
||||||
|
|
||||||
|
Then run the following commands as needed.
|
||||||
|
|
||||||
|
``bin/kitchen converge``
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Creates the Vagrant instance and runs the ``postgres`` main state, ready for testing.
|
||||||
|
|
||||||
|
``bin/kitchen verify``
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Runs the ``inspec`` tests on the actual instance.
|
||||||
|
|
||||||
|
``bin/kitchen destroy``
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Removes the Vagrant instance.
|
||||||
|
|
||||||
|
``bin/kitchen test``
|
||||||
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Runs all of the stages above in one go: i.e. ``destroy`` + ``converge`` + ``verify`` + ``destroy``.
|
||||||
|
|
||||||
|
``bin/kitchen login``
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Gives you RDP/SSH access to the instance for manual testing.
|
||||||
|
|
||||||
.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=2 sw=2 et
|
.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=2 sw=2 et
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ Example: NTP before applying TOFS
|
|||||||
|
|
||||||
Let's work with the NTP example. A basic formula that follows the `design guidelines <http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_ has the following files and directories tree:
|
Let's work with the NTP example. A basic formula that follows the `design guidelines <http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html>`_ has the following files and directories tree:
|
||||||
|
|
||||||
.. code-block::
|
.. code-block:: console
|
||||||
|
|
||||||
/srv/saltstack/salt-formulas/ntp-saltstack-formula/
|
/srv/saltstack/salt-formulas/ntp-saltstack-formula/
|
||||||
ntp/
|
ntp/
|
||||||
@@ -226,7 +226,7 @@ We can make different templates coexist for different minions, classified by any
|
|||||||
|
|
||||||
If we decide that we want ``os_family`` as switch, then we could provide the formula template variants for both the ``RedHat`` and ``Debian`` families.
|
If we decide that we want ``os_family`` as switch, then we could provide the formula template variants for both the ``RedHat`` and ``Debian`` families.
|
||||||
|
|
||||||
.. code-block::
|
.. code-block:: console
|
||||||
|
|
||||||
/srv/saltstack/salt-formulas/ntp-saltstack-formula/ntp/files/
|
/srv/saltstack/salt-formulas/ntp-saltstack-formula/ntp/files/
|
||||||
default/
|
default/
|
||||||
@@ -449,7 +449,7 @@ Using sub-directories for ``components``
|
|||||||
|
|
||||||
If your formula is composed of several components, you may prefer to provides files under sub-directories, like in the `systemd-formula <https://github.com/saltstack-formulas/systemd-formula>`_.
|
If your formula is composed of several components, you may prefer to provides files under sub-directories, like in the `systemd-formula <https://github.com/saltstack-formulas/systemd-formula>`_.
|
||||||
|
|
||||||
.. code-block::
|
.. code-block:: console
|
||||||
|
|
||||||
/srv/saltstack/systemd-formula/
|
/srv/saltstack/systemd-formula/
|
||||||
systemd/
|
systemd/
|
||||||
|
|||||||
@@ -3,15 +3,38 @@
|
|||||||
---
|
---
|
||||||
driver:
|
driver:
|
||||||
name: vagrant
|
name: vagrant
|
||||||
|
cache_directory: false
|
||||||
|
customize:
|
||||||
|
usbxhci: 'off'
|
||||||
|
gui: false
|
||||||
|
ssh:
|
||||||
|
shell: /bin/sh
|
||||||
|
<% unless ENV['CI'] %>
|
||||||
|
linked_clone: true
|
||||||
|
synced_folders:
|
||||||
|
- - '.kitchen/kitchen-vagrant/%{instance_name}/vagrant'
|
||||||
|
- '/vagrant'
|
||||||
|
- 'create: true, disabled: false'
|
||||||
|
<% end %>
|
||||||
|
|
||||||
platforms:
|
platforms:
|
||||||
- name: freebsd-120-2019-2-py3
|
- name: freebsd-130-master-py3
|
||||||
driver:
|
driver:
|
||||||
box_url: https://freebsd.z.vstack.com/FreeBSD-12.0.box
|
box: myii/freebsd-13.0-master-py3
|
||||||
cache_directory: false
|
synced_folders: [] # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255208
|
||||||
customize:
|
- name: freebsd-122-master-py3
|
||||||
usbxhci: 'off'
|
driver:
|
||||||
gui: false
|
box: myii/freebsd-12.2-master-py3
|
||||||
linked_clone: true
|
- name: freebsd-114-master-py3
|
||||||
ssh:
|
driver:
|
||||||
shell: '/bin/sh'
|
box: myii/freebsd-11.4-master-py3
|
||||||
|
- name: freebsd-130-3002-6-py3
|
||||||
|
driver:
|
||||||
|
box: myii/freebsd-13.0-3002.6-py3
|
||||||
|
synced_folders: [] # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255208
|
||||||
|
- name: freebsd-122-3002-6-py3
|
||||||
|
driver:
|
||||||
|
box: myii/freebsd-12.2-3002.6-py3
|
||||||
|
- name: freebsd-114-3002-6-py3
|
||||||
|
driver:
|
||||||
|
box: myii/freebsd-11.4-3002.6-py3
|
||||||
|
|||||||
672
kitchen.yml
672
kitchen.yml
@@ -6,173 +6,7 @@ driver:
|
|||||||
name: docker
|
name: docker
|
||||||
use_sudo: false
|
use_sudo: false
|
||||||
privileged: true
|
privileged: true
|
||||||
run_command: /lib/systemd/systemd
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
# Make sure the platforms listed below match up with
|
|
||||||
# the `env.matrix` instances defined in `.travis.yml`
|
|
||||||
platforms:
|
|
||||||
## SALT `develop` => `master`
|
|
||||||
- name: debian-10-master-py3
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-master-py3:debian-10
|
|
||||||
provision_command:
|
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git master
|
|
||||||
- name: ubuntu-1804-develop-py3
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-develop-py3:ubuntu-18.04
|
|
||||||
provision_command:
|
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
|
|
||||||
- name: centos-7-develop-py3
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-develop-py3:centos-7
|
|
||||||
provision_command:
|
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
|
|
||||||
- name: fedora-30-develop-py3
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-develop-py3:fedora-30
|
|
||||||
provision_command:
|
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python3 git develop
|
|
||||||
- name: opensuse-leap-15-develop-py3
|
|
||||||
driver:
|
|
||||||
image: opensuse/leap:15
|
|
||||||
provision_command:
|
|
||||||
# yamllint disable-line rule:line-length
|
|
||||||
- zypper install -y glibc-locale net-tools net-tools-deprecated python-xml python3-pip
|
|
||||||
- systemctl enable sshd.service
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
|
||||||
provisioner:
|
|
||||||
salt_bootstrap_options: -XdPfrq -x python3 git develop
|
|
||||||
salt_install: bootstrap
|
|
||||||
# Workaround to avoid intermittent failures on `opensuse-leap-15`:
|
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
|
||||||
transport:
|
|
||||||
max_ssh_sessions: 1
|
|
||||||
- name: amazonlinux-2-develop-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-develop-py2:amazonlinux-2
|
|
||||||
provision_command:
|
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
|
|
||||||
- name: arch-base-latest-develop-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-develop-py2:arch-base-latest
|
|
||||||
provision_command:
|
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
|
||||||
|
|
||||||
## SALT `2019.2`
|
|
||||||
- name: debian-9-2019-2-py3
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2019.2-py3:debian-9
|
|
||||||
- name: ubuntu-1804-2019-2-py3
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2019.2-py3:ubuntu-18.04
|
|
||||||
- name: centos-7-2019-2-py3
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2019.2-py3:centos-7
|
|
||||||
- name: fedora-30-2019-2-py3
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2019.2-py3:fedora-30
|
|
||||||
- name: opensuse-leap-15-2019-2-py3
|
|
||||||
driver:
|
|
||||||
image: opensuse/leap:15
|
|
||||||
provision_command:
|
|
||||||
# yamllint disable-line rule:line-length
|
|
||||||
- zypper install -y glibc-locale net-tools net-tools-deprecated python-xml python3-pip
|
|
||||||
- systemctl enable sshd.service
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
|
||||||
provisioner:
|
|
||||||
salt_bootstrap_options: -XdPfrq -x python3 git 2019.2
|
|
||||||
salt_install: bootstrap
|
|
||||||
# Workaround to avoid intermittent failures on `opensuse-leap-15`:
|
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
|
||||||
transport:
|
|
||||||
max_ssh_sessions: 1
|
|
||||||
- name: amazonlinux-2-2019-2-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2019.2-py2:amazonlinux-2
|
|
||||||
- name: arch-base-latest-2019-2-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2019.2-py2:arch-base-latest
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
|
||||||
|
|
||||||
## SALT `2018.3`
|
|
||||||
- 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: fedora-29-2018-3-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2018.3-py2:fedora-29
|
|
||||||
- name: opensuse-leap-15-2018-3-py2
|
|
||||||
driver:
|
|
||||||
image: opensuse/leap:15
|
|
||||||
provision_command:
|
|
||||||
# yamllint disable-line rule:line-length
|
|
||||||
- zypper install -y glibc-locale net-tools net-tools-deprecated python-xml python2-pip
|
|
||||||
- systemctl enable sshd.service
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
|
||||||
provisioner:
|
|
||||||
salt_bootstrap_options: -XdPfrq -x python2 git 2018.3
|
|
||||||
salt_install: bootstrap
|
|
||||||
# Workaround to avoid intermittent failures on `opensuse-leap-15`:
|
|
||||||
# => 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-29-2017-7-py2
|
|
||||||
driver:
|
|
||||||
image: netmanagers/salt-2017.7-py2:fedora-29
|
|
||||||
- name: opensuse-leap-15-2017-7-py2
|
|
||||||
driver:
|
|
||||||
image: opensuse/leap:15
|
|
||||||
provision_command:
|
|
||||||
# yamllint disable-line rule:line-length
|
|
||||||
- zypper install -y glibc-locale net-tools net-tools-deprecated python-xml python2-pip
|
|
||||||
- systemctl enable sshd.service
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
|
||||||
provisioner:
|
|
||||||
salt_bootstrap_options: -XdPfrq -x python2 git 2017.7
|
|
||||||
salt_install: bootstrap
|
|
||||||
# Workaround to avoid intermittent failures on `opensuse-leap-15`:
|
|
||||||
# => 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
|
|
||||||
|
|
||||||
provisioner:
|
provisioner:
|
||||||
name: salt_solo
|
name: salt_solo
|
||||||
@@ -184,12 +18,413 @@ provisioner:
|
|||||||
- .kitchen
|
- .kitchen
|
||||||
- .git
|
- .git
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
## SALT `tiamat`
|
||||||
|
- name: debian-11-tiamat-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-tiamat-py3:debian-11
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: debian-10-tiamat-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-tiamat-py3:debian-10
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: debian-9-tiamat-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-tiamat-py3:debian-9
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: ubuntu-2004-tiamat-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-tiamat-py3:ubuntu-20.04
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: ubuntu-1804-tiamat-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-tiamat-py3:ubuntu-18.04
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: centos-8-tiamat-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-tiamat-py3:centos-8
|
||||||
|
- name: centos-7-tiamat-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-tiamat-py3:centos-7
|
||||||
|
- name: amazonlinux-2-tiamat-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-tiamat-py3:amazonlinux-2
|
||||||
|
- name: oraclelinux-8-tiamat-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-tiamat-py3:oraclelinux-8
|
||||||
|
- name: oraclelinux-7-tiamat-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-tiamat-py3:oraclelinux-7
|
||||||
|
- name: almalinux-8-tiamat-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-tiamat-py3:almalinux-8
|
||||||
|
- name: rockylinux-8-tiamat-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-tiamat-py3:rockylinux-8
|
||||||
|
|
||||||
|
## SALT `master`
|
||||||
|
- name: debian-11-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:debian-11
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: debian-10-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:debian-10
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: debian-9-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:debian-9
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: ubuntu-2004-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:ubuntu-20.04
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: ubuntu-1804-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:ubuntu-18.04
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: centos-8-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:centos-8
|
||||||
|
- name: centos-7-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:centos-7
|
||||||
|
- name: fedora-34-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:fedora-34
|
||||||
|
- name: fedora-33-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:fedora-33
|
||||||
|
- name: opensuse-leap-153-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:opensuse-leap-15.3
|
||||||
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
|
||||||
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
|
transport:
|
||||||
|
max_ssh_sessions: 1
|
||||||
|
- name: opensuse-leap-152-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:opensuse-leap-15.2
|
||||||
|
# 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: opensuse-tmbl-latest-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:opensuse-tumbleweed-latest
|
||||||
|
# Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
|
||||||
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
|
transport:
|
||||||
|
max_ssh_sessions: 1
|
||||||
|
- name: amazonlinux-2-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:amazonlinux-2
|
||||||
|
- name: oraclelinux-8-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:oraclelinux-8
|
||||||
|
- name: oraclelinux-7-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:oraclelinux-7
|
||||||
|
- name: arch-base-latest-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:arch-base-latest
|
||||||
|
- name: gentoo-stage3-latest-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:gentoo-stage3-latest
|
||||||
|
run_command: /sbin/init
|
||||||
|
- name: gentoo-stage3-systemd-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:gentoo-stage3-systemd
|
||||||
|
- name: almalinux-8-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:almalinux-8
|
||||||
|
- name: rockylinux-8-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:rockylinux-8
|
||||||
|
|
||||||
|
## SALT `3003.1`
|
||||||
|
- name: debian-11-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:debian-11
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: debian-10-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:debian-10
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: debian-9-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:debian-9
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: ubuntu-2004-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:ubuntu-20.04
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: ubuntu-1804-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:ubuntu-18.04
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: centos-8-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:centos-8
|
||||||
|
- name: centos-7-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:centos-7
|
||||||
|
- name: fedora-34-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:fedora-34
|
||||||
|
- name: fedora-33-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:fedora-33
|
||||||
|
- name: opensuse-leap-153-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:opensuse-leap-15.3
|
||||||
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
|
||||||
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
|
transport:
|
||||||
|
max_ssh_sessions: 1
|
||||||
|
- name: opensuse-leap-152-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:opensuse-leap-15.2
|
||||||
|
# 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: opensuse-tmbl-latest-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:opensuse-tumbleweed-latest
|
||||||
|
# Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
|
||||||
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
|
transport:
|
||||||
|
max_ssh_sessions: 1
|
||||||
|
- name: amazonlinux-2-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:amazonlinux-2
|
||||||
|
- name: oraclelinux-8-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:oraclelinux-8
|
||||||
|
- name: oraclelinux-7-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:oraclelinux-7
|
||||||
|
- name: arch-base-latest-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:arch-base-latest
|
||||||
|
- name: gentoo-stage3-latest-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:gentoo-stage3-latest
|
||||||
|
run_command: /sbin/init
|
||||||
|
- name: gentoo-stage3-systemd-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:gentoo-stage3-systemd
|
||||||
|
|
||||||
|
## SALT `3002.6`
|
||||||
|
- name: debian-11-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:debian-11
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: debian-10-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:debian-10
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: debian-9-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:debian-9
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: ubuntu-2004-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:ubuntu-20.04
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: ubuntu-1804-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:ubuntu-18.04
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: centos-8-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:centos-8
|
||||||
|
- name: centos-7-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:centos-7
|
||||||
|
- name: fedora-34-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:fedora-34
|
||||||
|
- name: fedora-33-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:fedora-33
|
||||||
|
- name: amazonlinux-2-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:amazonlinux-2
|
||||||
|
- name: oraclelinux-8-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:oraclelinux-8
|
||||||
|
- name: oraclelinux-7-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:oraclelinux-7
|
||||||
|
- name: arch-base-latest-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:arch-base-latest
|
||||||
|
- name: gentoo-stage3-latest-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:gentoo-stage3-latest
|
||||||
|
run_command: /sbin/init
|
||||||
|
- name: gentoo-stage3-systemd-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:gentoo-stage3-systemd
|
||||||
|
|
||||||
|
## SALT `3002.2`
|
||||||
|
- name: opensuse-leap-153-3002-2-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.2-py3:opensuse-leap-15.3
|
||||||
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
|
||||||
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
|
transport:
|
||||||
|
max_ssh_sessions: 1
|
||||||
|
- name: opensuse-leap-152-3002-2-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.2-py3:opensuse-leap-15.2
|
||||||
|
# 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: opensuse-tmbl-latest-3002-2-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.2-py3:opensuse-tumbleweed-latest
|
||||||
|
# Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
|
||||||
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
|
transport:
|
||||||
|
max_ssh_sessions: 1
|
||||||
|
|
||||||
|
## SALT `3001.7`
|
||||||
|
- name: debian-10-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:debian-10
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: debian-9-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:debian-9
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: ubuntu-2004-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:ubuntu-20.04
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: ubuntu-1804-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:ubuntu-18.04
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: centos-8-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:centos-8
|
||||||
|
- name: centos-7-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:centos-7
|
||||||
|
- name: fedora-34-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:fedora-34
|
||||||
|
- name: fedora-33-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:fedora-33
|
||||||
|
- name: opensuse-leap-153-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:opensuse-leap-15.3
|
||||||
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
|
||||||
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
|
transport:
|
||||||
|
max_ssh_sessions: 1
|
||||||
|
- name: opensuse-leap-152-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:opensuse-leap-15.2
|
||||||
|
# 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: opensuse-tmbl-latest-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:opensuse-tumbleweed-latest
|
||||||
|
# Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
|
||||||
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
|
transport:
|
||||||
|
max_ssh_sessions: 1
|
||||||
|
- name: amazonlinux-2-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:amazonlinux-2
|
||||||
|
- name: oraclelinux-8-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:oraclelinux-8
|
||||||
|
- name: oraclelinux-7-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:oraclelinux-7
|
||||||
|
- name: arch-base-latest-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:arch-base-latest
|
||||||
|
- name: gentoo-stage3-latest-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:gentoo-stage3-latest
|
||||||
|
run_command: /sbin/init
|
||||||
|
- name: gentoo-stage3-systemd-3001-7-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3001.7-py3:gentoo-stage3-systemd
|
||||||
|
|
||||||
|
## SALT `3000.9`
|
||||||
|
- name: debian-10-3000-9-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py3:debian-10
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: debian-9-3000-9-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py3:debian-9
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: ubuntu-1804-3000-9-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py3:ubuntu-18.04
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: centos-8-3000-9-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py3:centos-8
|
||||||
|
- name: centos-7-3000-9-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py3:centos-7
|
||||||
|
- name: opensuse-leap-153-3000-9-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py3:opensuse-leap-15.3
|
||||||
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
|
||||||
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
|
transport:
|
||||||
|
max_ssh_sessions: 1
|
||||||
|
- name: opensuse-leap-152-3000-9-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py3:opensuse-leap-15.2
|
||||||
|
# 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-9-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py3:amazonlinux-2
|
||||||
|
- name: oraclelinux-8-3000-9-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py3:oraclelinux-8
|
||||||
|
- name: oraclelinux-7-3000-9-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py3:oraclelinux-7
|
||||||
|
- name: gentoo-stage3-latest-3000-9-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py3:gentoo-stage3-latest
|
||||||
|
run_command: /sbin/init
|
||||||
|
- name: gentoo-stage3-systemd-3000-9-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py3:gentoo-stage3-systemd
|
||||||
|
- name: ubuntu-1804-3000-9-py2
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py2:ubuntu-18.04
|
||||||
|
run_command: /lib/systemd/systemd
|
||||||
|
- name: arch-base-latest-3000-9-py2
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3000.9-py2:arch-base-latest
|
||||||
|
|
||||||
verifier:
|
verifier:
|
||||||
# https://www.inspec.io/
|
# https://www.inspec.io/
|
||||||
name: inspec
|
name: inspec
|
||||||
sudo: true
|
sudo: true
|
||||||
# cli, documentation, html, progress, json, json-min, json-rspec, junit
|
|
||||||
reporter:
|
reporter:
|
||||||
|
# cli, documentation, html, progress, json, json-min, json-rspec, junit
|
||||||
- cli
|
- cli
|
||||||
|
|
||||||
suites:
|
suites:
|
||||||
@@ -198,6 +433,7 @@ suites:
|
|||||||
state_top:
|
state_top:
|
||||||
base:
|
base:
|
||||||
'*':
|
'*':
|
||||||
|
- postgres._mapdata
|
||||||
- postgres
|
- postgres
|
||||||
pillars:
|
pillars:
|
||||||
top.sls:
|
top.sls:
|
||||||
@@ -209,3 +445,103 @@ suites:
|
|||||||
verifier:
|
verifier:
|
||||||
inspec_tests:
|
inspec_tests:
|
||||||
- path: test/integration/default
|
- path: test/integration/default
|
||||||
|
- name: repo
|
||||||
|
includes:
|
||||||
|
- debian-11-tiamat-py3
|
||||||
|
- debian-10-tiamat-py3
|
||||||
|
- debian-9-tiamat-py3
|
||||||
|
- ubuntu-2004-tiamat-py3
|
||||||
|
- ubuntu-1804-tiamat-py3
|
||||||
|
- centos-8-tiamat-py3
|
||||||
|
- centos-7-tiamat-py3
|
||||||
|
- amazonlinux-2-tiamat-py3
|
||||||
|
- oraclelinux-8-tiamat-py3
|
||||||
|
- oraclelinux-7-tiamat-py3
|
||||||
|
- almalinux-8-tiamat-py3
|
||||||
|
- rockylinux-8-tiamat-py3
|
||||||
|
- debian-11-master-py3
|
||||||
|
- debian-10-master-py3
|
||||||
|
- debian-9-master-py3
|
||||||
|
- ubuntu-2004-master-py3
|
||||||
|
- ubuntu-1804-master-py3
|
||||||
|
- centos-8-master-py3
|
||||||
|
- centos-7-master-py3
|
||||||
|
- fedora-34-master-py3
|
||||||
|
- fedora-33-master-py3
|
||||||
|
- opensuse-leap-153-master-py3
|
||||||
|
- opensuse-leap-152-master-py3
|
||||||
|
- amazonlinux-2-master-py3
|
||||||
|
- oraclelinux-8-master-py3
|
||||||
|
- oraclelinux-7-master-py3
|
||||||
|
- almalinux-8-master-py3
|
||||||
|
- rockylinux-8-master-py3
|
||||||
|
- debian-11-3003-1-py3
|
||||||
|
- debian-10-3003-1-py3
|
||||||
|
- debian-9-3003-1-py3
|
||||||
|
- ubuntu-2004-3003-1-py3
|
||||||
|
- ubuntu-1804-3003-1-py3
|
||||||
|
- centos-8-3003-1-py3
|
||||||
|
- centos-7-3003-1-py3
|
||||||
|
- fedora-34-3003-1-py3
|
||||||
|
- fedora-33-3003-1-py3
|
||||||
|
- opensuse-leap-153-3003-1-py3
|
||||||
|
- opensuse-leap-152-3003-1-py3
|
||||||
|
- amazonlinux-2-3003-1-py3
|
||||||
|
- oraclelinux-8-3003-1-py3
|
||||||
|
- oraclelinux-7-3003-1-py3
|
||||||
|
- debian-11-3002-6-py3
|
||||||
|
- debian-10-3002-6-py3
|
||||||
|
- debian-9-3002-6-py3
|
||||||
|
- ubuntu-2004-3002-6-py3
|
||||||
|
- ubuntu-1804-3002-6-py3
|
||||||
|
- centos-8-3002-6-py3
|
||||||
|
- centos-7-3002-6-py3
|
||||||
|
- fedora-34-3002-6-py3
|
||||||
|
- fedora-33-3002-6-py3
|
||||||
|
- amazonlinux-2-3002-6-py3
|
||||||
|
- oraclelinux-8-3002-6-py3
|
||||||
|
- oraclelinux-7-3002-6-py3
|
||||||
|
- opensuse-leap-153-3002-2-py3
|
||||||
|
- opensuse-leap-152-3002-2-py3
|
||||||
|
- debian-10-3001-7-py3
|
||||||
|
- debian-9-3001-7-py3
|
||||||
|
- ubuntu-2004-3001-7-py3
|
||||||
|
- ubuntu-1804-3001-7-py3
|
||||||
|
- centos-8-3001-7-py3
|
||||||
|
- centos-7-3001-7-py3
|
||||||
|
- fedora-34-3001-7-py3
|
||||||
|
- fedora-33-3001-7-py3
|
||||||
|
- opensuse-leap-153-3001-7-py3
|
||||||
|
- opensuse-leap-152-3001-7-py3
|
||||||
|
- amazonlinux-2-3001-7-py3
|
||||||
|
- oraclelinux-8-3001-7-py3
|
||||||
|
- oraclelinux-7-3001-7-py3
|
||||||
|
- debian-10-3000-9-py3
|
||||||
|
- debian-9-3000-9-py3
|
||||||
|
- ubuntu-1804-3000-9-py3
|
||||||
|
- centos-8-3000-9-py3
|
||||||
|
- centos-7-3000-9-py3
|
||||||
|
- opensuse-leap-153-3000-9-py3
|
||||||
|
- opensuse-leap-152-3000-9-py3
|
||||||
|
- amazonlinux-2-3000-9-py3
|
||||||
|
- oraclelinux-8-3000-9-py3
|
||||||
|
- oraclelinux-7-3000-9-py3
|
||||||
|
- ubuntu-1804-3000-9-py2
|
||||||
|
provisioner:
|
||||||
|
state_top:
|
||||||
|
base:
|
||||||
|
'*':
|
||||||
|
- postgres._mapdata
|
||||||
|
- postgres
|
||||||
|
pillars:
|
||||||
|
top.sls:
|
||||||
|
base:
|
||||||
|
'*':
|
||||||
|
- postgres
|
||||||
|
- repo
|
||||||
|
pillars_from_files:
|
||||||
|
postgres.sls: test/salt/pillar/postgres.sls
|
||||||
|
repo.sls: test/salt/pillar/repo.sls
|
||||||
|
verifier:
|
||||||
|
inspec_tests:
|
||||||
|
- path: test/integration/repo
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ postgres:
|
|||||||
# Set true to configure upstream postgresql.org repository for YUM/APT/ZYPP
|
# Set true to configure upstream postgresql.org repository for YUM/APT/ZYPP
|
||||||
use_upstream_repo: false
|
use_upstream_repo: false
|
||||||
# Version to install from upstream repository (if upstream_repo: true)
|
# Version to install from upstream repository (if upstream_repo: true)
|
||||||
version: '10'
|
version: '13'
|
||||||
# Set true to add a file in /etc/profile.d adding the bin dir in $PATH
|
# Set true to add a file in /etc/profile.d adding the bin dir in $PATH
|
||||||
# as packages from upstream put them somewhere like /usr/pgsql-10/bin
|
# as packages from upstream put them somewhere like /usr/pgsql-10/bin
|
||||||
add_profile: false
|
add_profile: false
|
||||||
@@ -76,12 +76,15 @@ postgres:
|
|||||||
# The uppercase items must be replaced by actual values.
|
# The uppercase items must be replaced by actual values.
|
||||||
# METHOD could be omitted, 'md5' will be appended by default.
|
# METHOD could be omitted, 'md5' will be appended by default.
|
||||||
#
|
#
|
||||||
|
# Postgres expect a valid CIDR for ADDRESS (not ipaddress)
|
||||||
|
#
|
||||||
# If ``acls`` item value is empty ('', [], null), then the contents of
|
# If ``acls`` item value is empty ('', [], null), then the contents of
|
||||||
# ``pg_hba.conf`` file will not be touched at all.
|
# ``pg_hba.conf`` file will not be touched at all.
|
||||||
acls:
|
acls:
|
||||||
- ['local', 'db0', 'connuser', 'peer map=users_as_appuser']
|
- ['local', 'db0', 'connuser', 'peer map=users_as_appuser']
|
||||||
- ['local', 'db1', 'localUser']
|
- ['local', 'db1', 'localUser']
|
||||||
- ['host', 'db2', 'remoteUser', '192.168.33.0/24']
|
- ['host', 'db2', 'remoteUser', '192.168.33.0/24']
|
||||||
|
- ['host', 'all', 'all', '127.0.0.1/32', 'md5']
|
||||||
|
|
||||||
identity_map:
|
identity_map:
|
||||||
- ['users_as_appuser', 'jdoe', 'connuser']
|
- ['users_as_appuser', 'jdoe', 'connuser']
|
||||||
|
|||||||
13
postgres/_mapdata/_mapdata.jinja
Normal file
13
postgres/_mapdata/_mapdata.jinja
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# yamllint disable rule:indentation rule:line-length
|
||||||
|
# {{ grains.get("osfinger", grains.os) }}
|
||||||
|
---
|
||||||
|
{#- use salt.slsutil.serialize to avoid encoding errors on some platforms #}
|
||||||
|
{{ salt["slsutil.serialize"](
|
||||||
|
"yaml",
|
||||||
|
map,
|
||||||
|
default_flow_style=False,
|
||||||
|
allow_unicode=True,
|
||||||
|
)
|
||||||
|
| regex_replace("^\s+'$", "'", multiline=True)
|
||||||
|
| trim
|
||||||
|
}}
|
||||||
22
postgres/_mapdata/init.sls
Normal file
22
postgres/_mapdata/init.sls
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=sls
|
||||||
|
---
|
||||||
|
{#- Get the `tplroot` from `tpldir` #}
|
||||||
|
{%- set tplroot = tpldir.split("/")[0] %}
|
||||||
|
{%- from tplroot ~ "/map.jinja" import postgres with context %}
|
||||||
|
|
||||||
|
{%- set _mapdata = {
|
||||||
|
"values": postgres,
|
||||||
|
} %}
|
||||||
|
{%- do salt["log.debug"]("### MAP.JINJA DUMP ###\n" ~ _mapdata | yaml(False)) %}
|
||||||
|
|
||||||
|
{%- set output_dir = "/temp" if grains.os_family == "Windows" else "/tmp" %}
|
||||||
|
{%- set output_file = output_dir ~ "/salt_mapdata_dump.yaml" %}
|
||||||
|
|
||||||
|
{{ tplroot }}-mapdata-dump:
|
||||||
|
file.managed:
|
||||||
|
- name: {{ output_file }}
|
||||||
|
- source: salt://{{ tplroot }}/_mapdata/_mapdata.jinja
|
||||||
|
- template: jinja
|
||||||
|
- context:
|
||||||
|
map: {{ _mapdata | yaml }}
|
||||||
@@ -16,7 +16,7 @@ include:
|
|||||||
postgresql-client-libs:
|
postgresql-client-libs:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- pkgs: {{ pkgs | json }}
|
- pkgs: {{ pkgs | json }}
|
||||||
{%- if postgres.use_upstream_repo == true %}
|
{%- if 'pkg_repo' in postgres and postgres.use_upstream_repo == true %}
|
||||||
- refresh: True
|
- refresh: True
|
||||||
- require:
|
- require:
|
||||||
- pkgrepo: postgresql-repo
|
- pkgrepo: postgresql-repo
|
||||||
|
|||||||
@@ -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 %}
|
||||||
|
|
||||||
@@ -54,28 +55,40 @@
|
|||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
## Debian GNU/Linux (the second parameter refers to the postgresql package version, not the distro)
|
## Debian GNU/Linux (the second parameter refers to the postgresql package version, not the distro)
|
||||||
{{ debian_codename('wheezy', '9.1') }}
|
# http://apt.postgresql.org/pub/repos/apt/dists/
|
||||||
|
# https://packages.debian.org/search?keywords=postgresql&searchon=names
|
||||||
{{ debian_codename('jessie', '9.4') }}
|
{{ debian_codename('jessie', '9.4') }}
|
||||||
{{ debian_codename('stretch', '9.6') }}
|
{{ debian_codename('stretch', '9.6') }}
|
||||||
{{ debian_codename('buster', '11') }}
|
{{ debian_codename('buster', '11') }}
|
||||||
|
{{ debian_codename('bullseye', '13') }}
|
||||||
|
|
||||||
# `oscodename` grain has long distro name
|
# `oscodename` grain has long distro name
|
||||||
# if `lsb-release` package not installed
|
# if `lsb-release` package not installed
|
||||||
{{ debian_codename('wheezy', '9.1', 'Debian GNU/Linux 7 (wheezy)') }}
|
|
||||||
{{ debian_codename('jessie', '9.4', 'Debian GNU/Linux 8 (jessie)') }}
|
{{ debian_codename('jessie', '9.4', 'Debian GNU/Linux 8 (jessie)') }}
|
||||||
{{ debian_codename('stretch', '9.6', 'Debian GNU/Linux 9 (stretch)') }}
|
{{ debian_codename('stretch', '9.6', 'Debian GNU/Linux 9 (stretch)') }}
|
||||||
{{ debian_codename('buster', '11', 'Debian GNU/Linux 10 (buster)') }}
|
{{ debian_codename('buster', '11', 'Debian GNU/Linux 10 (buster)') }}
|
||||||
|
{{ debian_codename('bullseye', '13', 'Debian GNU/Linux 11 (bullseye)') }}
|
||||||
|
|
||||||
## Ubuntu
|
## Ubuntu
|
||||||
{{ debian_codename('trusty', '9.3') }}
|
# http://apt.postgresql.org/pub/repos/apt/dists/
|
||||||
|
# https://packages.ubuntu.com/search?keywords=postgresql&searchon=names
|
||||||
{{ debian_codename('xenial', '9.5') }}
|
{{ debian_codename('xenial', '9.5') }}
|
||||||
{{ debian_codename('artful', '9.6') }}
|
|
||||||
{{ debian_codename('bionic', '10') }}
|
{{ debian_codename('bionic', '10') }}
|
||||||
{{ debian_codename('cosmic', '10') }}
|
{{ debian_codename('eoan', '11') }}
|
||||||
|
{{ debian_codename('focal', '12') }}
|
||||||
|
|
||||||
## Fedora
|
## Fedora
|
||||||
# `oscodename` grain has long distro name
|
# https://download.postgresql.org/pub/repos/yum/13/fedora/
|
||||||
{{ fedora_codename('Fedora-27', '9.6', 'Fedora 27 (Twenty Seven)') }}
|
# https://apps.fedoraproject.org/packages/postgresql
|
||||||
{{ fedora_codename('Fedora-26', '9.6', 'Fedora 26 (Twenty Six)') }}
|
{{ fedora_codename('Fedora-34', '13') }}
|
||||||
|
{{ fedora_codename('Fedora-33', '13') }}
|
||||||
|
|
||||||
|
## Amazon
|
||||||
|
Amazon Linux 2:
|
||||||
|
pkgs_deps:
|
||||||
|
- libicu
|
||||||
|
- systemd-sysv
|
||||||
|
pkg_repo:
|
||||||
|
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-7-$basearch'
|
||||||
|
|
||||||
# vim: ft=sls
|
# vim: ft=sls
|
||||||
|
|||||||
@@ -6,9 +6,10 @@
|
|||||||
postgres:
|
postgres:
|
||||||
use_upstream_repo: true
|
use_upstream_repo: true
|
||||||
add_profile: false # add bin_dir to $PATH, if installed from repos
|
add_profile: false # add bin_dir to $PATH, if installed from repos
|
||||||
version: '10'
|
version: '13'
|
||||||
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(
|
||||||
lookup=None,
|
source_files,
|
||||||
default_files_switch=['id', 'os_family'],
|
lookup=None,
|
||||||
indent_width=6,
|
default_files_switch=["id", "os_family"],
|
||||||
use_subpath=False) %}
|
indent_width=6,
|
||||||
{#-
|
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 #}
|
||||||
{#- Append an empty value to evaluate as `default` in the loop below #}
|
{%- if "" not in fsl %}
|
||||||
{%- if '' not in fsl %}
|
{%- set fsl = fsl + [""] %}
|
||||||
{%- do fsl.append('') %}
|
{%- endif %}
|
||||||
{%- endif %}
|
{%- for fs in fsl %}
|
||||||
{%- for fs in fsl %}
|
{%- for src_file in src_files %}
|
||||||
{%- for src_file in src_files %}
|
{%- if fs %}
|
||||||
{%- if fs %}
|
{%- set fs_dirs = salt["config.get"](fs, fs) %}
|
||||||
{%- set fs_dirs = salt['config.get'](fs, fs) %}
|
{%- else %}
|
||||||
{%- else %}
|
{%- set fs_dirs = salt["config.get"](
|
||||||
{%- set fs_dirs = salt['config.get'](tplroot ~ ':tofs:dirs:default', 'default') %}
|
tplroot ~ ":tofs:dirs:default", "default"
|
||||||
{%- endif %}
|
) %}
|
||||||
{#- Force the `config.get` lookup result as a list where necessary #}
|
{%- endif %}
|
||||||
{#- since we need to also handle grains that are lists #}
|
{#- Force the `config.get` lookup result as a list where necessary #}
|
||||||
{%- if fs_dirs is string %}
|
{#- since we need to also handle grains that are lists #}
|
||||||
{%- set fs_dirs = [fs_dirs] %}
|
{%- if fs_dirs is string %}
|
||||||
{%- endif %}
|
{%- set fs_dirs = [fs_dirs] %}
|
||||||
{%- for fs_dir in fs_dirs %}
|
{%- endif %}
|
||||||
{%- set url = [
|
{%- for fs_dir in fs_dirs %}
|
||||||
'- salt:/',
|
{#- strip empty elements by using a select #}
|
||||||
path_prefix_inc_ext.strip('/'),
|
{%- set url = (
|
||||||
files_dir.strip('/'),
|
[
|
||||||
fs_dir.strip('/'),
|
"- salt:/",
|
||||||
src_file.strip('/'),
|
path_prefix_inc_ext.strip("/"),
|
||||||
] | select | join('/') %}
|
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 %}
|
||||||
|
|
||||||
|
|||||||
@@ -6,12 +6,14 @@
|
|||||||
{% set release = repo.version|replace('.', '') %}
|
{% set release = repo.version|replace('.', '') %}
|
||||||
|
|
||||||
Arch:
|
Arch:
|
||||||
|
use_upstream_repo: false
|
||||||
conf_dir: /var/lib/postgres/data
|
conf_dir: /var/lib/postgres/data
|
||||||
data_dir: /var/lib/postgres/data
|
data_dir: /var/lib/postgres/data
|
||||||
pkg_client: postgresql-libs
|
pkg_client: postgresql-libs
|
||||||
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'
|
||||||
@@ -61,6 +63,13 @@ RedHat:
|
|||||||
gpgkey: 'https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-{{ release }}'
|
gpgkey: 'https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-{{ release }}'
|
||||||
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-$releasever-$basearch'
|
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-$releasever-$basearch'
|
||||||
|
|
||||||
|
pkgs_deps:
|
||||||
|
- libicu
|
||||||
|
{%- if grains.get('osmajorrelease', 0) == 7 %}
|
||||||
|
- systemd-sysv
|
||||||
|
{%- endif %}
|
||||||
|
pkg_python: python3-psycopg2
|
||||||
|
|
||||||
{% if repo.use_upstream_repo == true %}
|
{% if repo.use_upstream_repo == true %}
|
||||||
{% set data_dir = '/var/lib/pgsql/' ~ repo.version ~ '/data' %}
|
{% set data_dir = '/var/lib/pgsql/' ~ repo.version ~ '/data' %}
|
||||||
|
|
||||||
@@ -134,9 +143,9 @@ Suse:
|
|||||||
pkg_repo:
|
pkg_repo:
|
||||||
name: pgdg-sles-{{ release }}
|
name: pgdg-sles-{{ release }}
|
||||||
humanname: PostgreSQL {{ repo.version }} $releasever - $basearch
|
humanname: PostgreSQL {{ repo.version }} $releasever - $basearch
|
||||||
#Using sles-12 upstream repo for opensuse
|
# works for postgres 11 onwards
|
||||||
baseurl: 'https://download.postgresql.org/pub/repos/zypp/{{ repo.version }}/suse/sles-12-$basearch'
|
baseurl: 'https://download.postgresql.org/pub/repos/zypp/{{ repo.version }}/suse/sles-$releasever-$basearch'
|
||||||
key_url: 'https://download.postgresql.org/pub/repos/zypp/{{ repo.version }}/suse/sles-12-$basearch/repodata/repomd.xml.key'
|
key_url: 'https://download.postgresql.org/pub/repos/zypp/{{ repo.version }}/suse/sles-$releasever-$basearch/repodata/repomd.xml.key'
|
||||||
gpgcheck: 1
|
gpgcheck: 1
|
||||||
gpgautoimport: True
|
gpgautoimport: True
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ postgresql-python:
|
|||||||
{% if postgres.fromrepo %}
|
{% if postgres.fromrepo %}
|
||||||
- fromrepo: {{ postgres.fromrepo }}
|
- fromrepo: {{ postgres.fromrepo }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if postgres.use_upstream_repo == true %}
|
{% if 'pkg_repo' in postgres and postgres.use_upstream_repo == true %}
|
||||||
- refresh: True
|
- refresh: True
|
||||||
- require:
|
- require:
|
||||||
- pkgrepo: postgresql-repo
|
- pkgrepo: postgresql-repo
|
||||||
|
|||||||
@@ -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 %}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ include:
|
|||||||
postgresql-server:
|
postgresql-server:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- pkgs: {{ pkgs | json }}
|
- pkgs: {{ pkgs | json }}
|
||||||
{%- if postgres.use_upstream_repo == true %}
|
{%- if 'pkg_repo' in postgres and postgres.use_upstream_repo == true %}
|
||||||
- refresh: True
|
- refresh: True
|
||||||
- require:
|
- require:
|
||||||
- pkgrepo: postgresql-repo
|
- pkgrepo: postgresql-repo
|
||||||
|
|||||||
@@ -24,6 +24,9 @@ postgresql-server-removed:
|
|||||||
- {{ pkg }}
|
- {{ pkg }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
file.absent:
|
||||||
|
- names:
|
||||||
|
- /var/run/postgresql
|
||||||
|
|
||||||
{%- if postgres.remove.multiple_releases %}
|
{%- if postgres.remove.multiple_releases %}
|
||||||
#search for and cleandown multiple releases
|
#search for and cleandown multiple releases
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
shortcutName='${1}'
|
shortcutName="${1}"
|
||||||
app="postgres.app"
|
app="postgres.app"
|
||||||
Source="/Applications/$app"
|
Source="/Applications/$app"
|
||||||
Destination="{{ homes }}/{{ user }}/Desktop/${shortcutName}"
|
Destination="{{ homes }}/{{ user }}/Desktop/${shortcutName}"
|
||||||
/usr/bin/osascript -e "tell application \"Finder\" to make alias file to POSIX file \"$Source\" at POSIX file \"$Destination\""
|
/usr/bin/osascript -e "tell application \"Finder\" to make alias file to POSIX file \"$Source\" at POSIX file \"$Destination\""
|
||||||
|
|
||||||
|
|||||||
@@ -17,10 +17,17 @@ 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 | json }}
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
|
|
||||||
|
|||||||
@@ -11,12 +11,12 @@ sed -i -e "s_^\(version:\).*_\1 ${1}_" FORMULA
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
# Install `m2r`
|
# Install `m2r`
|
||||||
sudo -H pip install m2r
|
pip3 install m2r
|
||||||
|
|
||||||
# Copy and then convert the `.md` docs
|
# Copy and then convert the `.md` docs
|
||||||
cp *.md docs/
|
cp ./*.md docs/
|
||||||
cd docs/
|
cd docs/ || exit
|
||||||
m2r --overwrite *.md
|
m2r --overwrite ./*.md
|
||||||
|
|
||||||
# Change excess `H1` headings to `H2` in converted `CHANGELOG.rst`
|
# Change excess `H1` headings to `H2` in converted `CHANGELOG.rst`
|
||||||
sed -i -e '/^=.*$/s/=/-/g' CHANGELOG.rst
|
sed -i -e '/^=.*$/s/=/-/g' CHANGELOG.rst
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
branch: 'master',
|
branch: 'master',
|
||||||
|
repositoryUrl: 'https://github.com/saltstack-formulas/postgres-formula',
|
||||||
plugins: [
|
plugins: [
|
||||||
['@semantic-release/commit-analyzer', {
|
['@semantic-release/commit-analyzer', {
|
||||||
preset: 'angular',
|
preset: 'angular',
|
||||||
@@ -63,7 +64,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (typeof commit.hash === `string`) {
|
if (typeof commit.hash === `string`) {
|
||||||
commit.hash = commit.hash.substring(0, 7)
|
commit.shortHash = commit.hash.substring(0, 7)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof commit.subject === `string`) {
|
if (typeof commit.subject === `string`) {
|
||||||
|
|||||||
26
test/integration/default/controls/services.rb
Normal file
26
test/integration/default/controls/services.rb
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
service_name = 'postgresql'
|
||||||
|
|
||||||
|
pg_port =
|
||||||
|
case platform[:family]
|
||||||
|
when 'debian', 'suse'
|
||||||
|
5433
|
||||||
|
else
|
||||||
|
5432
|
||||||
|
end
|
||||||
|
|
||||||
|
control 'Postgres service' do
|
||||||
|
impact 0.5
|
||||||
|
title 'should be installed, enabled and running'
|
||||||
|
|
||||||
|
describe service(service_name) do
|
||||||
|
it { should be_installed }
|
||||||
|
it { should be_enabled }
|
||||||
|
it { should be_running }
|
||||||
|
end
|
||||||
|
|
||||||
|
describe port(pg_port) do
|
||||||
|
it { should be_listening }
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
# Overide by Platform
|
|
||||||
service_name = 'postgresql'
|
|
||||||
pg_port = 5432
|
|
||||||
if (platform[:name] == 'centos') && platform[:release].start_with?('6')
|
|
||||||
service_name = 'postgresql-9.6'
|
|
||||||
elsif (platform[:family] == 'debian') || (platform[:family] == 'suse')
|
|
||||||
pg_port = 5433
|
|
||||||
end
|
|
||||||
|
|
||||||
control 'Postgres service' do
|
|
||||||
impact 0.5
|
|
||||||
title 'should be running and enabled'
|
|
||||||
|
|
||||||
describe service(service_name) do
|
|
||||||
it { should be_enabled }
|
|
||||||
it { should be_running }
|
|
||||||
end
|
|
||||||
|
|
||||||
describe port(pg_port) do
|
|
||||||
it { should be_listening }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
13
test/integration/default/controls/share.rb
Normal file
13
test/integration/default/controls/share.rb
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
# https://docs.chef.io/inspec/profiles/#including-all-controls-from-a-profile
|
||||||
|
# Could use `include_controls` in this scenario
|
||||||
|
# include_controls 'share'
|
||||||
|
|
||||||
|
# https://docs.chef.io/inspec/profiles/#selectively-including-controls-from-a-profile
|
||||||
|
# However, using `require_controls` for more clarity
|
||||||
|
require_controls 'share' do
|
||||||
|
control 'Postgres command'
|
||||||
|
control 'Postgres configuration'
|
||||||
|
# control 'Postgres service'
|
||||||
|
end
|
||||||
@@ -6,6 +6,9 @@ title: postgres formula
|
|||||||
maintainer: SaltStack Formulas
|
maintainer: SaltStack Formulas
|
||||||
license: Apache-2.0
|
license: Apache-2.0
|
||||||
summary: Verify that the postgres formula is setup and configured correctly
|
summary: Verify that the postgres formula is setup and configured correctly
|
||||||
|
depends:
|
||||||
|
- name: share
|
||||||
|
path: test/integration/share
|
||||||
supports:
|
supports:
|
||||||
- platform-name: debian
|
- platform-name: debian
|
||||||
- platform-name: ubuntu
|
- platform-name: ubuntu
|
||||||
@@ -14,5 +17,11 @@ supports:
|
|||||||
- platform-name: opensuse
|
- platform-name: opensuse
|
||||||
- platform-name: suse
|
- platform-name: suse
|
||||||
- platform-name: freebsd
|
- platform-name: freebsd
|
||||||
|
- platform-name: openbsd
|
||||||
- platform-name: amazon
|
- platform-name: amazon
|
||||||
|
- platform-name: oracle
|
||||||
- platform-name: arch
|
- platform-name: arch
|
||||||
|
- platform-name: gentoo
|
||||||
|
- platform-name: almalinux
|
||||||
|
- platform-name: rocky
|
||||||
|
- platform: windows
|
||||||
|
|||||||
50
test/integration/repo/README.md
Normal file
50
test/integration/repo/README.md
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
# InSpec Profile: `repo`
|
||||||
|
|
||||||
|
This shows the implementation of the `repo` InSpec [profile](https://github.com/inspec/inspec/blob/master/docs/profiles.md).
|
||||||
|
|
||||||
|
## Verify a profile
|
||||||
|
|
||||||
|
InSpec ships with built-in features to verify a profile structure.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ inspec check repo
|
||||||
|
Summary
|
||||||
|
-------
|
||||||
|
Location: repo
|
||||||
|
Profile: profile
|
||||||
|
Controls: 4
|
||||||
|
Timestamp: 2019-06-24T23:09:01+00:00
|
||||||
|
Valid: true
|
||||||
|
|
||||||
|
Errors
|
||||||
|
------
|
||||||
|
|
||||||
|
Warnings
|
||||||
|
--------
|
||||||
|
```
|
||||||
|
|
||||||
|
## Execute a profile
|
||||||
|
|
||||||
|
To run all **supported** controls on a local machine use `inspec exec /path/to/profile`.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ inspec exec repo
|
||||||
|
..
|
||||||
|
|
||||||
|
Finished in 0.0025 seconds (files took 0.12449 seconds to load)
|
||||||
|
8 examples, 0 failures
|
||||||
|
```
|
||||||
|
|
||||||
|
## Execute a specific control from a profile
|
||||||
|
|
||||||
|
To run one control from the profile use `inspec exec /path/to/profile --controls name`.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ inspec exec repo --controls package
|
||||||
|
.
|
||||||
|
|
||||||
|
Finished in 0.0025 seconds (files took 0.12449 seconds to load)
|
||||||
|
1 examples, 0 failures
|
||||||
|
```
|
||||||
|
|
||||||
|
See an [example control here](https://github.com/inspec/inspec/blob/master/examples/profile/controls/example.rb).
|
||||||
37
test/integration/repo/controls/services.rb
Normal file
37
test/integration/repo/controls/services.rb
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
service_name =
|
||||||
|
case platform[:family]
|
||||||
|
when 'redhat', 'fedora', 'suse'
|
||||||
|
case system.platform[:release]
|
||||||
|
when 'tumbleweed'
|
||||||
|
'postgresql'
|
||||||
|
else
|
||||||
|
'postgresql-13'
|
||||||
|
end
|
||||||
|
else
|
||||||
|
'postgresql'
|
||||||
|
end
|
||||||
|
|
||||||
|
pg_port =
|
||||||
|
case platform[:family]
|
||||||
|
when 'debian', 'suse'
|
||||||
|
5433
|
||||||
|
else
|
||||||
|
5432
|
||||||
|
end
|
||||||
|
|
||||||
|
control 'Postgres service' do
|
||||||
|
impact 0.5
|
||||||
|
title 'should be installed, enabled and running'
|
||||||
|
|
||||||
|
describe service(service_name) do
|
||||||
|
it { should be_installed }
|
||||||
|
it { should be_enabled }
|
||||||
|
it { should be_running }
|
||||||
|
end
|
||||||
|
|
||||||
|
describe port(pg_port) do
|
||||||
|
it { should be_listening }
|
||||||
|
end
|
||||||
|
end
|
||||||
13
test/integration/repo/controls/share.rb
Normal file
13
test/integration/repo/controls/share.rb
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
# https://docs.chef.io/inspec/profiles/#including-all-controls-from-a-profile
|
||||||
|
# Could use `include_controls` in this scenario
|
||||||
|
# include_controls 'share'
|
||||||
|
|
||||||
|
# https://docs.chef.io/inspec/profiles/#selectively-including-controls-from-a-profile
|
||||||
|
# However, using `require_controls` for more clarity
|
||||||
|
require_controls 'share' do
|
||||||
|
control 'Postgres command'
|
||||||
|
control 'Postgres configuration'
|
||||||
|
# control 'Postgres service'
|
||||||
|
end
|
||||||
28
test/integration/repo/inspec.yml
Normal file
28
test/integration/repo/inspec.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=yaml
|
||||||
|
---
|
||||||
|
name: repo
|
||||||
|
title: postgres formula
|
||||||
|
maintainer: SaltStack Formulas
|
||||||
|
license: Apache-2.0
|
||||||
|
# yamllint disable-line rule:line-length
|
||||||
|
summary: Verify that the postgres formula is setup and configured correctly (when installing from the upstream repo)
|
||||||
|
depends:
|
||||||
|
- name: share
|
||||||
|
path: test/integration/share
|
||||||
|
supports:
|
||||||
|
- platform-name: debian
|
||||||
|
- platform-name: ubuntu
|
||||||
|
- platform-name: centos
|
||||||
|
- platform-name: fedora
|
||||||
|
- platform-name: opensuse
|
||||||
|
- platform-name: suse
|
||||||
|
- platform-name: freebsd
|
||||||
|
- platform-name: openbsd
|
||||||
|
- platform-name: amazon
|
||||||
|
- platform-name: oracle
|
||||||
|
- platform-name: arch
|
||||||
|
- platform-name: gentoo
|
||||||
|
- platform-name: almalinux
|
||||||
|
- platform-name: rocky
|
||||||
|
- platform: windows
|
||||||
22
test/integration/share/README.md
Normal file
22
test/integration/share/README.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# InSpec Profile: `share`
|
||||||
|
|
||||||
|
This shows the implementation of the `share` InSpec [profile](https://github.com/inspec/inspec/blob/master/docs/profiles.md).
|
||||||
|
|
||||||
|
Its goal is to share the libraries between all profiles.
|
||||||
|
|
||||||
|
## Libraries
|
||||||
|
|
||||||
|
### `system`
|
||||||
|
|
||||||
|
The `system` library provides easy access to system dependent information:
|
||||||
|
|
||||||
|
- `system.platform`: based on `inspec.platform`, modify to values that are more consistent from a SaltStack perspective
|
||||||
|
- `system.platform[:family]` provide a family name for Arch and Gentoo
|
||||||
|
- `system.platform[:name]` append `linux` to both `amazon` and `oracle`; ensure Windows platforms are resolved as simply `windows`
|
||||||
|
- `system.platform[:release]` tweak Arch, Amazon Linux, Gentoo, openSUSE and Windows:
|
||||||
|
- `Arch` is always `base-latest`
|
||||||
|
- `Amazon Linux` release `2018` is resolved as `1`
|
||||||
|
- `Gentoo` release is trimmed to its major version number and then the init system is appended (i.e. `sysv` or `sysd`)
|
||||||
|
- `openSUSE` is resolved as `tumbleweed` if the `platform[:release]` is in date format
|
||||||
|
- `Windows` uses the widely-used release number (e.g. `8.1` or `2019-server`) in place of the actual system release version
|
||||||
|
- `system.platform[:finger]` is the concatenation of the name and the major release number (except for Ubuntu, which gives `ubuntu-20.04` for example)
|
||||||
@@ -8,7 +8,7 @@ control 'Postgres command' do
|
|||||||
title 'should match desired lines'
|
title 'should match desired lines'
|
||||||
|
|
||||||
# Can't use `%Q` here due to the `\`
|
# Can't use `%Q` here due to the `\`
|
||||||
describe command("su - postgres -c 'psql -p" + pg_port + %q( -qtc "\l+ db2"')) do
|
describe command("su - postgres -c 'psql -p#{pg_port} -qtc \"\\l+ db2\"'") do
|
||||||
its(:stdout) do
|
its(:stdout) do
|
||||||
should match(
|
should match(
|
||||||
/db2.*remoteUser.*UTF8.*en_US.UTF-8.*en_US.UTF-8.*my_space/
|
/db2.*remoteUser.*UTF8.*en_US.UTF-8.*en_US.UTF-8.*my_space/
|
||||||
24
test/integration/share/inspec.yml
Normal file
24
test/integration/share/inspec.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=yaml
|
||||||
|
---
|
||||||
|
name: share
|
||||||
|
title: InSpec shared resources
|
||||||
|
maintainer: SaltStack Formulas
|
||||||
|
license: Apache-2.0
|
||||||
|
summary: shared resources
|
||||||
|
supports:
|
||||||
|
- platform-name: debian
|
||||||
|
- platform-name: ubuntu
|
||||||
|
- platform-name: centos
|
||||||
|
- platform-name: fedora
|
||||||
|
- platform-name: opensuse
|
||||||
|
- platform-name: suse
|
||||||
|
- platform-name: freebsd
|
||||||
|
- platform-name: openbsd
|
||||||
|
- platform-name: amazon
|
||||||
|
- platform-name: oracle
|
||||||
|
- platform-name: arch
|
||||||
|
- platform-name: gentoo
|
||||||
|
- platform-name: almalinux
|
||||||
|
- platform-name: rocky
|
||||||
|
- platform: windows
|
||||||
90
test/integration/share/libraries/system.rb
Normal file
90
test/integration/share/libraries/system.rb
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
# system.rb -- InSpec resources for system values
|
||||||
|
# Author: Daniel Dehennin <daniel.dehennin@ac-dijon.fr>
|
||||||
|
# Copyright (C) 2020 Daniel Dehennin <daniel.dehennin@ac-dijon.fr>
|
||||||
|
|
||||||
|
class SystemResource < Inspec.resource(1)
|
||||||
|
name 'system'
|
||||||
|
|
||||||
|
attr_reader :platform
|
||||||
|
|
||||||
|
def initialize
|
||||||
|
super
|
||||||
|
@platform = build_platform
|
||||||
|
end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def build_platform
|
||||||
|
{
|
||||||
|
family: build_platform_family,
|
||||||
|
name: build_platform_name,
|
||||||
|
release: build_platform_release,
|
||||||
|
finger: build_platform_finger
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
def build_platform_family
|
||||||
|
case inspec.platform[:name]
|
||||||
|
when 'arch', 'gentoo'
|
||||||
|
inspec.platform[:name]
|
||||||
|
else
|
||||||
|
inspec.platform[:family]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
def build_platform_name
|
||||||
|
case inspec.platform[:name]
|
||||||
|
when 'amazon', 'oracle', 'rocky'
|
||||||
|
"#{inspec.platform[:name]}linux"
|
||||||
|
when /^windows_/
|
||||||
|
inspec.platform[:family]
|
||||||
|
else
|
||||||
|
inspec.platform[:name]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# rubocop:disable Metrics/MethodLength,Metrics/AbcSize,Metrics/CyclomaticComplexity
|
||||||
|
def build_platform_release
|
||||||
|
case inspec.platform[:name]
|
||||||
|
when 'amazon'
|
||||||
|
# `2018` relase is named `1` in kitchen.yaml
|
||||||
|
inspec.platform[:release].gsub(/2018.*/, '1')
|
||||||
|
when 'arch'
|
||||||
|
'base-latest'
|
||||||
|
when 'gentoo'
|
||||||
|
"#{inspec.platform[:release].split('.')[0]}-#{derive_gentoo_init_system}"
|
||||||
|
when 'opensuse'
|
||||||
|
# rubocop:disable Style/NumericLiterals,Layout/LineLength
|
||||||
|
inspec.platform[:release].to_i > 20210101 ? 'tumbleweed' : inspec.platform[:release]
|
||||||
|
# rubocop:enable Style/NumericLiterals,Layout/LineLength
|
||||||
|
when 'windows_8.1_pro'
|
||||||
|
'8.1'
|
||||||
|
when 'windows_server_2019_datacenter'
|
||||||
|
'2019-server'
|
||||||
|
when 'windows_server_2016_datacenter'
|
||||||
|
'2016-server'
|
||||||
|
else
|
||||||
|
inspec.platform[:release]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
# rubocop:enable Metrics/MethodLength,Metrics/AbcSize,Metrics/CyclomaticComplexity
|
||||||
|
|
||||||
|
def derive_gentoo_init_system
|
||||||
|
inspec.command('systemctl').exist? ? 'sysd' : 'sysv'
|
||||||
|
end
|
||||||
|
|
||||||
|
def build_platform_finger
|
||||||
|
"#{build_platform_name}-#{build_finger_release}"
|
||||||
|
end
|
||||||
|
|
||||||
|
def build_finger_release
|
||||||
|
case inspec.platform[:name]
|
||||||
|
when 'ubuntu'
|
||||||
|
build_platform_release.split('.').slice(0, 2).join('.')
|
||||||
|
else
|
||||||
|
build_platform_release.split('.')[0]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -1,32 +1,14 @@
|
|||||||
# Port to use for the cluster -- can be used to provide a non-standard port
|
# Port to use for the cluster -- can be used to provide a non-standard port
|
||||||
# NOTE: If already set in the minion config, that value takes priority
|
# NOTE: If already set in the minion config, that value takes priority
|
||||||
|
|
||||||
{%- if grains.os_family != 'Debian' and salt['grains.get']('osfinger') != 'Leap-15' %}
|
{%- if grains.os_family not in ['Debian', 'Suse'] %}
|
||||||
postgres.port: '5432'
|
postgres.port: '5432'
|
||||||
{%- else %}
|
{%- else %}
|
||||||
postgres.port: '5433'
|
postgres.port: '5433'
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
# UPSTREAM REPO
|
use_upstream_repo: false
|
||||||
# Set True to configure upstream postgresql.org repository for YUM/APT/ZYPP
|
|
||||||
{%- if grains.os_family != 'Debian' and salt['grains.get']('osfinger') != 'CentOS-6' %}
|
|
||||||
use_upstream_repo: False
|
|
||||||
{%- else %}
|
|
||||||
use_upstream_repo: True
|
|
||||||
# Version to install from upstream repository (if upstream_repo: True)
|
|
||||||
{%- if not (grains.os_family == 'Debian') %}
|
|
||||||
version: '9.6'
|
|
||||||
{%- else %}
|
|
||||||
version: '10'
|
|
||||||
{%- endif %}
|
|
||||||
# # Set True to add a file in /etc/profile.d adding the bin dir in $PATH
|
|
||||||
# # as packages from upstream put them somewhere like /usr/pgsql-10/bin
|
|
||||||
# add_profile: False
|
|
||||||
# # If automatic package installation fails, use `fromrepo` to specify the
|
|
||||||
# # upstream repo to install packages from [#133, #185] (if upstream_repo: True)
|
|
||||||
# fromrepo: 'jessie-pgdg'
|
|
||||||
{%- endif %}
|
|
||||||
|
|
||||||
# ### MACOS
|
# ### MACOS
|
||||||
# # Set to 'postgresapp' OR 'homebrew' for MacOS
|
# # Set to 'postgresapp' OR 'homebrew' for MacOS
|
||||||
@@ -181,7 +163,8 @@ postgres:
|
|||||||
public:
|
public:
|
||||||
owner: localUser
|
owner: localUser
|
||||||
# enable per-db extension
|
# enable per-db extension
|
||||||
{%- if grains.os_family == 'Debian' and salt['grains.get']('osfinger') != 'Debian-8' %}
|
{#- TODO: Find a way to only disable this for the `default` suite, since it works with the `repo` suite #}
|
||||||
|
{%- if grains.os_family == 'Debian' and salt['grains.get']('osfinger') != 'Debian-9' %}
|
||||||
extensions:
|
extensions:
|
||||||
uuid-ossp:
|
uuid-ossp:
|
||||||
schema: 'public'
|
schema: 'public'
|
||||||
@@ -194,7 +177,8 @@ postgres:
|
|||||||
owner: localUser
|
owner: localUser
|
||||||
|
|
||||||
# optional extensions to install in schema
|
# optional extensions to install in schema
|
||||||
{%- if grains.os_family == 'Debian' and salt['grains.get']('osfinger') != 'Debian-8' %}
|
{#- TODO: Find a way to only disable this for the `default` suite, since it works with the `repo` suite #}
|
||||||
|
{%- if grains.os_family == 'Debian' and salt['grains.get']('osfinger') != 'Debian-9' %}
|
||||||
extensions:
|
extensions:
|
||||||
uuid-ossp:
|
uuid-ossp:
|
||||||
schema: uuid-ossp
|
schema: uuid-ossp
|
||||||
|
|||||||
4
test/salt/pillar/repo.sls
Normal file
4
test/salt/pillar/repo.sls
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
postgres:
|
||||||
|
use_upstream_repo: true
|
||||||
|
version: '13'
|
||||||
Reference in New Issue
Block a user