mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
refactor(kitchen): use driver
instead of driver_config
* https://github.com/test-kitchen/kitchen-azurerm/issues/69
* 55b768d0b3
This commit is contained in:
parent
075e061262
commit
e5e5098745
1 changed files with 16 additions and 16 deletions
32
kitchen.yml
32
kitchen.yml
|
@ -31,13 +31,13 @@ provisioner:
|
|||
platforms:
|
||||
- name: almalinux-8
|
||||
- name: amazon-2
|
||||
driver_config:
|
||||
driver:
|
||||
image: amazonlinux:2
|
||||
platform: rhel
|
||||
provision_command:
|
||||
- yum -y install procps-ng
|
||||
- name: arch
|
||||
driver_config:
|
||||
driver:
|
||||
image: archlinux/archlinux
|
||||
provision_command:
|
||||
- pacman -Syu --noconfirm --needed systemd grep awk procps which
|
||||
|
@ -47,44 +47,44 @@ platforms:
|
|||
- name: centos-8
|
||||
- name: centos-7
|
||||
- name: debian-9
|
||||
driver_config:
|
||||
driver:
|
||||
run_command: /lib/systemd/systemd
|
||||
- name: debian-10
|
||||
driver_config:
|
||||
driver:
|
||||
run_command: /lib/systemd/systemd
|
||||
- name: debian-11
|
||||
driver_config:
|
||||
driver:
|
||||
image: debian:bullseye
|
||||
run_command: /lib/systemd/systemd
|
||||
- name: fedora-33
|
||||
driver_config:
|
||||
driver:
|
||||
provision_command:
|
||||
- dnf -y install procps-ng
|
||||
- sed -i 's/^PubkeyAcceptedKeyTypes.*$/&,ssh-rsa/' /etc/crypto-policies/back-ends/opensshserver.config
|
||||
- name: fedora-34
|
||||
driver_config:
|
||||
driver:
|
||||
provision_command:
|
||||
- dnf -y install procps-ng
|
||||
- sed -i 's/^PubkeyAcceptedKeyTypes.*$/&,ssh-rsa/' /etc/crypto-policies/back-ends/opensshserver.config
|
||||
- name: fedora-35
|
||||
driver_config:
|
||||
driver:
|
||||
provision_command:
|
||||
- dnf -y install procps-ng
|
||||
- sed -i 's/^PubkeyAcceptedKeyTypes.*$/&,ssh-rsa/' /etc/crypto-policies/back-ends/opensshserver.config
|
||||
- name: gentoo
|
||||
driver_config:
|
||||
driver:
|
||||
image: gentoo/stage3:latest
|
||||
run_command: /sbin/init
|
||||
provision_command:
|
||||
- rc-update add sshd default
|
||||
- name: gentoo-systemd
|
||||
driver_config:
|
||||
driver:
|
||||
image: gentoo/stage3:systemd
|
||||
run_command: /lib/systemd/systemd
|
||||
provision_command:
|
||||
- systemctl enable sshd.service
|
||||
- name: opensuse-15
|
||||
driver_config:
|
||||
driver:
|
||||
image: opensuse/leap:15.3
|
||||
provision_command:
|
||||
- zypper --non-interactive install --auto-agree-with-licenses dbus-1
|
||||
|
@ -93,7 +93,7 @@ platforms:
|
|||
provisioner:
|
||||
salt_bootstrap_options: -MPfq -y -x python2 git %s
|
||||
- name: opensuse-tumbleweed
|
||||
driver_config:
|
||||
driver:
|
||||
image: opensuse/tumbleweed:latest
|
||||
provision_command:
|
||||
- zypper --non-interactive install --auto-agree-with-licenses dbus-1
|
||||
|
@ -104,16 +104,16 @@ platforms:
|
|||
- name: oraclelinux-8
|
||||
- name: oraclelinux-7
|
||||
- name: rockylinux-8
|
||||
driver_config:
|
||||
driver:
|
||||
image: rockylinux/rockylinux
|
||||
- name: ubuntu-21.04
|
||||
driver_config:
|
||||
driver:
|
||||
run_command: /lib/systemd/systemd
|
||||
- name: ubuntu-20.04
|
||||
driver_config:
|
||||
driver:
|
||||
run_command: /lib/systemd/systemd
|
||||
- name: ubuntu-18.04
|
||||
driver_config:
|
||||
driver:
|
||||
run_command: /lib/systemd/systemd
|
||||
|
||||
suites:
|
||||
|
|
Loading…
Add table
Reference in a new issue