Compare commits
29 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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 |
38
.github/workflows/kitchen.vagrant.yml
vendored
Normal file
38
.github/workflows/kitchen.vagrant.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
# -*- 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
|
||||||
|
- default-freebsd-122-master-py3
|
||||||
|
- default-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 }}'
|
||||||
122
.gitlab-ci.yml
122
.gitlab-ci.yml
@@ -46,7 +46,7 @@ variables:
|
|||||||
DOCKER_DRIVER: 'overlay2'
|
DOCKER_DRIVER: 'overlay2'
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# `lint` stage: `commitlint` & `pre-commit`
|
# `lint` stage: `commitlint`, `pre-commit` & `rubocop` (latest, failure allowed)
|
||||||
###############################################################################
|
###############################################################################
|
||||||
commitlint:
|
commitlint:
|
||||||
stage: *stage_lint
|
stage: *stage_lint
|
||||||
@@ -127,77 +127,97 @@ rubocop:
|
|||||||
# default-debian-9-tiamat-py3: {extends: '.test_instance'}
|
# default-debian-9-tiamat-py3: {extends: '.test_instance'}
|
||||||
# default-ubuntu-2004-tiamat-py3: {extends: '.test_instance'}
|
# default-ubuntu-2004-tiamat-py3: {extends: '.test_instance'}
|
||||||
# default-ubuntu-1804-tiamat-py3: {extends: '.test_instance'}
|
# default-ubuntu-1804-tiamat-py3: {extends: '.test_instance'}
|
||||||
# default-ubuntu-1604-tiamat-py3: {extends: '.test_instance'}
|
|
||||||
# default-centos-8-tiamat-py3: {extends: '.test_instance'}
|
# default-centos-8-tiamat-py3: {extends: '.test_instance'}
|
||||||
# default-centos-7-tiamat-py3: {extends: '.test_instance'}
|
# default-centos-7-tiamat-py3: {extends: '.test_instance'}
|
||||||
# default-amazonlinux-2-tiamat-py3: {extends: '.test_instance'}
|
# default-amazonlinux-2-tiamat-py3: {extends: '.test_instance'}
|
||||||
# default-oraclelinux-8-tiamat-py3: {extends: '.test_instance'}
|
# default-oraclelinux-8-tiamat-py3: {extends: '.test_instance'}
|
||||||
# default-oraclelinux-7-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-10-master-py3: {extends: '.test_instance'}
|
default-debian-10-master-py3: {extends: '.test_instance'}
|
||||||
default-debian-9-master-py3: {extends: '.test_instance'}
|
default-debian-9-master-py3: {extends: '.test_instance'}
|
||||||
default-ubuntu-2004-master-py3: {extends: '.test_instance'}
|
default-ubuntu-2004-master-py3: {extends: '.test_instance'}
|
||||||
default-ubuntu-1804-master-py3: {extends: '.test_instance'}
|
default-ubuntu-1804-master-py3: {extends: '.test_instance'}
|
||||||
# default-ubuntu-1604-master-py3: {extends: '.test_instance'}
|
|
||||||
default-centos-8-master-py3: {extends: '.test_instance'}
|
default-centos-8-master-py3: {extends: '.test_instance'}
|
||||||
default-centos-7-master-py3: {extends: '.test_instance'}
|
default-centos-7-master-py3: {extends: '.test_instance'}
|
||||||
|
default-fedora-34-master-py3: {extends: '.test_instance'}
|
||||||
default-fedora-33-master-py3: {extends: '.test_instance'}
|
default-fedora-33-master-py3: {extends: '.test_instance'}
|
||||||
default-fedora-32-master-py3: {extends: '.test_instance'}
|
default-opensuse-leap-153-master-py3: {extends: '.test_instance'}
|
||||||
default-opensuse-leap-152-master-py3: {extends: '.test_instance'}
|
default-opensuse-leap-152-master-py3: {extends: '.test_instance'}
|
||||||
default-opensuse-tmbl-latest-master-py3: {extends: '.test_instance'}
|
default-opensuse-tmbl-latest-master-py3: {extends: '.test_instance'}
|
||||||
default-amazonlinux-2-master-py3: {extends: '.test_instance'}
|
default-amazonlinux-2-master-py3: {extends: '.test_instance'}
|
||||||
default-oraclelinux-8-master-py3: {extends: '.test_instance'}
|
default-oraclelinux-8-master-py3: {extends: '.test_instance'}
|
||||||
default-oraclelinux-7-master-py3: {extends: '.test_instance'}
|
default-oraclelinux-7-master-py3: {extends: '.test_instance'}
|
||||||
|
default-arch-base-latest-master-py3: {extends: '.test_instance'}
|
||||||
# default-gentoo-stage3-latest-master-py3: {extends: '.test_instance'}
|
# default-gentoo-stage3-latest-master-py3: {extends: '.test_instance'}
|
||||||
# default-gentoo-stage3-systemd-master-py3: {extends: '.test_instance'}
|
# default-gentoo-stage3-systemd-master-py3: {extends: '.test_instance'}
|
||||||
# default-debian-10-3002-2-py3: {extends: '.test_instance'}
|
default-almalinux-8-master-py3: {extends: '.test_instance'}
|
||||||
# default-debian-9-3002-2-py3: {extends: '.test_instance'}
|
default-rockylinux-8-master-py3: {extends: '.test_instance'}
|
||||||
# default-ubuntu-2004-3002-2-py3: {extends: '.test_instance'}
|
# default-debian-10-3003-1-py3: {extends: '.test_instance'}
|
||||||
# default-ubuntu-1804-3002-2-py3: {extends: '.test_instance'}
|
# default-debian-9-3003-1-py3: {extends: '.test_instance'}
|
||||||
# default-ubuntu-1604-3002-2-py3: {extends: '.test_instance'}
|
# default-ubuntu-2004-3003-1-py3: {extends: '.test_instance'}
|
||||||
# default-centos-8-3002-2-py3: {extends: '.test_instance'}
|
# default-ubuntu-1804-3003-1-py3: {extends: '.test_instance'}
|
||||||
# default-centos-7-3002-2-py3: {extends: '.test_instance'}
|
# default-centos-8-3003-1-py3: {extends: '.test_instance'}
|
||||||
# default-fedora-33-3002-2-py3: {extends: '.test_instance'}
|
# default-centos-7-3003-1-py3: {extends: '.test_instance'}
|
||||||
# default-fedora-32-3002-2-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-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-leap-152-3002-2-py3: {extends: '.test_instance'}
|
||||||
# default-opensuse-tmbl-latest-3002-2-py3: {extends: '.test_instance'}
|
# default-opensuse-tmbl-latest-3002-2-py3: {extends: '.test_instance'}
|
||||||
# default-amazonlinux-2-3002-2-py3: {extends: '.test_instance'}
|
# default-debian-10-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-oraclelinux-8-3002-2-py3: {extends: '.test_instance'}
|
# default-debian-9-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-oraclelinux-7-3002-2-py3: {extends: '.test_instance'}
|
# default-ubuntu-2004-3001-7-py3: {extends: '.test_instance'}
|
||||||
default-arch-base-latest-3002-2-py3: {extends: '.test_instance'}
|
# default-ubuntu-1804-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-gentoo-stage3-latest-3002-2-py3: {extends: '.test_instance'}
|
# default-centos-8-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-gentoo-stage3-systemd-3002-2-py3: {extends: '.test_instance'}
|
# default-centos-7-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-debian-10-3001-4-py3: {extends: '.test_instance'}
|
# default-fedora-34-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-debian-9-3001-4-py3: {extends: '.test_instance'}
|
# default-fedora-33-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-ubuntu-2004-3001-4-py3: {extends: '.test_instance'}
|
# default-opensuse-leap-153-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-ubuntu-1804-3001-4-py3: {extends: '.test_instance'}
|
# default-opensuse-leap-152-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-ubuntu-1604-3001-4-py3: {extends: '.test_instance'}
|
# default-opensuse-tmbl-latest-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-centos-8-3001-4-py3: {extends: '.test_instance'}
|
# default-amazonlinux-2-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-centos-7-3001-4-py3: {extends: '.test_instance'}
|
# default-oraclelinux-8-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-fedora-33-3001-4-py3: {extends: '.test_instance'}
|
# default-oraclelinux-7-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-fedora-32-3001-4-py3: {extends: '.test_instance'}
|
# default-arch-base-latest-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-opensuse-leap-152-3001-4-py3: {extends: '.test_instance'}
|
# default-gentoo-stage3-latest-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-opensuse-tmbl-latest-3001-4-py3: {extends: '.test_instance'}
|
# default-gentoo-stage3-systemd-3001-7-py3: {extends: '.test_instance'}
|
||||||
# default-amazonlinux-2-3001-4-py3: {extends: '.test_instance'}
|
# default-debian-10-3000-9-py3: {extends: '.test_instance'}
|
||||||
# default-oraclelinux-8-3001-4-py3: {extends: '.test_instance'}
|
# default-debian-9-3000-9-py3: {extends: '.test_instance'}
|
||||||
# default-oraclelinux-7-3001-4-py3: {extends: '.test_instance'}
|
# default-ubuntu-1804-3000-9-py3: {extends: '.test_instance'}
|
||||||
# default-arch-base-latest-3001-4-py3: {extends: '.test_instance'}
|
# default-centos-8-3000-9-py3: {extends: '.test_instance'}
|
||||||
# default-gentoo-stage3-latest-3001-4-py3: {extends: '.test_instance'}
|
# default-centos-7-3000-9-py3: {extends: '.test_instance'}
|
||||||
# default-gentoo-stage3-systemd-3001-4-py3: {extends: '.test_instance'}
|
# default-opensuse-leap-153-3000-9-py3: {extends: '.test_instance'}
|
||||||
# default-debian-10-3000-6-py3: {extends: '.test_instance'}
|
# default-opensuse-leap-152-3000-9-py3: {extends: '.test_instance'}
|
||||||
# default-debian-9-3000-6-py3: {extends: '.test_instance'}
|
# default-amazonlinux-2-3000-9-py3: {extends: '.test_instance'}
|
||||||
# default-ubuntu-1804-3000-6-py3: {extends: '.test_instance'}
|
# default-oraclelinux-8-3000-9-py3: {extends: '.test_instance'}
|
||||||
# default-ubuntu-1604-3000-6-py3: {extends: '.test_instance'}
|
# default-oraclelinux-7-3000-9-py3: {extends: '.test_instance'}
|
||||||
# default-centos-8-3000-6-py3: {extends: '.test_instance'}
|
# default-gentoo-stage3-latest-3000-9-py3: {extends: '.test_instance'}
|
||||||
# default-centos-7-3000-6-py3: {extends: '.test_instance'}
|
# default-gentoo-stage3-systemd-3000-9-py3: {extends: '.test_instance'}
|
||||||
# default-opensuse-leap-152-3000-6-py3: {extends: '.test_instance'}
|
# default-ubuntu-1804-3000-9-py2: {extends: '.test_instance'}
|
||||||
# default-amazonlinux-2-3000-6-py3: {extends: '.test_instance'}
|
# default-arch-base-latest-3000-9-py2: {extends: '.test_instance'}
|
||||||
# default-oraclelinux-8-3000-6-py3: {extends: '.test_instance'}
|
|
||||||
# default-oraclelinux-7-3000-6-py3: {extends: '.test_instance'}
|
|
||||||
# default-gentoo-stage3-latest-3000-6-py3: {extends: '.test_instance'}
|
|
||||||
# default-gentoo-stage3-systemd-3000-6-py3: {extends: '.test_instance'}
|
|
||||||
# default-ubuntu-1804-3000-6-py2: {extends: '.test_instance'}
|
|
||||||
# default-ubuntu-1604-3000-6-py2: {extends: '.test_instance'}
|
|
||||||
# default-arch-base-latest-3000-6-py2: {extends: '.test_instance'}
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# `release` stage: `semantic-release`
|
# `release` stage: `semantic-release`
|
||||||
|
|||||||
@@ -52,4 +52,14 @@ repos:
|
|||||||
- id: rstcheck
|
- id: rstcheck
|
||||||
name: Check reST files using rstcheck
|
name: Check reST files using rstcheck
|
||||||
exclude: 'docs/CHANGELOG.rst'
|
exclude: 'docs/CHANGELOG.rst'
|
||||||
args: [--report=warning]
|
- 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]
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
[rstcheck]
|
[rstcheck]
|
||||||
report=error
|
report=info
|
||||||
ignore_language=rst
|
ignore_language=rst
|
||||||
|
ignore_messages=(Duplicate (ex|im)plicit target.*|Hyperlink target ".*" is not referenced\.$)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Layout/LineLength:
|
|||||||
# 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:
|
Metrics/BlockLength:
|
||||||
ExcludedMethods:
|
IgnoredMethods:
|
||||||
- control
|
- control
|
||||||
- describe
|
- describe
|
||||||
# Increase from default of `25`
|
# Increase from default of `25`
|
||||||
|
|||||||
120
.travis.yml
120
.travis.yml
@@ -87,77 +87,97 @@ jobs:
|
|||||||
# - env: INSTANCE=default-debian-9-tiamat-py3
|
# - env: INSTANCE=default-debian-9-tiamat-py3
|
||||||
# - env: INSTANCE=default-ubuntu-2004-tiamat-py3
|
# - env: INSTANCE=default-ubuntu-2004-tiamat-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1804-tiamat-py3
|
# - env: INSTANCE=default-ubuntu-1804-tiamat-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1604-tiamat-py3
|
|
||||||
# - env: INSTANCE=default-centos-8-tiamat-py3
|
# - env: INSTANCE=default-centos-8-tiamat-py3
|
||||||
# - env: INSTANCE=default-centos-7-tiamat-py3
|
# - env: INSTANCE=default-centos-7-tiamat-py3
|
||||||
# - env: INSTANCE=default-amazonlinux-2-tiamat-py3
|
# - env: INSTANCE=default-amazonlinux-2-tiamat-py3
|
||||||
# - env: INSTANCE=default-oraclelinux-8-tiamat-py3
|
# - env: INSTANCE=default-oraclelinux-8-tiamat-py3
|
||||||
# - env: INSTANCE=default-oraclelinux-7-tiamat-py3
|
# - env: INSTANCE=default-oraclelinux-7-tiamat-py3
|
||||||
|
# - env: INSTANCE=default-almalinux-8-tiamat-py3
|
||||||
|
# - env: INSTANCE=default-rockylinux-8-tiamat-py3
|
||||||
- env: INSTANCE=default-debian-10-master-py3
|
- env: INSTANCE=default-debian-10-master-py3
|
||||||
- env: INSTANCE=default-debian-9-master-py3
|
- env: INSTANCE=default-debian-9-master-py3
|
||||||
- env: INSTANCE=default-ubuntu-2004-master-py3
|
- env: INSTANCE=default-ubuntu-2004-master-py3
|
||||||
- env: INSTANCE=default-ubuntu-1804-master-py3
|
- env: INSTANCE=default-ubuntu-1804-master-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1604-master-py3
|
|
||||||
- env: INSTANCE=default-centos-8-master-py3
|
- env: INSTANCE=default-centos-8-master-py3
|
||||||
- env: INSTANCE=default-centos-7-master-py3
|
- env: INSTANCE=default-centos-7-master-py3
|
||||||
|
- env: INSTANCE=default-fedora-34-master-py3
|
||||||
- env: INSTANCE=default-fedora-33-master-py3
|
- env: INSTANCE=default-fedora-33-master-py3
|
||||||
- env: INSTANCE=default-fedora-32-master-py3
|
- env: INSTANCE=default-opensuse-leap-153-master-py3
|
||||||
- env: INSTANCE=default-opensuse-leap-152-master-py3
|
- env: INSTANCE=default-opensuse-leap-152-master-py3
|
||||||
- env: INSTANCE=default-opensuse-tmbl-latest-master-py3
|
- env: INSTANCE=default-opensuse-tmbl-latest-master-py3
|
||||||
- env: INSTANCE=default-amazonlinux-2-master-py3
|
- env: INSTANCE=default-amazonlinux-2-master-py3
|
||||||
- env: INSTANCE=default-oraclelinux-8-master-py3
|
- env: INSTANCE=default-oraclelinux-8-master-py3
|
||||||
- env: INSTANCE=default-oraclelinux-7-master-py3
|
- env: INSTANCE=default-oraclelinux-7-master-py3
|
||||||
|
- env: INSTANCE=default-arch-base-latest-master-py3
|
||||||
# - env: INSTANCE=default-gentoo-stage3-latest-master-py3
|
# - env: INSTANCE=default-gentoo-stage3-latest-master-py3
|
||||||
# - env: INSTANCE=default-gentoo-stage3-systemd-master-py3
|
# - env: INSTANCE=default-gentoo-stage3-systemd-master-py3
|
||||||
# - env: INSTANCE=default-debian-10-3002-2-py3
|
- env: INSTANCE=default-almalinux-8-master-py3
|
||||||
# - env: INSTANCE=default-debian-9-3002-2-py3
|
- env: INSTANCE=default-rockylinux-8-master-py3
|
||||||
# - env: INSTANCE=default-ubuntu-2004-3002-2-py3
|
# - env: INSTANCE=default-debian-10-3003-1-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1804-3002-2-py3
|
# - env: INSTANCE=default-debian-9-3003-1-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1604-3002-2-py3
|
# - env: INSTANCE=default-ubuntu-2004-3003-1-py3
|
||||||
# - env: INSTANCE=default-centos-8-3002-2-py3
|
# - env: INSTANCE=default-ubuntu-1804-3003-1-py3
|
||||||
# - env: INSTANCE=default-centos-7-3002-2-py3
|
# - env: INSTANCE=default-centos-8-3003-1-py3
|
||||||
# - env: INSTANCE=default-fedora-33-3002-2-py3
|
# - env: INSTANCE=default-centos-7-3003-1-py3
|
||||||
# - env: INSTANCE=default-fedora-32-3002-2-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-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-leap-152-3002-2-py3
|
||||||
# - env: INSTANCE=default-opensuse-tmbl-latest-3002-2-py3
|
# - env: INSTANCE=default-opensuse-tmbl-latest-3002-2-py3
|
||||||
# - env: INSTANCE=default-amazonlinux-2-3002-2-py3
|
# - env: INSTANCE=default-debian-10-3001-7-py3
|
||||||
# - env: INSTANCE=default-oraclelinux-8-3002-2-py3
|
# - env: INSTANCE=default-debian-9-3001-7-py3
|
||||||
# - env: INSTANCE=default-oraclelinux-7-3002-2-py3
|
# - env: INSTANCE=default-ubuntu-2004-3001-7-py3
|
||||||
- env: INSTANCE=default-arch-base-latest-3002-2-py3
|
# - env: INSTANCE=default-ubuntu-1804-3001-7-py3
|
||||||
# - env: INSTANCE=default-gentoo-stage3-latest-3002-2-py3
|
# - env: INSTANCE=default-centos-8-3001-7-py3
|
||||||
# - env: INSTANCE=default-gentoo-stage3-systemd-3002-2-py3
|
# - env: INSTANCE=default-centos-7-3001-7-py3
|
||||||
# - env: INSTANCE=default-debian-10-3001-4-py3
|
# - env: INSTANCE=default-fedora-34-3001-7-py3
|
||||||
# - env: INSTANCE=default-debian-9-3001-4-py3
|
# - env: INSTANCE=default-fedora-33-3001-7-py3
|
||||||
# - env: INSTANCE=default-ubuntu-2004-3001-4-py3
|
# - env: INSTANCE=default-opensuse-leap-153-3001-7-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1804-3001-4-py3
|
# - env: INSTANCE=default-opensuse-leap-152-3001-7-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1604-3001-4-py3
|
# - env: INSTANCE=default-opensuse-tmbl-latest-3001-7-py3
|
||||||
# - env: INSTANCE=default-centos-8-3001-4-py3
|
# - env: INSTANCE=default-amazonlinux-2-3001-7-py3
|
||||||
# - env: INSTANCE=default-centos-7-3001-4-py3
|
# - env: INSTANCE=default-oraclelinux-8-3001-7-py3
|
||||||
# - env: INSTANCE=default-fedora-33-3001-4-py3
|
# - env: INSTANCE=default-oraclelinux-7-3001-7-py3
|
||||||
# - env: INSTANCE=default-fedora-32-3001-4-py3
|
# - env: INSTANCE=default-arch-base-latest-3001-7-py3
|
||||||
# - env: INSTANCE=default-opensuse-leap-152-3001-4-py3
|
# - env: INSTANCE=default-gentoo-stage3-latest-3001-7-py3
|
||||||
# - env: INSTANCE=default-opensuse-tmbl-latest-3001-4-py3
|
# - env: INSTANCE=default-gentoo-stage3-systemd-3001-7-py3
|
||||||
# - env: INSTANCE=default-amazonlinux-2-3001-4-py3
|
# - env: INSTANCE=default-debian-10-3000-9-py3
|
||||||
# - env: INSTANCE=default-oraclelinux-8-3001-4-py3
|
# - env: INSTANCE=default-debian-9-3000-9-py3
|
||||||
# - env: INSTANCE=default-oraclelinux-7-3001-4-py3
|
# - env: INSTANCE=default-ubuntu-1804-3000-9-py3
|
||||||
# - env: INSTANCE=default-arch-base-latest-3001-4-py3
|
# - env: INSTANCE=default-centos-8-3000-9-py3
|
||||||
# - env: INSTANCE=default-gentoo-stage3-latest-3001-4-py3
|
# - env: INSTANCE=default-centos-7-3000-9-py3
|
||||||
# - env: INSTANCE=default-gentoo-stage3-systemd-3001-4-py3
|
# - env: INSTANCE=default-opensuse-leap-153-3000-9-py3
|
||||||
# - env: INSTANCE=default-debian-10-3000-6-py3
|
# - env: INSTANCE=default-opensuse-leap-152-3000-9-py3
|
||||||
# - env: INSTANCE=default-debian-9-3000-6-py3
|
# - env: INSTANCE=default-amazonlinux-2-3000-9-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1804-3000-6-py3
|
# - env: INSTANCE=default-oraclelinux-8-3000-9-py3
|
||||||
# - env: INSTANCE=default-ubuntu-1604-3000-6-py3
|
# - env: INSTANCE=default-oraclelinux-7-3000-9-py3
|
||||||
# - env: INSTANCE=default-centos-8-3000-6-py3
|
# - env: INSTANCE=default-gentoo-stage3-latest-3000-9-py3
|
||||||
# - env: INSTANCE=default-centos-7-3000-6-py3
|
# - env: INSTANCE=default-gentoo-stage3-systemd-3000-9-py3
|
||||||
# - env: INSTANCE=default-opensuse-leap-152-3000-6-py3
|
# - env: INSTANCE=default-ubuntu-1804-3000-9-py2
|
||||||
# - env: INSTANCE=default-amazonlinux-2-3000-6-py3
|
# - env: INSTANCE=default-arch-base-latest-3000-9-py2
|
||||||
# - env: INSTANCE=default-oraclelinux-8-3000-6-py3
|
|
||||||
# - env: INSTANCE=default-oraclelinux-7-3000-6-py3
|
|
||||||
# - env: INSTANCE=default-gentoo-stage3-latest-3000-6-py3
|
|
||||||
# - env: INSTANCE=default-gentoo-stage3-systemd-3000-6-py3
|
|
||||||
# - env: INSTANCE=default-ubuntu-1804-3000-6-py2
|
|
||||||
# - env: INSTANCE=default-ubuntu-1604-3000-6-py2
|
|
||||||
# - env: INSTANCE=default-arch-base-latest-3000-6-py2
|
|
||||||
|
|
||||||
## Define the release stage that runs `semantic-release`
|
## Define the release stage that runs `semantic-release`
|
||||||
- stage: 'release'
|
- stage: 'release'
|
||||||
|
|||||||
15
.yamllint
15
.yamllint
@@ -2,18 +2,23 @@
|
|||||||
# 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 `.cache/`, introduced during the GitLab CI run
|
||||||
# 2. Any SLS files under directory `test/`, which are actually state files
|
# 2. All YAML files under directory `.git/`
|
||||||
# 3. Any YAML files under directory `.kitchen/`, introduced during local testing
|
# 3. All YAML files under directory `node_modules/`, introduced during the Travis run
|
||||||
# 4. All YAML files heavily reliant on Jinja; these can be tackled in a subsequent PR
|
# 4. Any SLS files under directory `test/`, which are actually state files
|
||||||
|
# 5. Any YAML files under directory `.kitchen/`, introduced during local testing
|
||||||
|
# 6. `kitchen.vagrant.yml`, which contains Embedded Ruby (ERB) template syntax
|
||||||
|
# 7. All YAML files heavily reliant on Jinja; these can be tackled in a subsequent PR
|
||||||
ignore: |
|
ignore: |
|
||||||
.cache/
|
.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
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ 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://avatars.githubusercontent.com/u/10231489?v=4' width='36' height='36' alt='@myii'>|[@myii](https://github.com/myii)|137
|
<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)|156
|
||||||
<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)|74
|
<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://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://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://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://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://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://avatars.githubusercontent.com/u/242396?v=4' width='36' height='36' alt='@javierbertoli'>|[@javierbertoli](https://github.com/javierbertoli)|21
|
||||||
@@ -20,7 +20,6 @@ Avatar|Contributor|Contributions
|
|||||||
<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://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://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://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://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://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://avatars.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://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://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://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://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://avatars.githubusercontent.com/u/278900?v=4' width='36' height='36' alt='@blast-hardcheese'>|[@blast-hardcheese](https://github.com/blast-hardcheese)|5
|
||||||
@@ -55,6 +54,7 @@ Avatar|Contributor|Contributions
|
|||||||
<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://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://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://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://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://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://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://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://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://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://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://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://avatars.githubusercontent.com/u/2592431?v=4' width='36' height='36' alt='@RobRuana'>|[@RobRuana](https://github.com/RobRuana)|1
|
||||||
@@ -72,4 +72,4 @@ Avatar|Contributor|Contributions
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Auto-generated by a [forked version](https://github.com/myii/maintainer) of [gaocegege/maintainer](https://github.com/gaocegege/maintainer) on 2021-02-26.
|
Auto-generated by a [forked version](https://github.com/myii/maintainer) of [gaocegege/maintainer](https://github.com/gaocegege/maintainer) on 2021-07-15.
|
||||||
|
|||||||
58
CHANGELOG.md
58
CHANGELOG.md
@@ -1,5 +1,63 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
# [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)
|
## [0.41.6](https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.5...v0.41.6) (2021-02-26)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,8 @@
|
|||||||
/Gemfile @saltstack-formulas/ssf
|
/Gemfile @saltstack-formulas/ssf
|
||||||
/Gemfile.lock @saltstack-formulas/ssf
|
/Gemfile.lock @saltstack-formulas/ssf
|
||||||
/kitchen.yml @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
|
/pre-commit_semantic-release.sh @saltstack-formulas/ssf
|
||||||
/release-rules.js @saltstack-formulas/ssf
|
/release-rules.js @saltstack-formulas/ssf
|
||||||
/release.config.js @saltstack-formulas/ssf
|
/release.config.js @saltstack-formulas/ssf
|
||||||
|
|||||||
2
FORMULA
2
FORMULA
@@ -1,7 +1,7 @@
|
|||||||
name: postgres
|
name: postgres
|
||||||
os: Debian, Ubuntu, Raspbian, RedHat, Fedora, CentOS, Suse, openSUSE, Gentoo, Funtoo, Arch, Manjaro, Alpine, FreeBSD, OpenBSD, Solaris, SmartOS, Windows, MacOS
|
os: Debian, Ubuntu, Raspbian, RedHat, Fedora, CentOS, Suse, openSUSE, Gentoo, Funtoo, Arch, Manjaro, Alpine, FreeBSD, OpenBSD, Solaris, SmartOS, Windows, MacOS
|
||||||
os_family: Debian, RedHat, Suse, Gentoo, Arch, Alpine, FreeBSD, OpenBSD, Solaris, Windows, MacOS
|
os_family: Debian, RedHat, Suse, Gentoo, Arch, Alpine, FreeBSD, OpenBSD, Solaris, Windows, MacOS
|
||||||
version: 0.41.6
|
version: 0.42.0
|
||||||
release: 1
|
release: 1
|
||||||
minimum_version: 2016.11
|
minimum_version: 2016.11
|
||||||
summary: Postgres formula
|
summary: Postgres formula
|
||||||
|
|||||||
2
Gemfile
2
Gemfile
@@ -5,7 +5,7 @@ source 'https://rubygems.org'
|
|||||||
# Use the latest version of `inspec` prior to `4.23.4`, which introduces a
|
# Use the latest version of `inspec` prior to `4.23.4`, which introduces a
|
||||||
# regression where the diff isn't displayed when comparing using `eq`.
|
# regression where the diff isn't displayed when comparing using `eq`.
|
||||||
gem 'inspec', '~> 4.22.22'
|
gem 'inspec', '~> 4.22.22'
|
||||||
# Install the `kitchen-docker` gem from GitHub because the latest version
|
# Install the `kitchen-docker` gem using `git` because the latest version
|
||||||
# currently available (`2.10.0`) doesn't include a recent fix for Gentoo.
|
# currently available (`2.10.0`) doesn't include a recent fix for Gentoo.
|
||||||
# rubocop:disable Layout/LineLength
|
# rubocop:disable Layout/LineLength
|
||||||
gem 'kitchen-docker', git: 'https://gitlab.com/saltstack-formulas/infrastructure/kitchen-docker', branch: 'ssf'
|
gem 'kitchen-docker', git: 'https://gitlab.com/saltstack-formulas/infrastructure/kitchen-docker', branch: 'ssf'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
GIT
|
GIT
|
||||||
remote: https://gitlab.com/saltstack-formulas/infrastructure/kitchen-docker
|
remote: https://gitlab.com/saltstack-formulas/infrastructure/kitchen-docker
|
||||||
revision: 042e6921940a28d2502258b6a5ff3be17dd2fd37
|
revision: 1f543f654da5c1774cb8737f6f07a01745520bb5
|
||||||
branch: ssf
|
branch: ssf
|
||||||
specs:
|
specs:
|
||||||
kitchen-docker (2.10.0)
|
kitchen-docker (2.10.0)
|
||||||
@@ -14,7 +14,7 @@ GEM
|
|||||||
i18n (>= 0.7, < 2)
|
i18n (>= 0.7, < 2)
|
||||||
minitest (~> 5.1)
|
minitest (~> 5.1)
|
||||||
tzinfo (~> 1.1)
|
tzinfo (~> 1.1)
|
||||||
addressable (2.7.0)
|
addressable (2.8.0)
|
||||||
public_suffix (>= 2.0.2, < 5.0)
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
aws-eventstream (1.1.0)
|
aws-eventstream (1.1.0)
|
||||||
aws-partitions (1.386.0)
|
aws-partitions (1.386.0)
|
||||||
|
|||||||
@@ -15,10 +15,10 @@ This list is sorted by the number of commits per contributor in *descending* ord
|
|||||||
- Contributions
|
- Contributions
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.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>`_
|
||||||
- 137
|
- 156
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.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>`_
|
||||||
- 74
|
- 78
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.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
|
||||||
@@ -61,9 +61,6 @@ This list is sorted by the number of commits per contributor in *descending* ord
|
|||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.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://avatars.githubusercontent.com/u/223763?v=4' width='36' height='36' alt='@alfredopalhares'>`
|
|
||||||
- `@alfredopalhares <https://github.com/alfredopalhares>`_
|
|
||||||
- 6
|
|
||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.githubusercontent.com/u/1920805?v=4' width='36' height='36' alt='@alxwr'>`
|
* - :raw-html-m2r:`<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>`_
|
- `@alxwr <https://github.com/alxwr>`_
|
||||||
- 5
|
- 5
|
||||||
@@ -166,6 +163,9 @@ This list is sorted by the number of commits per contributor in *descending* ord
|
|||||||
* - :raw-html-m2r:`<img class='float-left rounded-1' src='https://avatars.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://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'>`
|
* - :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
|
||||||
@@ -212,4 +212,4 @@ This list is sorted by the number of commits per contributor in *descending* ord
|
|||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
Auto-generated by a `forked version <https://github.com/myii/maintainer>`_ of `gaocegege/maintainer <https://github.com/gaocegege/maintainer>`_ on 2021-02-26.
|
Auto-generated by a `forked version <https://github.com/myii/maintainer>`_ of `gaocegege/maintainer <https://github.com/gaocegege/maintainer>`_ on 2021-07-15.
|
||||||
|
|||||||
@@ -2,6 +2,77 @@
|
|||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
`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)
|
`0.41.6 <https://github.com/saltstack-formulas/postgres-formula/compare/v0.41.5...v0.41.6>`_ (2021-02-26)
|
||||||
-------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|
||||||
@@ -119,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.
|
||||||
|
|
||||||
@@ -150,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.
|
||||||
|
|
||||||
@@ -164,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
|
||||||
|
|||||||
@@ -3,15 +3,38 @@
|
|||||||
---
|
---
|
||||||
driver:
|
driver:
|
||||||
name: vagrant
|
name: vagrant
|
||||||
|
|
||||||
platforms:
|
|
||||||
- name: freebsd-120-2019-2-py3
|
|
||||||
driver:
|
|
||||||
box_url: https://freebsd.z.vstack.com/FreeBSD-12.0.box
|
|
||||||
cache_directory: false
|
cache_directory: false
|
||||||
customize:
|
customize:
|
||||||
usbxhci: 'off'
|
usbxhci: 'off'
|
||||||
gui: false
|
gui: false
|
||||||
linked_clone: true
|
|
||||||
ssh:
|
ssh:
|
||||||
shell: '/bin/sh'
|
shell: /bin/sh
|
||||||
|
<% unless ENV['CI'] %>
|
||||||
|
linked_clone: true
|
||||||
|
synced_folders:
|
||||||
|
- - '.kitchen/kitchen-vagrant/%{instance_name}/vagrant'
|
||||||
|
- '/vagrant'
|
||||||
|
- 'create: true, disabled: false'
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
- name: freebsd-130-master-py3
|
||||||
|
driver:
|
||||||
|
box: myii/freebsd-13.0-master-py3
|
||||||
|
synced_folders: [] # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255208
|
||||||
|
- name: freebsd-122-master-py3
|
||||||
|
driver:
|
||||||
|
box: myii/freebsd-12.2-master-py3
|
||||||
|
- name: freebsd-114-master-py3
|
||||||
|
driver:
|
||||||
|
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
|
||||||
|
|||||||
345
kitchen.yml
345
kitchen.yml
@@ -22,9 +22,6 @@ platforms:
|
|||||||
- name: ubuntu-1804-tiamat-py3
|
- name: ubuntu-1804-tiamat-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-tiamat-py3:ubuntu-18.04
|
image: saltimages/salt-tiamat-py3:ubuntu-18.04
|
||||||
- name: ubuntu-1604-tiamat-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-tiamat-py3:ubuntu-16.04
|
|
||||||
- name: centos-8-tiamat-py3
|
- name: centos-8-tiamat-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-tiamat-py3:centos-8
|
image: saltimages/salt-tiamat-py3:centos-8
|
||||||
@@ -40,6 +37,12 @@ platforms:
|
|||||||
- name: oraclelinux-7-tiamat-py3
|
- name: oraclelinux-7-tiamat-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-tiamat-py3:oraclelinux-7
|
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`
|
## SALT `master`
|
||||||
- name: debian-10-master-py3
|
- name: debian-10-master-py3
|
||||||
@@ -54,21 +57,26 @@ platforms:
|
|||||||
- name: ubuntu-1804-master-py3
|
- name: ubuntu-1804-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:ubuntu-18.04
|
image: saltimages/salt-master-py3:ubuntu-18.04
|
||||||
- name: ubuntu-1604-master-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-master-py3:ubuntu-16.04
|
|
||||||
- name: centos-8-master-py3
|
- name: centos-8-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:centos-8
|
image: saltimages/salt-master-py3:centos-8
|
||||||
- name: centos-7-master-py3
|
- name: centos-7-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:centos-7
|
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
|
- name: fedora-33-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:fedora-33
|
image: saltimages/salt-master-py3:fedora-33
|
||||||
- name: fedora-32-master-py3
|
- name: opensuse-leap-153-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:fedora-32
|
image: saltimages/salt-master-py3:opensuse-leap-15.3
|
||||||
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
# 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
|
- name: opensuse-leap-152-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:opensuse-leap-15.2
|
image: saltimages/salt-master-py3:opensuse-leap-15.2
|
||||||
@@ -94,6 +102,10 @@ platforms:
|
|||||||
- name: oraclelinux-7-master-py3
|
- name: oraclelinux-7-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:oraclelinux-7
|
image: saltimages/salt-master-py3:oraclelinux-7
|
||||||
|
- name: arch-base-latest-master-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-master-py3:arch-base-latest
|
||||||
|
run_command: /usr/lib/systemd/systemd
|
||||||
- name: gentoo-stage3-latest-master-py3
|
- name: gentoo-stage3-latest-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:gentoo-stage3-latest
|
image: saltimages/salt-master-py3:gentoo-stage3-latest
|
||||||
@@ -101,35 +113,138 @@ platforms:
|
|||||||
- name: gentoo-stage3-systemd-master-py3
|
- name: gentoo-stage3-systemd-master-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:gentoo-stage3-systemd
|
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-10-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:debian-10
|
||||||
|
- name: debian-9-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:debian-9
|
||||||
|
- name: ubuntu-2004-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:ubuntu-20.04
|
||||||
|
- name: ubuntu-1804-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:ubuntu-18.04
|
||||||
|
- 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
|
||||||
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
# 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
|
||||||
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
|
||||||
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
|
transport:
|
||||||
|
max_ssh_sessions: 1
|
||||||
|
- name: opensuse-tmbl-latest-3003-1-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3003.1-py3:opensuse-tumbleweed-latest
|
||||||
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
# 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
|
||||||
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
- 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-10-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:debian-10
|
||||||
|
- name: debian-9-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:debian-9
|
||||||
|
- name: ubuntu-2004-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:ubuntu-20.04
|
||||||
|
- name: ubuntu-1804-3002-6-py3
|
||||||
|
driver:
|
||||||
|
image: saltimages/salt-3002.6-py3:ubuntu-18.04
|
||||||
|
- 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
|
||||||
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
- 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`
|
## SALT `3002.2`
|
||||||
- name: debian-10-3002-2-py3
|
- name: opensuse-leap-153-3002-2-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3002.2-py3:debian-10
|
image: saltimages/salt-3002.2-py3:opensuse-leap-15.3
|
||||||
- name: debian-9-3002-2-py3
|
run_command: /usr/lib/systemd/systemd
|
||||||
driver:
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.3`:
|
||||||
image: saltimages/salt-3002.2-py3:debian-9
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
- name: ubuntu-2004-3002-2-py3
|
transport:
|
||||||
driver:
|
max_ssh_sessions: 1
|
||||||
image: saltimages/salt-3002.2-py3:ubuntu-20.04
|
|
||||||
- name: ubuntu-1804-3002-2-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.2-py3:ubuntu-18.04
|
|
||||||
- name: ubuntu-1604-3002-2-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.2-py3:ubuntu-16.04
|
|
||||||
- name: centos-8-3002-2-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.2-py3:centos-8
|
|
||||||
- name: centos-7-3002-2-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.2-py3:centos-7
|
|
||||||
- name: fedora-33-3002-2-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.2-py3:fedora-33
|
|
||||||
- name: fedora-32-3002-2-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.2-py3:fedora-32
|
|
||||||
- name: opensuse-leap-152-3002-2-py3
|
- name: opensuse-leap-152-3002-2-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3002.2-py3:opensuse-leap-15.2
|
image: saltimages/salt-3002.2-py3:opensuse-leap-15.2
|
||||||
@@ -146,144 +261,131 @@ platforms:
|
|||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
transport:
|
transport:
|
||||||
max_ssh_sessions: 1
|
max_ssh_sessions: 1
|
||||||
- name: amazonlinux-2-3002-2-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.2-py3:amazonlinux-2
|
|
||||||
- name: oraclelinux-8-3002-2-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.2-py3:oraclelinux-8
|
|
||||||
- name: oraclelinux-7-3002-2-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.2-py3:oraclelinux-7
|
|
||||||
- name: arch-base-latest-3002-2-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.2-py3:arch-base-latest
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
|
||||||
- name: gentoo-stage3-latest-3002-2-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.2-py3:gentoo-stage3-latest
|
|
||||||
run_command: /sbin/init
|
|
||||||
- name: gentoo-stage3-systemd-3002-2-py3
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3002.2-py3:gentoo-stage3-systemd
|
|
||||||
|
|
||||||
## SALT `3001.4`
|
## SALT `3001.7`
|
||||||
- name: debian-10-3001-4-py3
|
- name: debian-10-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:debian-10
|
image: saltimages/salt-3001.7-py3:debian-10
|
||||||
- name: debian-9-3001-4-py3
|
- name: debian-9-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:debian-9
|
image: saltimages/salt-3001.7-py3:debian-9
|
||||||
- name: ubuntu-2004-3001-4-py3
|
- name: ubuntu-2004-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:ubuntu-20.04
|
image: saltimages/salt-3001.7-py3:ubuntu-20.04
|
||||||
- name: ubuntu-1804-3001-4-py3
|
- name: ubuntu-1804-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:ubuntu-18.04
|
image: saltimages/salt-3001.7-py3:ubuntu-18.04
|
||||||
- name: ubuntu-1604-3001-4-py3
|
- name: centos-8-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:ubuntu-16.04
|
image: saltimages/salt-3001.7-py3:centos-8
|
||||||
- name: centos-8-3001-4-py3
|
- name: centos-7-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:centos-8
|
image: saltimages/salt-3001.7-py3:centos-7
|
||||||
- name: centos-7-3001-4-py3
|
- name: fedora-34-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:centos-7
|
image: saltimages/salt-3001.7-py3:fedora-34
|
||||||
- name: fedora-33-3001-4-py3
|
- name: fedora-33-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:fedora-33
|
image: saltimages/salt-3001.7-py3:fedora-33
|
||||||
- name: fedora-32-3001-4-py3
|
- name: opensuse-leap-153-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:fedora-32
|
image: saltimages/salt-3001.7-py3:opensuse-leap-15.3
|
||||||
- name: opensuse-leap-152-3001-4-py3
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
# 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:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:opensuse-leap-15.2
|
image: saltimages/salt-3001.7-py3:opensuse-leap-15.2
|
||||||
run_command: /usr/lib/systemd/systemd
|
run_command: /usr/lib/systemd/systemd
|
||||||
# Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
transport:
|
transport:
|
||||||
max_ssh_sessions: 1
|
max_ssh_sessions: 1
|
||||||
- name: opensuse-tmbl-latest-3001-4-py3
|
- name: opensuse-tmbl-latest-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:opensuse-tumbleweed-latest
|
image: saltimages/salt-3001.7-py3:opensuse-tumbleweed-latest
|
||||||
run_command: /usr/lib/systemd/systemd
|
run_command: /usr/lib/systemd/systemd
|
||||||
# Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
|
# Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
transport:
|
transport:
|
||||||
max_ssh_sessions: 1
|
max_ssh_sessions: 1
|
||||||
- name: amazonlinux-2-3001-4-py3
|
- name: amazonlinux-2-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:amazonlinux-2
|
image: saltimages/salt-3001.7-py3:amazonlinux-2
|
||||||
- name: oraclelinux-8-3001-4-py3
|
- name: oraclelinux-8-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:oraclelinux-8
|
image: saltimages/salt-3001.7-py3:oraclelinux-8
|
||||||
- name: oraclelinux-7-3001-4-py3
|
- name: oraclelinux-7-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:oraclelinux-7
|
image: saltimages/salt-3001.7-py3:oraclelinux-7
|
||||||
- name: arch-base-latest-3001-4-py3
|
- name: arch-base-latest-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:arch-base-latest
|
image: saltimages/salt-3001.7-py3:arch-base-latest
|
||||||
run_command: /usr/lib/systemd/systemd
|
run_command: /usr/lib/systemd/systemd
|
||||||
- name: gentoo-stage3-latest-3001-4-py3
|
- name: gentoo-stage3-latest-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:gentoo-stage3-latest
|
image: saltimages/salt-3001.7-py3:gentoo-stage3-latest
|
||||||
run_command: /sbin/init
|
run_command: /sbin/init
|
||||||
- name: gentoo-stage3-systemd-3001-4-py3
|
- name: gentoo-stage3-systemd-3001-7-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3001.4-py3:gentoo-stage3-systemd
|
image: saltimages/salt-3001.7-py3:gentoo-stage3-systemd
|
||||||
|
|
||||||
## SALT `3000.6`
|
## SALT `3000.9`
|
||||||
- name: debian-10-3000-6-py3
|
- name: debian-10-3000-9-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py3:debian-10
|
image: saltimages/salt-3000.9-py3:debian-10
|
||||||
- name: debian-9-3000-6-py3
|
- name: debian-9-3000-9-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py3:debian-9
|
image: saltimages/salt-3000.9-py3:debian-9
|
||||||
- name: ubuntu-1804-3000-6-py3
|
- name: ubuntu-1804-3000-9-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py3:ubuntu-18.04
|
image: saltimages/salt-3000.9-py3:ubuntu-18.04
|
||||||
- name: ubuntu-1604-3000-6-py3
|
- name: centos-8-3000-9-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py3:ubuntu-16.04
|
image: saltimages/salt-3000.9-py3:centos-8
|
||||||
- name: centos-8-3000-6-py3
|
- name: centos-7-3000-9-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py3:centos-8
|
image: saltimages/salt-3000.9-py3:centos-7
|
||||||
- name: centos-7-3000-6-py3
|
- name: opensuse-leap-153-3000-9-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py3:centos-7
|
image: saltimages/salt-3000.9-py3:opensuse-leap-15.3
|
||||||
- name: opensuse-leap-152-3000-6-py3
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
# 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:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py3:opensuse-leap-15.2
|
image: saltimages/salt-3000.9-py3:opensuse-leap-15.2
|
||||||
run_command: /usr/lib/systemd/systemd
|
run_command: /usr/lib/systemd/systemd
|
||||||
# Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.2`:
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
transport:
|
transport:
|
||||||
max_ssh_sessions: 1
|
max_ssh_sessions: 1
|
||||||
- name: amazonlinux-2-3000-6-py3
|
- name: amazonlinux-2-3000-9-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py3:amazonlinux-2
|
image: saltimages/salt-3000.9-py3:amazonlinux-2
|
||||||
- name: oraclelinux-8-3000-6-py3
|
- name: oraclelinux-8-3000-9-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py3:oraclelinux-8
|
image: saltimages/salt-3000.9-py3:oraclelinux-8
|
||||||
- name: oraclelinux-7-3000-6-py3
|
- name: oraclelinux-7-3000-9-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py3:oraclelinux-7
|
image: saltimages/salt-3000.9-py3:oraclelinux-7
|
||||||
- name: gentoo-stage3-latest-3000-6-py3
|
- name: gentoo-stage3-latest-3000-9-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py3:gentoo-stage3-latest
|
image: saltimages/salt-3000.9-py3:gentoo-stage3-latest
|
||||||
run_command: /sbin/init
|
run_command: /sbin/init
|
||||||
- name: gentoo-stage3-systemd-3000-6-py3
|
- name: gentoo-stage3-systemd-3000-9-py3
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py3:gentoo-stage3-systemd
|
image: saltimages/salt-3000.9-py3:gentoo-stage3-systemd
|
||||||
- name: ubuntu-1804-3000-6-py2
|
- name: ubuntu-1804-3000-9-py2
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py2:ubuntu-18.04
|
image: saltimages/salt-3000.9-py2:ubuntu-18.04
|
||||||
- name: ubuntu-1604-3000-6-py2
|
- name: arch-base-latest-3000-9-py2
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3000.6-py2:ubuntu-16.04
|
image: saltimages/salt-3000.9-py2:arch-base-latest
|
||||||
- name: arch-base-latest-3000-6-py2
|
|
||||||
driver:
|
|
||||||
image: saltimages/salt-3000.6-py2:arch-base-latest
|
|
||||||
run_command: /usr/lib/systemd/systemd
|
run_command: /usr/lib/systemd/systemd
|
||||||
|
|
||||||
provisioner:
|
provisioner:
|
||||||
@@ -310,6 +412,7 @@ suites:
|
|||||||
state_top:
|
state_top:
|
||||||
base:
|
base:
|
||||||
'*':
|
'*':
|
||||||
|
- postgres._mapdata
|
||||||
- postgres
|
- postgres
|
||||||
pillars:
|
pillars:
|
||||||
top.sls:
|
top.sls:
|
||||||
|
|||||||
@@ -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 }}
|
||||||
@@ -60,12 +60,14 @@
|
|||||||
{{ 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('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
|
||||||
# http://apt.postgresql.org/pub/repos/apt/dists/
|
# http://apt.postgresql.org/pub/repos/apt/dists/
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
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: '11'
|
version: '13'
|
||||||
pkg: postgresql
|
pkg: postgresql
|
||||||
pkgs_extra: []
|
pkgs_extra: []
|
||||||
pkgs_deps: []
|
pkgs_deps: []
|
||||||
|
|||||||
@@ -9,3 +9,7 @@ Fedora:
|
|||||||
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/fedora/fedora-$releasever-$basearch'
|
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/fedora/fedora-$releasever-$basearch'
|
||||||
remove:
|
remove:
|
||||||
releases: ['9.4', '9.5', '9.6', '10']
|
releases: ['9.4', '9.5', '9.6', '10']
|
||||||
|
|
||||||
|
Amazon:
|
||||||
|
pkg_repo:
|
||||||
|
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-7-$basearch'
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ postgresql-profile:
|
|||||||
|
|
||||||
postgresql-pkg-deps:
|
postgresql-pkg-deps:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- pkgs: {{ postgres.pkgs_deps }}
|
- pkgs: {{ postgres.pkgs_deps | json }}
|
||||||
|
|
||||||
# Add upstream repository for your distro
|
# Add upstream repository for your distro
|
||||||
postgresql-repo:
|
postgresql-repo:
|
||||||
|
|||||||
@@ -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,8 +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: oracle
|
||||||
- platform-name: arch
|
- platform-name: arch
|
||||||
- platform-name: gentoo
|
- platform-name: gentoo
|
||||||
|
- platform-name: almalinux
|
||||||
|
- platform-name: rocky
|
||||||
- platform: windows
|
- 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)
|
||||||
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
|
||||||
@@ -15,11 +15,7 @@ postgres:
|
|||||||
{%- else %}
|
{%- else %}
|
||||||
use_upstream_repo: True
|
use_upstream_repo: True
|
||||||
# Version to install from upstream repository (if upstream_repo: True)
|
# Version to install from upstream repository (if upstream_repo: True)
|
||||||
{%- if not (grains.os_family == 'Debian') %}
|
version: '13'
|
||||||
version: '9.6'
|
|
||||||
{%- else %}
|
|
||||||
version: '10'
|
|
||||||
{%- endif %}
|
|
||||||
# # 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
|
||||||
|
|||||||
Reference in New Issue
Block a user