diff --git a/.github/workflows/kitchen.vagrant.yml b/.github/workflows/kitchen.vagrant.yml index 0cdbb14..ae72645 100644 --- a/.github/workflows/kitchen.vagrant.yml +++ b/.github/workflows/kitchen.vagrant.yml @@ -16,7 +16,6 @@ jobs: instance: - v3003-py3-freebsd-130-3003-1-py3 - v3003-py3-freebsd-122-3003-1-py3 - - v3003-py3-freebsd-114-3003-1-py3 - v3002-py3-openbsd-69-3002-6-py3 - v3001-py3-openbsd-68-3001-1-py3 - v3003-py3-windows-10-latest-py3 diff --git a/.gitignore b/.gitignore index 94f77a8..39752a7 100644 --- a/.gitignore +++ b/.gitignore @@ -127,6 +127,7 @@ tmp/ # `salt-formula` -- Vagrant Specific files .vagrant top.sls +!test/salt/pillar/top.sls # `suricata-formula` -- Platform binaries *.rpm diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f82397e..d7dd9f5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -130,77 +130,46 @@ rubocop: ## Define the rest of the matrix based on Kitchen testing # Make sure the instances listed below match up with # the `platforms` defined in `kitchen.yml` -v3003-py3-debian-11-3003-2-py3: {extends: '.test_instance_failure_permitted'} -# v3003-py3-debian-10-3003-2-py3: {extends: '.test_instance'} -# v3003-py3-debian-9-3003-2-py3: {extends: '.test_instance'} -v3003-py3-ubuntu-2004-3003-2-py3: {extends: '.test_instance'} -# v3003-py3-ubuntu-1804-3003-2-py3: {extends: '.test_instance'} -v3003-py3-centos-8-3003-2-py3: {extends: '.test_instance'} -# v3003-py3-centos-7-3003-2-py3: {extends: '.test_instance'} -v3003-py3-fedora-34-3003-2-py3: {extends: '.test_instance'} -v3003-py3-fedora-33-3003-2-py3: {extends: '.test_instance'} -# v3003-py3-opensuse-leap-153-3003-2-py3: {extends: '.test_instance'} -# v3003-py3-opensuse-leap-152-3003-2-py3: {extends: '.test_instance'} -# v3003-py3-opensuse-tmbl-latest-3003-2-py3: {extends: '.test_instance'} -v3003-py3-amazonlinux-2-3003-2-py3: {extends: '.test_instance'} -v3003-py3-oraclelinux-8-3003-2-py3: {extends: '.test_instance'} -# v3003-py3-oraclelinux-7-3003-2-py3: {extends: '.test_instance'} -# v3003-py3-arch-base-latest-3003-2-py3: {extends: '.test_instance'} -# v3003-py3-gentoo-stage3-latest-3003-2-py3: {extends: '.test_instance'} -# v3003-py3-gentoo-stage3-systemd-3003-2-py3: {extends: '.test_instance'} -v3003-py3-almalinux-8-3003-2-py3: {extends: '.test_instance'} -v3003-py3-arch-base-latest-3003-1-py3: {extends: '.test_instance'} -v3003-py3-gentoo-stage3-latest-3003-1-py3: {extends: '.test_instance'} -v3003-py3-gentoo-stage3-systemd-3003-1-py3: {extends: '.test_instance'} -# v3002-py3-debian-11-3002-6-py3: {extends: '.test_instance'} -v3002-py3-debian-10-3002-6-py3: {extends: '.test_instance'} -# v3002-py3-debian-9-3002-6-py3: {extends: '.test_instance'} -v3002-py3-ubuntu-2004-3002-6-py3: {extends: '.test_instance'} -# v3002-py3-ubuntu-1804-3002-6-py3: {extends: '.test_instance'} -# v3002-py3-centos-8-3002-6-py3: {extends: '.test_instance'} -v3002-py3-centos-7-3002-6-py3: {extends: '.test_instance'} -# v3002-py3-fedora-34-3002-6-py3: {extends: '.test_instance'} -# v3002-py3-fedora-33-3002-6-py3: {extends: '.test_instance'} -v3002-py3-amazonlinux-2-3002-6-py3: {extends: '.test_instance'} -# v3002-py3-oraclelinux-8-3002-6-py3: {extends: '.test_instance'} -v3002-py3-oraclelinux-7-3002-6-py3: {extends: '.test_instance'} -# v3002-py3-arch-base-latest-3002-6-py3: {extends: '.test_instance'} -# v3002-py3-gentoo-stage3-latest-3002-6-py3: {extends: '.test_instance'} -# v3002-py3-gentoo-stage3-systemd-3002-6-py3: {extends: '.test_instance'} -# v3002-py3-opensuse-leap-153-3002-2-py3: {extends: '.test_instance'} -v3002-py3-opensuse-leap-152-3002-2-py3: {extends: '.test_instance'} -v3002-py3-opensuse-tmbl-latest-3002-2-py3: {extends: '.test_instance'} -v3001-py3-debian-10-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-debian-9-3001-7-py3: {extends: '.test_instance'} -v3001-py3-ubuntu-2004-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-ubuntu-1804-3001-7-py3: {extends: '.test_instance'} -v3001-py3-centos-8-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-centos-7-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-fedora-34-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-fedora-33-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-opensuse-leap-153-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-opensuse-leap-152-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-opensuse-tmbl-latest-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-amazonlinux-2-3001-7-py3: {extends: '.test_instance'} -v3001-py3-oraclelinux-8-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-oraclelinux-7-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-arch-base-latest-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-gentoo-stage3-latest-3001-7-py3: {extends: '.test_instance'} -# v3001-py3-gentoo-stage3-systemd-3001-7-py3: {extends: '.test_instance'} -# v3000-py3-debian-10-3000-9-py3: {extends: '.test_instance'} -v3000-py3-debian-9-3000-9-py3: {extends: '.test_instance'} -v3000-py3-ubuntu-1804-3000-9-py3: {extends: '.test_instance'} -# v3000-py3-centos-8-3000-9-py3: {extends: '.test_instance'} -v3000-py3-centos-7-3000-9-py3: {extends: '.test_instance'} -# v3000-py3-opensuse-leap-153-3000-9-py3: {extends: '.test_instance'} -# v3000-py3-opensuse-leap-152-3000-9-py3: {extends: '.test_instance'} -# v3000-py3-amazonlinux-2-3000-9-py3: {extends: '.test_instance'} -# v3000-py3-oraclelinux-8-3000-9-py3: {extends: '.test_instance'} -v3000-py3-oraclelinux-7-3000-9-py3: {extends: '.test_instance'} -# v3000-py3-gentoo-stage3-latest-3000-9-py3: {extends: '.test_instance'} -# v3000-py3-gentoo-stage3-systemd-3000-9-py3: {extends: '.test_instance'} -v3000-py2-ubuntu-1804-3000-9-py2: {extends: '.test_instance'} -# v3000-py2-arch-base-latest-3000-9-py2: {extends: '.test_instance'} +v3003-py3-debian-11-3003-3-py3: {extends: '.test_instance_failure_permitted'} +# v3003-py3-debian-10-3003-3-py3: {extends: '.test_instance'} +# v3003-py3-debian-9-3003-3-py3: {extends: '.test_instance'} +v3003-py3-ubuntu-2004-3003-3-py3: {extends: '.test_instance'} +# v3003-py3-ubuntu-1804-3003-3-py3: {extends: '.test_instance'} +v3003-py3-centos-8-3003-3-py3: {extends: '.test_instance'} +# v3003-py3-centos-7-3003-3-py3: {extends: '.test_instance'} +v3003-py3-fedora-34-3003-3-py3: {extends: '.test_instance'} +v3003-py3-fedora-33-3003-3-py3: {extends: '.test_instance'} +v3003-py3-opensuse-leap-153-3003-3-py3: {extends: '.test_instance'} +# v3003-py3-opensuse-leap-152-3003-3-py3: {extends: '.test_instance'} +# v3003-py3-opensuse-tmbl-latest-3003-3-py3: {extends: '.test_instance'} +v3003-py3-amazonlinux-2-3003-3-py3: {extends: '.test_instance'} +v3003-py3-oraclelinux-8-3003-3-py3: {extends: '.test_instance'} +# v3003-py3-oraclelinux-7-3003-3-py3: {extends: '.test_instance'} +v3003-py3-arch-base-latest-3003-3-py3: {extends: '.test_instance'} +v3003-py3-gentoo-stage3-latest-3003-3-py3: {extends: '.test_instance'} +v3003-py3-gentoo-stage3-systemd-3003-3-py3: {extends: '.test_instance'} +v3003-py3-almalinux-8-3003-3-py3: {extends: '.test_instance'} +# v3002-py3-debian-11-3002-7-py3: {extends: '.test_instance_failure_permitted'} +v3002-py3-debian-10-3002-7-py3: {extends: '.test_instance'} +# v3002-py3-debian-9-3002-7-py3: {extends: '.test_instance'} +v3002-py3-ubuntu-2004-3002-7-py3: {extends: '.test_instance'} +# v3002-py3-ubuntu-1804-3002-7-py3: {extends: '.test_instance'} +v3002-py3-centos-8-3002-7-py3: {extends: '.test_instance'} +# v3002-py3-centos-7-3002-7-py3: {extends: '.test_instance'} +# v3002-py3-amazonlinux-2-3002-7-py3: {extends: '.test_instance'} +v3002-py3-oraclelinux-8-3002-7-py3: {extends: '.test_instance'} +# v3002-py3-oraclelinux-7-3002-7-py3: {extends: '.test_instance'} +# v3002-py3-gentoo-stage3-latest-3002-7-py3: {extends: '.test_instance'} +# v3002-py3-gentoo-stage3-systemd-3002-7-py3: {extends: '.test_instance'} +# v3001-py3-debian-10-3001-8-py3: {extends: '.test_instance'} +v3001-py3-debian-9-3001-8-py3: {extends: '.test_instance'} +# v3001-py3-ubuntu-2004-3001-8-py3: {extends: '.test_instance'} +v3001-py3-ubuntu-1804-3001-8-py3: {extends: '.test_instance'} +# v3001-py3-centos-8-3001-8-py3: {extends: '.test_instance'} +v3001-py3-centos-7-3001-8-py3: {extends: '.test_instance'} +# v3001-py3-amazonlinux-2-3001-8-py3: {extends: '.test_instance'} +# v3001-py3-oraclelinux-8-3001-8-py3: {extends: '.test_instance'} +v3001-py3-oraclelinux-7-3001-8-py3: {extends: '.test_instance'} ############################################################################### # `release` stage: `semantic-release` diff --git a/.travis.yml b/.travis.yml index 8ede37c..0d00c2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -83,77 +83,46 @@ jobs: ## Define the rest of the matrix based on Kitchen testing # Make sure the instances listed below match up with # the `platforms` defined in `kitchen.yml` - - env: INSTANCE=v3003-py3-debian-11-3003-2-py3 - # - env: INSTANCE=v3003-py3-debian-10-3003-2-py3 - # - env: INSTANCE=v3003-py3-debian-9-3003-2-py3 - - env: INSTANCE=v3003-py3-ubuntu-2004-3003-2-py3 - # - env: INSTANCE=v3003-py3-ubuntu-1804-3003-2-py3 - - env: INSTANCE=v3003-py3-centos-8-3003-2-py3 - # - env: INSTANCE=v3003-py3-centos-7-3003-2-py3 - - env: INSTANCE=v3003-py3-fedora-34-3003-2-py3 - - env: INSTANCE=v3003-py3-fedora-33-3003-2-py3 - # - env: INSTANCE=v3003-py3-opensuse-leap-153-3003-2-py3 - # - env: INSTANCE=v3003-py3-opensuse-leap-152-3003-2-py3 - # - env: INSTANCE=v3003-py3-opensuse-tmbl-latest-3003-2-py3 - - env: INSTANCE=v3003-py3-amazonlinux-2-3003-2-py3 - - env: INSTANCE=v3003-py3-oraclelinux-8-3003-2-py3 - # - env: INSTANCE=v3003-py3-oraclelinux-7-3003-2-py3 - # - env: INSTANCE=v3003-py3-arch-base-latest-3003-2-py3 - # - env: INSTANCE=v3003-py3-gentoo-stage3-latest-3003-2-py3 - # - env: INSTANCE=v3003-py3-gentoo-stage3-systemd-3003-2-py3 - - env: INSTANCE=v3003-py3-almalinux-8-3003-2-py3 - - env: INSTANCE=v3003-py3-arch-base-latest-3003-1-py3 - - env: INSTANCE=v3003-py3-gentoo-stage3-latest-3003-1-py3 - - env: INSTANCE=v3003-py3-gentoo-stage3-systemd-3003-1-py3 - # - env: INSTANCE=v3002-py3-debian-11-3002-6-py3 - - env: INSTANCE=v3002-py3-debian-10-3002-6-py3 - # - env: INSTANCE=v3002-py3-debian-9-3002-6-py3 - - env: INSTANCE=v3002-py3-ubuntu-2004-3002-6-py3 - # - env: INSTANCE=v3002-py3-ubuntu-1804-3002-6-py3 - # - env: INSTANCE=v3002-py3-centos-8-3002-6-py3 - - env: INSTANCE=v3002-py3-centos-7-3002-6-py3 - # - env: INSTANCE=v3002-py3-fedora-34-3002-6-py3 - # - env: INSTANCE=v3002-py3-fedora-33-3002-6-py3 - - env: INSTANCE=v3002-py3-amazonlinux-2-3002-6-py3 - # - env: INSTANCE=v3002-py3-oraclelinux-8-3002-6-py3 - - env: INSTANCE=v3002-py3-oraclelinux-7-3002-6-py3 - # - env: INSTANCE=v3002-py3-arch-base-latest-3002-6-py3 - # - env: INSTANCE=v3002-py3-gentoo-stage3-latest-3002-6-py3 - # - env: INSTANCE=v3002-py3-gentoo-stage3-systemd-3002-6-py3 - # - env: INSTANCE=v3002-py3-opensuse-leap-153-3002-2-py3 - - env: INSTANCE=v3002-py3-opensuse-leap-152-3002-2-py3 - - env: INSTANCE=v3002-py3-opensuse-tmbl-latest-3002-2-py3 - - env: INSTANCE=v3001-py3-debian-10-3001-7-py3 - # - env: INSTANCE=v3001-py3-debian-9-3001-7-py3 - - env: INSTANCE=v3001-py3-ubuntu-2004-3001-7-py3 - # - env: INSTANCE=v3001-py3-ubuntu-1804-3001-7-py3 - - env: INSTANCE=v3001-py3-centos-8-3001-7-py3 - # - env: INSTANCE=v3001-py3-centos-7-3001-7-py3 - # - env: INSTANCE=v3001-py3-fedora-34-3001-7-py3 - # - env: INSTANCE=v3001-py3-fedora-33-3001-7-py3 - # - env: INSTANCE=v3001-py3-opensuse-leap-153-3001-7-py3 - # - env: INSTANCE=v3001-py3-opensuse-leap-152-3001-7-py3 - # - env: INSTANCE=v3001-py3-opensuse-tmbl-latest-3001-7-py3 - # - env: INSTANCE=v3001-py3-amazonlinux-2-3001-7-py3 - - env: INSTANCE=v3001-py3-oraclelinux-8-3001-7-py3 - # - env: INSTANCE=v3001-py3-oraclelinux-7-3001-7-py3 - # - env: INSTANCE=v3001-py3-arch-base-latest-3001-7-py3 - # - env: INSTANCE=v3001-py3-gentoo-stage3-latest-3001-7-py3 - # - env: INSTANCE=v3001-py3-gentoo-stage3-systemd-3001-7-py3 - # - env: INSTANCE=v3000-py3-debian-10-3000-9-py3 - - env: INSTANCE=v3000-py3-debian-9-3000-9-py3 - - env: INSTANCE=v3000-py3-ubuntu-1804-3000-9-py3 - # - env: INSTANCE=v3000-py3-centos-8-3000-9-py3 - - env: INSTANCE=v3000-py3-centos-7-3000-9-py3 - # - env: INSTANCE=v3000-py3-opensuse-leap-153-3000-9-py3 - # - env: INSTANCE=v3000-py3-opensuse-leap-152-3000-9-py3 - # - env: INSTANCE=v3000-py3-amazonlinux-2-3000-9-py3 - # - env: INSTANCE=v3000-py3-oraclelinux-8-3000-9-py3 - - env: INSTANCE=v3000-py3-oraclelinux-7-3000-9-py3 - # - env: INSTANCE=v3000-py3-gentoo-stage3-latest-3000-9-py3 - # - env: INSTANCE=v3000-py3-gentoo-stage3-systemd-3000-9-py3 - - env: INSTANCE=v3000-py2-ubuntu-1804-3000-9-py2 - # - env: INSTANCE=v3000-py2-arch-base-latest-3000-9-py2 + - env: INSTANCE=v3003-py3-debian-11-3003-3-py3 + # - env: INSTANCE=v3003-py3-debian-10-3003-3-py3 + # - env: INSTANCE=v3003-py3-debian-9-3003-3-py3 + - env: INSTANCE=v3003-py3-ubuntu-2004-3003-3-py3 + # - env: INSTANCE=v3003-py3-ubuntu-1804-3003-3-py3 + - env: INSTANCE=v3003-py3-centos-8-3003-3-py3 + # - env: INSTANCE=v3003-py3-centos-7-3003-3-py3 + - env: INSTANCE=v3003-py3-fedora-34-3003-3-py3 + - env: INSTANCE=v3003-py3-fedora-33-3003-3-py3 + - env: INSTANCE=v3003-py3-opensuse-leap-153-3003-3-py3 + # - env: INSTANCE=v3003-py3-opensuse-leap-152-3003-3-py3 + # - env: INSTANCE=v3003-py3-opensuse-tmbl-latest-3003-3-py3 + - env: INSTANCE=v3003-py3-amazonlinux-2-3003-3-py3 + - env: INSTANCE=v3003-py3-oraclelinux-8-3003-3-py3 + # - env: INSTANCE=v3003-py3-oraclelinux-7-3003-3-py3 + - env: INSTANCE=v3003-py3-arch-base-latest-3003-3-py3 + - env: INSTANCE=v3003-py3-gentoo-stage3-latest-3003-3-py3 + - env: INSTANCE=v3003-py3-gentoo-stage3-systemd-3003-3-py3 + - env: INSTANCE=v3003-py3-almalinux-8-3003-3-py3 + # - env: INSTANCE=v3002-py3-debian-11-3002-7-py3 + - env: INSTANCE=v3002-py3-debian-10-3002-7-py3 + # - env: INSTANCE=v3002-py3-debian-9-3002-7-py3 + - env: INSTANCE=v3002-py3-ubuntu-2004-3002-7-py3 + # - env: INSTANCE=v3002-py3-ubuntu-1804-3002-7-py3 + - env: INSTANCE=v3002-py3-centos-8-3002-7-py3 + # - env: INSTANCE=v3002-py3-centos-7-3002-7-py3 + # - env: INSTANCE=v3002-py3-amazonlinux-2-3002-7-py3 + - env: INSTANCE=v3002-py3-oraclelinux-8-3002-7-py3 + # - env: INSTANCE=v3002-py3-oraclelinux-7-3002-7-py3 + # - env: INSTANCE=v3002-py3-gentoo-stage3-latest-3002-7-py3 + # - env: INSTANCE=v3002-py3-gentoo-stage3-systemd-3002-7-py3 + # - env: INSTANCE=v3001-py3-debian-10-3001-8-py3 + - env: INSTANCE=v3001-py3-debian-9-3001-8-py3 + # - env: INSTANCE=v3001-py3-ubuntu-2004-3001-8-py3 + - env: INSTANCE=v3001-py3-ubuntu-1804-3001-8-py3 + # - env: INSTANCE=v3001-py3-centos-8-3001-8-py3 + - env: INSTANCE=v3001-py3-centos-7-3001-8-py3 + # - env: INSTANCE=v3001-py3-amazonlinux-2-3001-8-py3 + # - env: INSTANCE=v3001-py3-oraclelinux-8-3001-8-py3 + - env: INSTANCE=v3001-py3-oraclelinux-7-3001-8-py3 ## Define the release stage that runs `semantic-release` - stage: 'release' diff --git a/kitchen.vagrant.yml b/kitchen.vagrant.yml index 71ff451..bde6281 100644 --- a/kitchen.vagrant.yml +++ b/kitchen.vagrant.yml @@ -25,9 +25,6 @@ platforms: - 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-3003-1-py3 driver: box: myii/freebsd-13.0-3003.1-py3 @@ -35,9 +32,6 @@ platforms: - name: freebsd-122-3003-1-py3 driver: box: myii/freebsd-12.2-3003.1-py3 - - name: freebsd-114-3003-1-py3 - driver: - box: myii/freebsd-11.4-3003.1-py3 - name: openbsd-69-3002-6-py3 driver: box: myii/openbsd-6.9-3002.6-py3 diff --git a/kitchen.windows.yml b/kitchen.windows.yml index b1572c4..8ee1773 100644 --- a/kitchen.windows.yml +++ b/kitchen.windows.yml @@ -11,7 +11,7 @@ driver: provisioner: salt_install: bootstrap - salt_bootstrap_options: -pythonVersion 3 -version 3003.2 + salt_bootstrap_options: -pythonVersion 3 -version 3003.3 # yamllint disable rule:line-length init_environment: | C:\salt\salt-call --local state.single file.managed ` diff --git a/kitchen.yml b/kitchen.yml index 131553f..2328ffa 100644 --- a/kitchen.yml +++ b/kitchen.yml @@ -142,297 +142,226 @@ platforms: driver: image: saltimages/salt-master-py3:rockylinux-8 - ## SALT `3003.2` - - name: debian-11-3003-2-py3 + ## SALT `3003.3` + - name: debian-11-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:debian-11 + image: saltimages/salt-3003.3-py3:debian-11 run_command: /lib/systemd/systemd - - name: debian-10-3003-2-py3 + - name: debian-10-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:debian-10 + image: saltimages/salt-3003.3-py3:debian-10 run_command: /lib/systemd/systemd - - name: debian-9-3003-2-py3 + - name: debian-9-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:debian-9 + image: saltimages/salt-3003.3-py3:debian-9 run_command: /lib/systemd/systemd - - name: ubuntu-2004-3003-2-py3 + - name: ubuntu-2004-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:ubuntu-20.04 + image: saltimages/salt-3003.3-py3:ubuntu-20.04 run_command: /lib/systemd/systemd - - name: ubuntu-1804-3003-2-py3 + - name: ubuntu-1804-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:ubuntu-18.04 + image: saltimages/salt-3003.3-py3:ubuntu-18.04 run_command: /lib/systemd/systemd - - name: centos-8-3003-2-py3 + - name: centos-8-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:centos-8 - - name: centos-7-3003-2-py3 + image: saltimages/salt-3003.3-py3:centos-8 + - name: centos-7-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:centos-7 - - name: fedora-34-3003-2-py3 + image: saltimages/salt-3003.3-py3:centos-7 + - name: fedora-34-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:fedora-34 - - name: fedora-33-3003-2-py3 + image: saltimages/salt-3003.3-py3:fedora-34 + - name: fedora-33-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:fedora-33 - - name: opensuse-leap-153-3003-2-py3 + image: saltimages/salt-3003.3-py3:fedora-33 + - name: opensuse-leap-153-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:opensuse-leap-15.3 + image: saltimages/salt-3003.3-py3:opensuse-leap-15.3 # Workaround to avoid intermittent failures on `opensuse-leap-15.3`: # => SCP did not finish successfully (255): (Net::SCP::Error) transport: max_ssh_sessions: 1 - - name: opensuse-leap-152-3003-2-py3 + - name: opensuse-leap-152-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:opensuse-leap-15.2 + image: saltimages/salt-3003.3-py3:opensuse-leap-15.2 # Workaround to avoid intermittent failures on `opensuse-leap-15.2`: # => SCP did not finish successfully (255): (Net::SCP::Error) transport: max_ssh_sessions: 1 - - name: opensuse-tmbl-latest-3003-2-py3 + - name: opensuse-tmbl-latest-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:opensuse-tumbleweed-latest + image: saltimages/salt-3003.3-py3:opensuse-tumbleweed-latest # Workaround to avoid intermittent failures on `opensuse-tumbleweed`: # => SCP did not finish successfully (255): (Net::SCP::Error) transport: max_ssh_sessions: 1 - - name: amazonlinux-2-3003-2-py3 + - name: amazonlinux-2-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:amazonlinux-2 - - name: oraclelinux-8-3003-2-py3 + image: saltimages/salt-3003.3-py3:amazonlinux-2 + - name: oraclelinux-8-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:oraclelinux-8 - - name: oraclelinux-7-3003-2-py3 + image: saltimages/salt-3003.3-py3:oraclelinux-8 + - name: oraclelinux-7-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:oraclelinux-7 - - name: arch-base-latest-3003-2-py3 + image: saltimages/salt-3003.3-py3:oraclelinux-7 + - name: arch-base-latest-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:arch-base-latest - - name: gentoo-stage3-latest-3003-2-py3 + image: saltimages/salt-3003.3-py3:arch-base-latest + - name: gentoo-stage3-latest-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:gentoo-stage3-latest + image: saltimages/salt-3003.3-py3:gentoo-stage3-latest run_command: /sbin/init - - name: gentoo-stage3-systemd-3003-2-py3 + - name: gentoo-stage3-systemd-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:gentoo-stage3-systemd - - name: almalinux-8-3003-2-py3 + image: saltimages/salt-3003.3-py3:gentoo-stage3-systemd + - name: almalinux-8-3003-3-py3 driver: - image: saltimages/salt-3003.2-py3:almalinux-8 + image: saltimages/salt-3003.3-py3:almalinux-8 - ## SALT `3003.1` - - name: arch-base-latest-3003-1-py3 + ## SALT `3002.7` + - name: debian-11-3002-7-py3 driver: - image: saltimages/salt-3003.1-py3:arch-base-latest - - name: gentoo-stage3-latest-3003-1-py3 - driver: - image: saltimages/salt-3003.1-py3:gentoo-stage3-latest - run_command: /sbin/init - - name: gentoo-stage3-systemd-3003-1-py3 - driver: - image: saltimages/salt-3003.1-py3:gentoo-stage3-systemd - - ## SALT `3002.6` - - name: debian-11-3002-6-py3 - driver: - image: saltimages/salt-3002.6-py3:debian-11 + image: saltimages/salt-3002.7-py3:debian-11 run_command: /lib/systemd/systemd - - name: debian-10-3002-6-py3 + - name: debian-10-3002-7-py3 driver: - image: saltimages/salt-3002.6-py3:debian-10 + image: saltimages/salt-3002.7-py3:debian-10 run_command: /lib/systemd/systemd - - name: debian-9-3002-6-py3 + - name: debian-9-3002-7-py3 driver: - image: saltimages/salt-3002.6-py3:debian-9 + image: saltimages/salt-3002.7-py3:debian-9 run_command: /lib/systemd/systemd - - name: ubuntu-2004-3002-6-py3 + - name: ubuntu-2004-3002-7-py3 driver: - image: saltimages/salt-3002.6-py3:ubuntu-20.04 + image: saltimages/salt-3002.7-py3:ubuntu-20.04 run_command: /lib/systemd/systemd - - name: ubuntu-1804-3002-6-py3 + - name: ubuntu-1804-3002-7-py3 driver: - image: saltimages/salt-3002.6-py3:ubuntu-18.04 + image: saltimages/salt-3002.7-py3:ubuntu-18.04 run_command: /lib/systemd/systemd - - name: centos-8-3002-6-py3 + - name: centos-8-3002-7-py3 driver: - image: saltimages/salt-3002.6-py3:centos-8 - - name: centos-7-3002-6-py3 + image: saltimages/salt-3002.7-py3:centos-8 + - name: centos-7-3002-7-py3 driver: - image: saltimages/salt-3002.6-py3:centos-7 - - name: fedora-34-3002-6-py3 + image: saltimages/salt-3002.7-py3:centos-7 + - name: fedora-34-3002-7-py3 driver: - image: saltimages/salt-3002.6-py3:fedora-34 - - name: fedora-33-3002-6-py3 + image: saltimages/salt-3002.7-py3:fedora-34 + - name: fedora-33-3002-7-py3 driver: - image: saltimages/salt-3002.6-py3:fedora-33 - - name: amazonlinux-2-3002-6-py3 + image: saltimages/salt-3002.7-py3:fedora-33 + - name: opensuse-leap-153-3002-7-py3 driver: - image: saltimages/salt-3002.6-py3:amazonlinux-2 - - name: oraclelinux-8-3002-6-py3 - driver: - image: saltimages/salt-3002.6-py3:oraclelinux-8 - - name: oraclelinux-7-3002-6-py3 - driver: - image: saltimages/salt-3002.6-py3:oraclelinux-7 - - name: arch-base-latest-3002-6-py3 - driver: - image: saltimages/salt-3002.6-py3:arch-base-latest - - name: gentoo-stage3-latest-3002-6-py3 - driver: - image: saltimages/salt-3002.6-py3:gentoo-stage3-latest - run_command: /sbin/init - - name: gentoo-stage3-systemd-3002-6-py3 - driver: - image: saltimages/salt-3002.6-py3:gentoo-stage3-systemd - - ## SALT `3002.2` - - name: opensuse-leap-153-3002-2-py3 - driver: - image: saltimages/salt-3002.2-py3:opensuse-leap-15.3 + image: saltimages/salt-3002.7-py3:opensuse-leap-15.3 # Workaround to avoid intermittent failures on `opensuse-leap-15.3`: # => SCP did not finish successfully (255): (Net::SCP::Error) transport: max_ssh_sessions: 1 - - name: opensuse-leap-152-3002-2-py3 + - name: opensuse-leap-152-3002-7-py3 driver: - image: saltimages/salt-3002.2-py3:opensuse-leap-15.2 + image: saltimages/salt-3002.7-py3:opensuse-leap-15.2 # Workaround to avoid intermittent failures on `opensuse-leap-15.2`: # => SCP did not finish successfully (255): (Net::SCP::Error) transport: max_ssh_sessions: 1 - - name: opensuse-tmbl-latest-3002-2-py3 + - name: opensuse-tmbl-latest-3002-7-py3 driver: - image: saltimages/salt-3002.2-py3:opensuse-tumbleweed-latest + image: saltimages/salt-3002.7-py3:opensuse-tumbleweed-latest # Workaround to avoid intermittent failures on `opensuse-tumbleweed`: # => SCP did not finish successfully (255): (Net::SCP::Error) transport: max_ssh_sessions: 1 + - name: amazonlinux-2-3002-7-py3 + driver: + image: saltimages/salt-3002.7-py3:amazonlinux-2 + - name: oraclelinux-8-3002-7-py3 + driver: + image: saltimages/salt-3002.7-py3:oraclelinux-8 + - name: oraclelinux-7-3002-7-py3 + driver: + image: saltimages/salt-3002.7-py3:oraclelinux-7 + - name: arch-base-latest-3002-7-py3 + driver: + image: saltimages/salt-3002.7-py3:arch-base-latest + - name: gentoo-stage3-latest-3002-7-py3 + driver: + image: saltimages/salt-3002.7-py3:gentoo-stage3-latest + run_command: /sbin/init + - name: gentoo-stage3-systemd-3002-7-py3 + driver: + image: saltimages/salt-3002.7-py3:gentoo-stage3-systemd - ## SALT `3001.7` - - name: debian-10-3001-7-py3 + ## SALT `3001.8` + - name: debian-10-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:debian-10 + image: saltimages/salt-3001.8-py3:debian-10 run_command: /lib/systemd/systemd - - name: debian-9-3001-7-py3 + - name: debian-9-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:debian-9 + image: saltimages/salt-3001.8-py3:debian-9 run_command: /lib/systemd/systemd - - name: ubuntu-2004-3001-7-py3 + - name: ubuntu-2004-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:ubuntu-20.04 + image: saltimages/salt-3001.8-py3:ubuntu-20.04 run_command: /lib/systemd/systemd - - name: ubuntu-1804-3001-7-py3 + - name: ubuntu-1804-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:ubuntu-18.04 + image: saltimages/salt-3001.8-py3:ubuntu-18.04 run_command: /lib/systemd/systemd - - name: centos-8-3001-7-py3 + - name: centos-8-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:centos-8 - - name: centos-7-3001-7-py3 + image: saltimages/salt-3001.8-py3:centos-8 + - name: centos-7-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:centos-7 - - name: fedora-34-3001-7-py3 + image: saltimages/salt-3001.8-py3:centos-7 + - name: fedora-34-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:fedora-34 - - name: fedora-33-3001-7-py3 + image: saltimages/salt-3001.8-py3:fedora-34 + - name: fedora-33-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:fedora-33 - - name: opensuse-leap-153-3001-7-py3 + image: saltimages/salt-3001.8-py3:fedora-33 + - name: opensuse-leap-153-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:opensuse-leap-15.3 + image: saltimages/salt-3001.8-py3:opensuse-leap-15.3 # Workaround to avoid intermittent failures on `opensuse-leap-15.3`: # => SCP did not finish successfully (255): (Net::SCP::Error) transport: max_ssh_sessions: 1 - - name: opensuse-leap-152-3001-7-py3 + - name: opensuse-leap-152-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:opensuse-leap-15.2 + image: saltimages/salt-3001.8-py3:opensuse-leap-15.2 # Workaround to avoid intermittent failures on `opensuse-leap-15.2`: # => SCP did not finish successfully (255): (Net::SCP::Error) transport: max_ssh_sessions: 1 - - name: opensuse-tmbl-latest-3001-7-py3 + - name: opensuse-tmbl-latest-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:opensuse-tumbleweed-latest + image: saltimages/salt-3001.8-py3:opensuse-tumbleweed-latest # Workaround to avoid intermittent failures on `opensuse-tumbleweed`: # => SCP did not finish successfully (255): (Net::SCP::Error) transport: max_ssh_sessions: 1 - - name: amazonlinux-2-3001-7-py3 + - name: amazonlinux-2-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:amazonlinux-2 - - name: oraclelinux-8-3001-7-py3 + image: saltimages/salt-3001.8-py3:amazonlinux-2 + - name: oraclelinux-8-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:oraclelinux-8 - - name: oraclelinux-7-3001-7-py3 + image: saltimages/salt-3001.8-py3:oraclelinux-8 + - name: oraclelinux-7-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:oraclelinux-7 - - name: arch-base-latest-3001-7-py3 + image: saltimages/salt-3001.8-py3:oraclelinux-7 + - name: arch-base-latest-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:arch-base-latest - - name: gentoo-stage3-latest-3001-7-py3 + image: saltimages/salt-3001.8-py3:arch-base-latest + - name: gentoo-stage3-latest-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:gentoo-stage3-latest + image: saltimages/salt-3001.8-py3:gentoo-stage3-latest run_command: /sbin/init - - name: gentoo-stage3-systemd-3001-7-py3 + - name: gentoo-stage3-systemd-3001-8-py3 driver: - image: saltimages/salt-3001.7-py3:gentoo-stage3-systemd - - ## SALT `3000.9` - - name: debian-10-3000-9-py3 - driver: - image: saltimages/salt-3000.9-py3:debian-10 - run_command: /lib/systemd/systemd - - name: debian-9-3000-9-py3 - driver: - image: saltimages/salt-3000.9-py3:debian-9 - run_command: /lib/systemd/systemd - - name: ubuntu-1804-3000-9-py3 - driver: - image: saltimages/salt-3000.9-py3:ubuntu-18.04 - run_command: /lib/systemd/systemd - - name: centos-8-3000-9-py3 - driver: - image: saltimages/salt-3000.9-py3:centos-8 - - name: centos-7-3000-9-py3 - driver: - image: saltimages/salt-3000.9-py3:centos-7 - - name: opensuse-leap-153-3000-9-py3 - driver: - image: saltimages/salt-3000.9-py3:opensuse-leap-15.3 - # Workaround to avoid intermittent failures on `opensuse-leap-15.3`: - # => SCP did not finish successfully (255): (Net::SCP::Error) - transport: - max_ssh_sessions: 1 - - name: opensuse-leap-152-3000-9-py3 - driver: - image: saltimages/salt-3000.9-py3:opensuse-leap-15.2 - # Workaround to avoid intermittent failures on `opensuse-leap-15.2`: - # => SCP did not finish successfully (255): (Net::SCP::Error) - transport: - max_ssh_sessions: 1 - - name: amazonlinux-2-3000-9-py3 - driver: - image: saltimages/salt-3000.9-py3:amazonlinux-2 - - name: oraclelinux-8-3000-9-py3 - driver: - image: saltimages/salt-3000.9-py3:oraclelinux-8 - - name: oraclelinux-7-3000-9-py3 - driver: - image: saltimages/salt-3000.9-py3:oraclelinux-7 - - name: gentoo-stage3-latest-3000-9-py3 - driver: - image: saltimages/salt-3000.9-py3:gentoo-stage3-latest - run_command: /sbin/init - - name: gentoo-stage3-systemd-3000-9-py3 - driver: - image: saltimages/salt-3000.9-py3:gentoo-stage3-systemd - - name: ubuntu-1804-3000-9-py2 - driver: - image: saltimages/salt-3000.9-py2:ubuntu-18.04 - run_command: /lib/systemd/systemd - - name: arch-base-latest-3000-9-py2 - driver: - image: saltimages/salt-3000.9-py2:arch-base-latest + image: saltimages/salt-3001.8-py3:gentoo-stage3-systemd verifier: # https://www.inspec.io/ @@ -445,31 +374,27 @@ verifier: suites: - name: v3003-py3 includes: - - debian-11-3003-2-py3 - - debian-10-3003-2-py3 - - debian-9-3003-2-py3 - - ubuntu-2004-3003-2-py3 - - ubuntu-1804-3003-2-py3 - - centos-8-3003-2-py3 - - centos-7-3003-2-py3 - - fedora-34-3003-2-py3 - - fedora-33-3003-2-py3 - - opensuse-leap-153-3003-2-py3 - - opensuse-leap-152-3003-2-py3 - - opensuse-tmbl-latest-3003-2-py3 - - amazonlinux-2-3003-2-py3 - - oraclelinux-8-3003-2-py3 - - oraclelinux-7-3003-2-py3 - - arch-base-latest-3003-2-py3 - - gentoo-stage3-latest-3003-2-py3 - - gentoo-stage3-systemd-3003-2-py3 - - almalinux-8-3003-2-py3 - - arch-base-latest-3003-1-py3 - - gentoo-stage3-latest-3003-1-py3 - - gentoo-stage3-systemd-3003-1-py3 + - debian-11-3003-3-py3 + - debian-10-3003-3-py3 + - debian-9-3003-3-py3 + - ubuntu-2004-3003-3-py3 + - ubuntu-1804-3003-3-py3 + - centos-8-3003-3-py3 + - centos-7-3003-3-py3 + - fedora-34-3003-3-py3 + - fedora-33-3003-3-py3 + - opensuse-leap-153-3003-3-py3 + - opensuse-leap-152-3003-3-py3 + - opensuse-tmbl-latest-3003-3-py3 + - amazonlinux-2-3003-3-py3 + - oraclelinux-8-3003-3-py3 + - oraclelinux-7-3003-3-py3 + - arch-base-latest-3003-3-py3 + - gentoo-stage3-latest-3003-3-py3 + - gentoo-stage3-systemd-3003-3-py3 + - almalinux-8-3003-3-py3 - freebsd-130-3003-1-py3 - freebsd-122-3003-1-py3 - - freebsd-114-3003-1-py3 - windows-10-latest-py3 - windows-81-latest-py3 - windows-2019-latest-py3 @@ -496,24 +421,18 @@ suites: - path: test/integration/v3003-py3 - name: v3002-py3 includes: - - debian-11-3002-6-py3 - - debian-10-3002-6-py3 - - debian-9-3002-6-py3 - - ubuntu-2004-3002-6-py3 - - ubuntu-1804-3002-6-py3 - - centos-8-3002-6-py3 - - centos-7-3002-6-py3 - - fedora-34-3002-6-py3 - - fedora-33-3002-6-py3 - - amazonlinux-2-3002-6-py3 - - oraclelinux-8-3002-6-py3 - - oraclelinux-7-3002-6-py3 - - arch-base-latest-3002-6-py3 - - gentoo-stage3-latest-3002-6-py3 - - gentoo-stage3-systemd-3002-6-py3 - - opensuse-leap-153-3002-2-py3 - - opensuse-leap-152-3002-2-py3 - - opensuse-tmbl-latest-3002-2-py3 + - debian-11-3002-7-py3 + - debian-10-3002-7-py3 + - debian-9-3002-7-py3 + - ubuntu-2004-3002-7-py3 + - ubuntu-1804-3002-7-py3 + - centos-8-3002-7-py3 + - centos-7-3002-7-py3 + - amazonlinux-2-3002-7-py3 + - oraclelinux-8-3002-7-py3 + - oraclelinux-7-3002-7-py3 + - gentoo-stage3-latest-3002-7-py3 + - gentoo-stage3-systemd-3002-7-py3 - openbsd-69-3002-6-py3 provisioner: state_top: @@ -537,23 +456,15 @@ suites: - path: test/integration/v3002-py3 - name: v3001-py3 includes: - - debian-10-3001-7-py3 - - debian-9-3001-7-py3 - - ubuntu-2004-3001-7-py3 - - ubuntu-1804-3001-7-py3 - - centos-8-3001-7-py3 - - centos-7-3001-7-py3 - - fedora-34-3001-7-py3 - - fedora-33-3001-7-py3 - - opensuse-leap-153-3001-7-py3 - - opensuse-leap-152-3001-7-py3 - - opensuse-tmbl-latest-3001-7-py3 - - amazonlinux-2-3001-7-py3 - - oraclelinux-8-3001-7-py3 - - oraclelinux-7-3001-7-py3 - - arch-base-latest-3001-7-py3 - - gentoo-stage3-latest-3001-7-py3 - - gentoo-stage3-systemd-3001-7-py3 + - debian-10-3001-8-py3 + - debian-9-3001-8-py3 + - ubuntu-2004-3001-8-py3 + - ubuntu-1804-3001-8-py3 + - centos-8-3001-8-py3 + - centos-7-3001-8-py3 + - amazonlinux-2-3001-8-py3 + - oraclelinux-8-3001-8-py3 + - oraclelinux-7-3001-8-py3 - openbsd-68-3001-1-py3 provisioner: state_top: @@ -575,61 +486,3 @@ suites: verifier: inspec_tests: - path: test/integration/v3001-py3 - - name: v3000-py3 - includes: - - debian-10-3000-9-py3 - - debian-9-3000-9-py3 - - ubuntu-1804-3000-9-py3 - - centos-8-3000-9-py3 - - centos-7-3000-9-py3 - - opensuse-leap-153-3000-9-py3 - - opensuse-leap-152-3000-9-py3 - - amazonlinux-2-3000-9-py3 - - oraclelinux-8-3000-9-py3 - - oraclelinux-7-3000-9-py3 - - gentoo-stage3-latest-3000-9-py3 - - gentoo-stage3-systemd-3000-9-py3 - provisioner: - state_top: - base: - '*': - - salt._mapdata - - salt.pkgrepo - - salt.master - - salt.minion - pillars: - top.sls: - base: - '*': - - salt - - v3000-py3 - pillars_from_files: - salt.sls: test/salt/pillar/salt.sls - v3000-py3.sls: test/salt/pillar/v3000-py3.sls - verifier: - inspec_tests: - - path: test/integration/v3000-py3 - - name: v3000-py2 - includes: - - ubuntu-1804-3000-9-py2 - - arch-base-latest-3000-9-py2 - provisioner: - state_top: - base: - '*': - - salt._mapdata - - salt.pkgrepo - - salt.master - - salt.minion - pillars: - top.sls: - base: - '*': - - salt - - v3000-py2 - pillars_from_files: - salt.sls: test/salt/pillar/salt.sls - v3000-py2.sls: test/salt/pillar/v3000-py2.sls - verifier: - inspec_tests: - - path: test/integration/v3000-py2 diff --git a/test/integration/v3000-py2/README.md b/test/integration/v3000-py2/README.md deleted file mode 100644 index 85dda6c..0000000 --- a/test/integration/v3000-py2/README.md +++ /dev/null @@ -1,50 +0,0 @@ -# InSpec Profile: `v3000-py2` - -This shows the implementation of the `v3000-py2` InSpec [profile](https://github.com/inspec/inspec/blob/master/docs/profiles.md). - -## Verify a profile - -InSpec ships with built-in features to verify a profile structure. - -```bash -$ inspec check v3000-py2 -Summary -------- -Location: v3000-py2 -Profile: profile -Controls: 4 -Timestamp: 2019-06-24T23:09:01+00:00 -Valid: true - -Errors ------- - -Warnings --------- -``` - -## Execute a profile - -To run all **supported** controls on a local machine use `inspec exec /path/to/profile`. - -```bash -$ inspec exec v3000-py2 -.. - -Finished in 0.0025 seconds (files took 0.12449 seconds to load) -8 examples, 0 failures -``` - -## Execute a specific control from a profile - -To run one control from the profile use `inspec exec /path/to/profile --controls name`. - -```bash -$ inspec exec v3000-py2 --controls package -. - -Finished in 0.0025 seconds (files took 0.12449 seconds to load) -1 examples, 0 failures -``` - -See an [example control here](https://github.com/inspec/inspec/blob/master/examples/profile/controls/example.rb). diff --git a/test/integration/v3000-py2/controls/_mapdata.rb b/test/integration/v3000-py2/controls/_mapdata.rb deleted file mode 100644 index b2b0541..0000000 --- a/test/integration/v3000-py2/controls/_mapdata.rb +++ /dev/null @@ -1,47 +0,0 @@ -# frozen_string_literal: true - -require 'yaml' - -control 'salt._mapdata' do - title '`map.jinja` should match the reference file' - - ### Method - # The steps below for each file appear convoluted but they are both required - # and similar in nature: - # 1. The earliest method was to simply compare the files textually but this often - # led to false positives due to inconsistencies (e.g. spacing, ordering) - # 2. The next method was to load the files back into YAML structures and then - # compare but InSpec provided block diffs this way, unusable by end users - # 3. The final step was to dump the YAML structures back into a string to use - # for the comparison; this both worked and provided human-friendly diffs - - ### Comparison file for the specific platform - ### Static, adjusted as part of code contributions, as map data is changed - # Strip the `platform[:finger]` version number down to the "OS major release" - platform_finger = system.platform[:finger].split('.').first.to_s - # Use that to set the path to the file (relative to the InSpec suite directory) - mapdata_file_path = "_mapdata/#{platform_finger}.yaml" - # Load the mapdata from profile, into a YAML structure - # https://docs.chef.io/inspec/profiles/#profile-files - mapdata_file_yaml = YAML.load(inspec.profile.file(mapdata_file_path)) - # Dump the YAML back into a string for comparison - mapdata_file_dump = YAML.dump(mapdata_file_yaml) - - ### Output file produced by running the `_mapdata` state - ### Dynamic, generated during Kitchen's `converge` phase - # Derive the location of the dumped mapdata (differs for Windows) - output_dir = platform[:family] == 'windows' ? '/temp' : '/tmp' - # Use that to set the path to the file (absolute path, i.e. within the container) - output_file_path = "#{output_dir}/salt_mapdata_dump.yaml" - # Load the output into a YAML structure using InSpec's `yaml` resource - # https://github.com/inspec/inspec/blob/49b7d10/lib/inspec/resources/yaml.rb#L29 - output_file_yaml = yaml(output_file_path).params - # Dump the YAML back into a string for comparison - output_file_dump = YAML.dump(output_file_yaml) - - describe 'File content' do - it 'should match profile map data exactly' do - expect(output_file_dump).to eq(mapdata_file_dump) - end - end -end diff --git a/test/integration/v3000-py2/controls/pkgs_spec.rb b/test/integration/v3000-py2/controls/pkgs_spec.rb deleted file mode 100644 index 7e52868..0000000 --- a/test/integration/v3000-py2/controls/pkgs_spec.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -pkgs = - case system.platform[:name] - when 'arch' - %w[salt] - when /bsd$/ - %w[py38-salt-3002.6] - when 'windows' - ['Salt Minion'] - else - %w[salt-master salt-minion] - end - -control 'salt packages' do - title 'should be installed' - - version = '3000' - - pkgs.each do |p| - describe package(p) do - it { should be_installed } - its('version') { should match(/^#{version}/) } - end - end -end diff --git a/test/integration/v3000-py2/controls/service_spec.rb b/test/integration/v3000-py2/controls/service_spec.rb deleted file mode 100644 index be3dab7..0000000 --- a/test/integration/v3000-py2/controls/service_spec.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -services = - case system.platform[:family] - when 'bsd' - %w[salt_master salt_minion] - when 'windows' - %w[salt-minion] - else - %w[salt-master salt-minion] - end - -control 'salt services' do - title 'should be running' - - services.each do |p| - describe service(p) do - it { should be_installed } - it { should be_enabled } - it { should be_running } - end - end -end diff --git a/test/integration/v3000-py2/files/_mapdata/ubuntu-18.yaml b/test/integration/v3000-py2/files/_mapdata/ubuntu-18.yaml deleted file mode 100644 index b16a827..0000000 --- a/test/integration/v3000-py2/files/_mapdata/ubuntu-18.yaml +++ /dev/null @@ -1,118 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# Ubuntu-18.04 ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: /srv/formulas - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: /etc/salt - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: null - require_state: false - install_from_source: false - libgit2: - build_parent_dir: /usr/src/ - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: false - version: 0.23.0 - version: 0.22.1 - install_packages: true - key_url: https://repo.saltproject.io/apt/ubuntu/18.04/amd64/3000/SALTSTACK-GPG-KEY.pub - libgit2: libgit2-22 - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - gitfs_provider: gitpython - pillar_roots: - base: - - /srv/pillar - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - /srv/pillar - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: true - pin_version: false - pkgrepo: deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg arch=amd64] - https://repo.saltproject.io/apt/ubuntu/18.04/amd64/3000 bionic main - pkgrepo_keyring: https://repo.saltproject.io/apt/ubuntu/18.04/amd64/3000/salt-archive-keyring.gpg - pkgrepo_keyring_hash: sha256=ea38e0cdbd8dc53e1af154a8d711a2a321a69f81188062dc5cde9d54df2b8c47 - py_ver: '' - pygit2: python-pygit2 - pyinotify: python-pyinotify - python_dulwich: python-dulwich - python_git: python-git - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: root - salt_api: salt-api - salt_cloud: salt-cloud - salt_master: salt-master - salt_master_macos_plist_hash: '' - salt_minion: salt-minion - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: salt-syndic - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py2/inspec.yml b/test/integration/v3000-py2/inspec.yml deleted file mode 100644 index 8603ca6..0000000 --- a/test/integration/v3000-py2/inspec.yml +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# vim: ft=yaml ---- -name: v3000-py2 -title: salt formula -maintainer: SaltStack Formulas -license: Apache-2.0 -summary: Verify that Salt `v3000-py2` is setup and configured -depends: - - name: share - path: test/integration/share -supports: - - platform-name: debian - - platform-name: ubuntu - - platform-name: centos - - platform-name: fedora - - platform-name: opensuse - - platform-name: suse - - platform-name: freebsd - - platform-name: openbsd - - platform-name: amazon - - platform-name: oracle - - platform-name: arch - - platform-name: gentoo - - platform-name: almalinux - - platform-name: rocky - - platform: windows diff --git a/test/integration/v3000-py3/README.md b/test/integration/v3000-py3/README.md deleted file mode 100644 index f638bb3..0000000 --- a/test/integration/v3000-py3/README.md +++ /dev/null @@ -1,50 +0,0 @@ -# InSpec Profile: `v3000-py3` - -This shows the implementation of the `v3000-py3` InSpec [profile](https://github.com/inspec/inspec/blob/master/docs/profiles.md). - -## Verify a profile - -InSpec ships with built-in features to verify a profile structure. - -```bash -$ inspec check v3000-py3 -Summary -------- -Location: v3000-py3 -Profile: profile -Controls: 4 -Timestamp: 2019-06-24T23:09:01+00:00 -Valid: true - -Errors ------- - -Warnings --------- -``` - -## Execute a profile - -To run all **supported** controls on a local machine use `inspec exec /path/to/profile`. - -```bash -$ inspec exec v3000-py3 -.. - -Finished in 0.0025 seconds (files took 0.12449 seconds to load) -8 examples, 0 failures -``` - -## Execute a specific control from a profile - -To run one control from the profile use `inspec exec /path/to/profile --controls name`. - -```bash -$ inspec exec v3000-py3 --controls package -. - -Finished in 0.0025 seconds (files took 0.12449 seconds to load) -1 examples, 0 failures -``` - -See an [example control here](https://github.com/inspec/inspec/blob/master/examples/profile/controls/example.rb). diff --git a/test/integration/v3000-py3/controls/_mapdata.rb b/test/integration/v3000-py3/controls/_mapdata.rb deleted file mode 100644 index b2b0541..0000000 --- a/test/integration/v3000-py3/controls/_mapdata.rb +++ /dev/null @@ -1,47 +0,0 @@ -# frozen_string_literal: true - -require 'yaml' - -control 'salt._mapdata' do - title '`map.jinja` should match the reference file' - - ### Method - # The steps below for each file appear convoluted but they are both required - # and similar in nature: - # 1. The earliest method was to simply compare the files textually but this often - # led to false positives due to inconsistencies (e.g. spacing, ordering) - # 2. The next method was to load the files back into YAML structures and then - # compare but InSpec provided block diffs this way, unusable by end users - # 3. The final step was to dump the YAML structures back into a string to use - # for the comparison; this both worked and provided human-friendly diffs - - ### Comparison file for the specific platform - ### Static, adjusted as part of code contributions, as map data is changed - # Strip the `platform[:finger]` version number down to the "OS major release" - platform_finger = system.platform[:finger].split('.').first.to_s - # Use that to set the path to the file (relative to the InSpec suite directory) - mapdata_file_path = "_mapdata/#{platform_finger}.yaml" - # Load the mapdata from profile, into a YAML structure - # https://docs.chef.io/inspec/profiles/#profile-files - mapdata_file_yaml = YAML.load(inspec.profile.file(mapdata_file_path)) - # Dump the YAML back into a string for comparison - mapdata_file_dump = YAML.dump(mapdata_file_yaml) - - ### Output file produced by running the `_mapdata` state - ### Dynamic, generated during Kitchen's `converge` phase - # Derive the location of the dumped mapdata (differs for Windows) - output_dir = platform[:family] == 'windows' ? '/temp' : '/tmp' - # Use that to set the path to the file (absolute path, i.e. within the container) - output_file_path = "#{output_dir}/salt_mapdata_dump.yaml" - # Load the output into a YAML structure using InSpec's `yaml` resource - # https://github.com/inspec/inspec/blob/49b7d10/lib/inspec/resources/yaml.rb#L29 - output_file_yaml = yaml(output_file_path).params - # Dump the YAML back into a string for comparison - output_file_dump = YAML.dump(output_file_yaml) - - describe 'File content' do - it 'should match profile map data exactly' do - expect(output_file_dump).to eq(mapdata_file_dump) - end - end -end diff --git a/test/integration/v3000-py3/controls/pkgs_spec.rb b/test/integration/v3000-py3/controls/pkgs_spec.rb deleted file mode 100644 index 7e52868..0000000 --- a/test/integration/v3000-py3/controls/pkgs_spec.rb +++ /dev/null @@ -1,26 +0,0 @@ -# frozen_string_literal: true - -pkgs = - case system.platform[:name] - when 'arch' - %w[salt] - when /bsd$/ - %w[py38-salt-3002.6] - when 'windows' - ['Salt Minion'] - else - %w[salt-master salt-minion] - end - -control 'salt packages' do - title 'should be installed' - - version = '3000' - - pkgs.each do |p| - describe package(p) do - it { should be_installed } - its('version') { should match(/^#{version}/) } - end - end -end diff --git a/test/integration/v3000-py3/controls/service_spec.rb b/test/integration/v3000-py3/controls/service_spec.rb deleted file mode 100644 index be3dab7..0000000 --- a/test/integration/v3000-py3/controls/service_spec.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -services = - case system.platform[:family] - when 'bsd' - %w[salt_master salt_minion] - when 'windows' - %w[salt-minion] - else - %w[salt-master salt-minion] - end - -control 'salt services' do - title 'should be running' - - services.each do |p| - describe service(p) do - it { should be_installed } - it { should be_enabled } - it { should be_running } - end - end -end diff --git a/test/integration/v3000-py3/files/_mapdata/amazonlinux-2.yaml b/test/integration/v3000-py3/files/_mapdata/amazonlinux-2.yaml deleted file mode 100644 index 5d32510..0000000 --- a/test/integration/v3000-py3/files/_mapdata/amazonlinux-2.yaml +++ /dev/null @@ -1,115 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# Amazon Linux-2 ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: /srv/formulas - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: /etc/salt - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: git - require_state: false - install_from_source: false - libgit2: - build_parent_dir: /usr/src/ - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: true - version: 0.23.0 - version: 0.23.0 - install_packages: true - key_url: https://repo.saltproject.io/py3/amazon/2/$basearch/3000/SALTSTACK-GPG-KEY.pub - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - gitfs_provider: pygit2 - pillar_roots: - base: - - /srv/pillar - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - /srv/pillar - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: true - pin_version: false - pkgrepo: https://repo.saltproject.io/py3/amazon/2/$basearch/3000 - pkgrepo_humanname: SaltStack repo for Amazon Linux 2 - pkgrepo_name: saltstack-amzn-repo - py_ver: py3 - pygit2: python-pygit2 - python_dulwich: python-dulwich - python_git: GitPython - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: root - salt_api: salt-api - salt_cloud: salt-cloud - salt_master: salt-master - salt_master_macos_plist_hash: '' - salt_minion: salt-minion - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: salt-syndic - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py3/files/_mapdata/centos-7.yaml b/test/integration/v3000-py3/files/_mapdata/centos-7.yaml deleted file mode 100644 index 049bf30..0000000 --- a/test/integration/v3000-py3/files/_mapdata/centos-7.yaml +++ /dev/null @@ -1,115 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# CentOS Linux-7 ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: /srv/formulas - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: /etc/salt - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: git - require_state: false - install_from_source: false - libgit2: - build_parent_dir: /usr/src/ - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: true - version: 0.23.0 - version: 0.23.0 - install_packages: true - key_url: https://repo.saltproject.io/py3/redhat/$releasever/$basearch/3000/SALTSTACK-GPG-KEY.pub - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - gitfs_provider: pygit2 - pillar_roots: - base: - - /srv/pillar - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - /srv/pillar - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: true - pin_version: false - pkgrepo: https://repo.saltproject.io/py3/redhat/$releasever/$basearch/3000 - pkgrepo_humanname: SaltStack repo for RHEL/CentOS $releasever - pkgrepo_name: saltstack - py_ver: py3 - pygit2: python-pygit2 - python_dulwich: python-dulwich - python_git: GitPython - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: root - salt_api: salt-api - salt_cloud: salt-cloud - salt_master: salt-master - salt_master_macos_plist_hash: '' - salt_minion: salt-minion - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: salt-syndic - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py3/files/_mapdata/centos-8.yaml b/test/integration/v3000-py3/files/_mapdata/centos-8.yaml deleted file mode 100644 index eac9418..0000000 --- a/test/integration/v3000-py3/files/_mapdata/centos-8.yaml +++ /dev/null @@ -1,115 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# CentOS Linux-8 ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: /srv/formulas - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: /etc/salt - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: git - require_state: false - install_from_source: false - libgit2: - build_parent_dir: /usr/src/ - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: true - version: 0.23.0 - version: 0.23.0 - install_packages: true - key_url: https://repo.saltproject.io/py3/redhat/$releasever/$basearch/3000/SALTSTACK-GPG-KEY.pub - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - gitfs_provider: pygit2 - pillar_roots: - base: - - /srv/pillar - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - /srv/pillar - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: true - pin_version: false - pkgrepo: https://repo.saltproject.io/py3/redhat/$releasever/$basearch/3000 - pkgrepo_humanname: SaltStack repo for RHEL/CentOS $releasever - pkgrepo_name: saltstack - py_ver: py3 - pygit2: python-pygit2 - python_dulwich: python-dulwich - python_git: GitPython - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: root - salt_api: salt-api - salt_cloud: salt-cloud - salt_master: salt-master - salt_master_macos_plist_hash: '' - salt_minion: salt-minion - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: salt-syndic - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py3/files/_mapdata/debian-10.yaml b/test/integration/v3000-py3/files/_mapdata/debian-10.yaml deleted file mode 100644 index bcb9522..0000000 --- a/test/integration/v3000-py3/files/_mapdata/debian-10.yaml +++ /dev/null @@ -1,117 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# Debian-10 ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: /srv/formulas - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: /etc/salt - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: git - require_state: false - install_from_source: true - libgit2: - build_parent_dir: /usr/src/ - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: false - version: 0.23.0 - version: 0.22.1 - install_packages: true - key_url: https://repo.saltproject.io/py3/debian/10/amd64/3000/SALTSTACK-GPG-KEY.pub - libgit2: libgit2-22 - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - gitfs_provider: gitpython - pillar_roots: - base: - - /srv/pillar - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - /srv/pillar - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: true - pin_version: false - pkgrepo: deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg arch=amd64] - https://repo.saltproject.io/py3/debian/10/amd64/3000 buster main - pkgrepo_keyring: https://repo.saltproject.io/py3/debian/10/amd64/3000/salt-archive-keyring.gpg - pkgrepo_keyring_hash: sha256=ea38e0cdbd8dc53e1af154a8d711a2a321a69f81188062dc5cde9d54df2b8c47 - py_ver: py3 - pyinotify: python-pyinotify - python_dulwich: python-dulwich - python_git: python-git - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: root - salt_api: salt-api - salt_cloud: salt-cloud - salt_master: salt-master - salt_master_macos_plist_hash: '' - salt_minion: salt-minion - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: salt-syndic - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py3/files/_mapdata/debian-9.yaml b/test/integration/v3000-py3/files/_mapdata/debian-9.yaml deleted file mode 100644 index 0e25024..0000000 --- a/test/integration/v3000-py3/files/_mapdata/debian-9.yaml +++ /dev/null @@ -1,117 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# Debian-9 ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: /srv/formulas - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: /etc/salt - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: git - require_state: false - install_from_source: true - libgit2: - build_parent_dir: /usr/src/ - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: false - version: 0.23.0 - version: 0.22.1 - install_packages: true - key_url: https://repo.saltproject.io/py3/debian/9/amd64/3000/SALTSTACK-GPG-KEY.pub - libgit2: libgit2-22 - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - gitfs_provider: gitpython - pillar_roots: - base: - - /srv/pillar - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - /srv/pillar - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: true - pin_version: false - pkgrepo: deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg arch=amd64] - https://repo.saltproject.io/py3/debian/9/amd64/3000 stretch main - pkgrepo_keyring: https://repo.saltproject.io/py3/debian/9/amd64/3000/salt-archive-keyring.gpg - pkgrepo_keyring_hash: sha256=ea38e0cdbd8dc53e1af154a8d711a2a321a69f81188062dc5cde9d54df2b8c47 - py_ver: py3 - pyinotify: python-pyinotify - python_dulwich: python-dulwich - python_git: python-git - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: root - salt_api: salt-api - salt_cloud: salt-cloud - salt_master: salt-master - salt_master_macos_plist_hash: '' - salt_minion: salt-minion - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: salt-syndic - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py3/files/_mapdata/gentoo-2-sysd.yaml b/test/integration/v3000-py3/files/_mapdata/gentoo-2-sysd.yaml deleted file mode 100644 index ad1f8c7..0000000 --- a/test/integration/v3000-py3/files/_mapdata/gentoo-2-sysd.yaml +++ /dev/null @@ -1,112 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# Gentoo-2 ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: /srv/formulas - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: /etc/salt - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: git - require_state: false - install_from_source: true - libgit2: - build_parent_dir: /usr/src/ - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: true - version: 0.23.0 - version: 0.23.0 - install_packages: true - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - gitfs_provider: gitpython - pillar_roots: - base: - - /srv/pillar - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - /srv/pillar - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: true - pin_version: false - pkgrepo: '' - py_ver: py3 - pyinotify: dev-python/pyinotify - python_dulwich: python-dulwich - python_git: python-git - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: root - salt_api: app-admin/salt - salt_cloud: app-admin/salt - salt_master: app-admin/salt - salt_master_macos_plist_hash: '' - salt_minion: app-admin/salt - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: app-admin/salt - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py3/files/_mapdata/gentoo-2-sysv.yaml b/test/integration/v3000-py3/files/_mapdata/gentoo-2-sysv.yaml deleted file mode 100644 index ad1f8c7..0000000 --- a/test/integration/v3000-py3/files/_mapdata/gentoo-2-sysv.yaml +++ /dev/null @@ -1,112 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# Gentoo-2 ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: /srv/formulas - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: /etc/salt - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: git - require_state: false - install_from_source: true - libgit2: - build_parent_dir: /usr/src/ - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: true - version: 0.23.0 - version: 0.23.0 - install_packages: true - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - gitfs_provider: gitpython - pillar_roots: - base: - - /srv/pillar - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - /srv/pillar - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: true - pin_version: false - pkgrepo: '' - py_ver: py3 - pyinotify: dev-python/pyinotify - python_dulwich: python-dulwich - python_git: python-git - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: root - salt_api: app-admin/salt - salt_cloud: app-admin/salt - salt_master: app-admin/salt - salt_master_macos_plist_hash: '' - salt_minion: app-admin/salt - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: app-admin/salt - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py3/files/_mapdata/opensuse-15.yaml b/test/integration/v3000-py3/files/_mapdata/opensuse-15.yaml deleted file mode 100644 index a56a6b4..0000000 --- a/test/integration/v3000-py3/files/_mapdata/opensuse-15.yaml +++ /dev/null @@ -1,115 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# Leap-15 ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: /srv/formulas - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: /etc/salt - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: git - require_state: false - install_from_source: false - libgit2: - build_parent_dir: /usr/src/ - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: true - version: 0.23.0 - version: 0.23.0 - install_packages: true - key_url: https://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Leap_15.2/repodata/repomd.xml.key - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - gitfs_provider: pygit2 - pillar_roots: - base: - - /srv/pillar - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - /srv/pillar - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: true - pin_version: false - pkgrepo: https://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Leap_15.2/ - pkgrepo_humanname: Salt releases for SLE-based SUSE products (openSUSE_Leap_15.2) - py_ver: py3 - pygit2: python-pygit2 - pyinotify: python-pyinotify - python_dulwich: python-dulwich - python_git: python-git - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: root - salt_api: salt-api - salt_cloud: salt-cloud - salt_master: salt-master - salt_master_macos_plist_hash: '' - salt_minion: salt-minion - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: salt-syndic - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py3/files/_mapdata/oraclelinux-7.yaml b/test/integration/v3000-py3/files/_mapdata/oraclelinux-7.yaml deleted file mode 100644 index debb31b..0000000 --- a/test/integration/v3000-py3/files/_mapdata/oraclelinux-7.yaml +++ /dev/null @@ -1,115 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# Oracle Linux Server-7 ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: /srv/formulas - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: /etc/salt - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: git - require_state: false - install_from_source: false - libgit2: - build_parent_dir: /usr/src/ - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: true - version: 0.23.0 - version: 0.23.0 - install_packages: true - key_url: https://repo.saltproject.io/py3/redhat/7/$basearch/3000/SALTSTACK-GPG-KEY.pub - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - gitfs_provider: pygit2 - pillar_roots: - base: - - /srv/pillar - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - /srv/pillar - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: true - pin_version: false - pkgrepo: https://repo.saltproject.io/py3/redhat/7/$basearch/3000 - pkgrepo_humanname: SaltStack repo for RHEL/CentOS 7 - pkgrepo_name: saltstack - py_ver: py3 - pygit2: python-pygit2 - python_dulwich: python-dulwich - python_git: GitPython - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: root - salt_api: salt-api - salt_cloud: salt-cloud - salt_master: salt-master - salt_master_macos_plist_hash: '' - salt_minion: salt-minion - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: salt-syndic - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py3/files/_mapdata/oraclelinux-8.yaml b/test/integration/v3000-py3/files/_mapdata/oraclelinux-8.yaml deleted file mode 100644 index 97724d9..0000000 --- a/test/integration/v3000-py3/files/_mapdata/oraclelinux-8.yaml +++ /dev/null @@ -1,115 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# Oracle Linux Server-8 ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: /srv/formulas - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: /etc/salt - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: git - require_state: false - install_from_source: false - libgit2: - build_parent_dir: /usr/src/ - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: true - version: 0.23.0 - version: 0.23.0 - install_packages: true - key_url: https://repo.saltproject.io/py3/redhat/$releasever/$basearch/3000/SALTSTACK-GPG-KEY.pub - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - gitfs_provider: pygit2 - pillar_roots: - base: - - /srv/pillar - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - /srv/pillar - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: true - pin_version: false - pkgrepo: https://repo.saltproject.io/py3/redhat/$releasever/$basearch/3000 - pkgrepo_humanname: SaltStack repo for RHEL/CentOS $releasever - pkgrepo_name: saltstack - py_ver: py3 - pygit2: python-pygit2 - python_dulwich: python-dulwich - python_git: GitPython - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: root - salt_api: salt-api - salt_cloud: salt-cloud - salt_master: salt-master - salt_master_macos_plist_hash: '' - salt_minion: salt-minion - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: salt-syndic - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py3/files/_mapdata/ubuntu-18.yaml b/test/integration/v3000-py3/files/_mapdata/ubuntu-18.yaml deleted file mode 100644 index 02729ac..0000000 --- a/test/integration/v3000-py3/files/_mapdata/ubuntu-18.yaml +++ /dev/null @@ -1,118 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# Ubuntu-18.04 ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: /srv/formulas - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: /etc/salt - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: null - require_state: false - install_from_source: false - libgit2: - build_parent_dir: /usr/src/ - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: false - version: 0.23.0 - version: 0.22.1 - install_packages: true - key_url: https://repo.saltproject.io/py3/ubuntu/18.04/amd64/3000/SALTSTACK-GPG-KEY.pub - libgit2: libgit2-22 - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - gitfs_provider: gitpython - pillar_roots: - base: - - /srv/pillar - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - /srv/salt - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - /srv/pillar - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: true - pin_version: false - pkgrepo: deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg arch=amd64] - https://repo.saltproject.io/py3/ubuntu/18.04/amd64/3000 bionic main - pkgrepo_keyring: https://repo.saltproject.io/py3/ubuntu/18.04/amd64/3000/salt-archive-keyring.gpg - pkgrepo_keyring_hash: sha256=ea38e0cdbd8dc53e1af154a8d711a2a321a69f81188062dc5cde9d54df2b8c47 - py_ver: py3 - pygit2: python-pygit2 - pyinotify: python-pyinotify - python_dulwich: python-dulwich - python_git: python-git - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: root - salt_api: salt-api - salt_cloud: salt-cloud - salt_master: salt-master - salt_master_macos_plist_hash: '' - salt_minion: salt-minion - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: salt-syndic - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py3/files/_mapdata/windows-2019-server.yaml b/test/integration/v3000-py3/files/_mapdata/windows-2019-server.yaml deleted file mode 100644 index 64e4aec..0000000 --- a/test/integration/v3000-py3/files/_mapdata/windows-2019-server.yaml +++ /dev/null @@ -1,111 +0,0 @@ -# yamllint disable rule:indentation rule:line-length -# Windows-2019Server ---- -values: - formulas_settings: - checkout_orig_branch: false - git_opts: - default: - basedir: "/srv/formulas" - baseurl: https://github.com/saltstack-formulas - options: - output_loglevel: quiet - rev: master - update: false - list: {} - salt_settings: - api_service: salt-api - api_service_details: - enabled: true - state: running - clean_config_d_dir: true - cloud: - template_sources: - maps: salt://salt/files/cloud.maps.d - profiles: salt://salt/files/cloud.profiles.d - providers: salt://salt/files/cloud.providers.d - config_path: C:\salt\conf - gitfs: - dulwich: - install_from_source: true - gitpython: - install_from_source: false - pygit2: - git: - install_from_package: git - require_state: false - install_from_source: true - libgit2: - build_parent_dir: "/usr/src/" - download_hash: 683d1164e361e2a0a8d52652840e2340 - install_from_source: true - version: 0.23.0 - version: 0.23.0 - install_packages: true - master: - ext_pillar: - - cmd_yaml: cat /etc/salt/yaml - - stack: - - /path/to/stack1.cfg - - /path/to/stack2.cfg - - reclass: - inventory_base_uri: /etc/reclass - file_roots: - base: - - "/srv/salt" - fileserver_backend: - - rootfs - gitfs_provider: gitpython - pillar_roots: - base: - - "/srv/pillar" - master_config_use_TOFS: false - master_remove_config: false - master_service: salt-master - master_service_details: - enabled: true - state: running - minion: - file_roots: - base: - - "/srv/salt" - fileserver_backend: - - rootfs - master: localhost - master_type: str - pillar_roots: - base: - - "/srv/pillar" - minion_config_use_TOFS: false - minion_remove_config: false - minion_service: salt-minion - minion_service_details: - enabled: true - state: running - parallel: false - pin_version: false - pkgrepo: '' - py_ver: py3 - python_dulwich: python-dulwich - python_git: python-git - release: '3000' - restart_via_at: false - retry_options: - attempts: 2 - interval: 10 - splay: 10 - until: true - rootgroup: root - rootuser: kitchen - salt_api: salt-api - salt_cloud: salt-cloud - salt_master: salt-master - salt_master_macos_plist_hash: '' - salt_minion: salt-minion-py3 - salt_minion_macos_plist_hash: '' - salt_ssh: salt-ssh - salt_syndic: salt-syndic - ssh_roster: {} - syndic_service: salt-syndic - use_pip: false - version: '' diff --git a/test/integration/v3000-py3/inspec.yml b/test/integration/v3000-py3/inspec.yml deleted file mode 100644 index 724ae73..0000000 --- a/test/integration/v3000-py3/inspec.yml +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# vim: ft=yaml ---- -name: v3000-py3 -title: salt formula -maintainer: SaltStack Formulas -license: Apache-2.0 -summary: Verify that Salt `v3000-py3` is setup and configured -depends: - - name: share - path: test/integration/share -supports: - - platform-name: debian - - platform-name: ubuntu - - platform-name: centos - - platform-name: fedora - - platform-name: opensuse - - platform-name: suse - - platform-name: freebsd - - platform-name: openbsd - - platform-name: amazon - - platform-name: oracle - - platform-name: arch - - platform-name: gentoo - - platform-name: almalinux - - platform-name: rocky - - platform: windows diff --git a/test/integration/v3003-py3/files/_mapdata/opensuse-15.yaml b/test/integration/v3003-py3/files/_mapdata/opensuse-15.yaml index 1ba3f72..b9dc605 100644 --- a/test/integration/v3003-py3/files/_mapdata/opensuse-15.yaml +++ b/test/integration/v3003-py3/files/_mapdata/opensuse-15.yaml @@ -42,7 +42,7 @@ values: version: 0.23.0 version: 0.23.0 install_packages: true - key_url: https://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Leap_15.2/repodata/repomd.xml.key + key_url: https://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Leap_15.3/repodata/repomd.xml.key master: ext_pillar: - cmd_yaml: cat /etc/salt/yaml @@ -85,8 +85,8 @@ values: state: running parallel: true pin_version: false - pkgrepo: https://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Leap_15.2/ - pkgrepo_humanname: Salt releases for SLE-based SUSE products (openSUSE_Leap_15.2) + pkgrepo: https://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Leap_15.3/ + pkgrepo_humanname: Salt releases for SLE-based SUSE products (openSUSE_Leap_15.3) py_ver: py3 pygit2: python-pygit2 pyinotify: python-pyinotify diff --git a/test/salt/pillar/v3000-py2.sls b/test/salt/pillar/v3000-py2.sls deleted file mode 100644 index 7d4f917..0000000 --- a/test/salt/pillar/v3000-py2.sls +++ /dev/null @@ -1,5 +0,0 @@ -# -*- coding: utf-8 -*- -# vim: ft=yaml ---- -salt: - release: '3000' diff --git a/test/salt/pillar/v3000-py3.sls b/test/salt/pillar/v3000-py3.sls deleted file mode 100644 index 97daba2..0000000 --- a/test/salt/pillar/v3000-py3.sls +++ /dev/null @@ -1,6 +0,0 @@ -# -*- coding: utf-8 -*- -# vim: ft=yaml ---- -salt: - release: '3000' - py_ver: 'py3'