diff --git a/.travis.yml b/.travis.yml index 40a05358..750d4774 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ env: - INSTANCE: default-centos-7 # - INSTANCE: default-centos-6 - INSTANCE: default-fedora - # - INSTANCE: default-opensuse-leap + - INSTANCE: default-opensuse-leap script: - bundle exec kitchen verify ${INSTANCE} diff --git a/kitchen.yml b/kitchen.yml index e61e43ae..7e0a22f1 100644 --- a/kitchen.yml +++ b/kitchen.yml @@ -13,27 +13,28 @@ driver_config: # Make sure the platforms listed below match up with # the `env.matrix` instances defined in `.travis.yml` platforms: + # The `run_command` used for each platform is required to + # test `systemd` services in docker - name: debian-9 driver_config: - # This run_command is required to test systemd services in docker run_command: /lib/systemd/systemd provision_command: - - apt install udev -y + - apt install -y udev - name: debian-8 driver_config: run_command: /lib/systemd/systemd provision_command: - - apt install udev -y + - apt install -y udev - name: ubuntu-18.04 driver_config: run_command: /lib/systemd/systemd provision_command: - - apt install udev -y + - apt install -y udev - name: ubuntu-16.04 driver_config: run_command: /lib/systemd/systemd provision_command: - - apt install udev -y + - apt install -y udev - name: centos-7 driver_config: image: centos:7 @@ -44,14 +45,16 @@ platforms: # run_command: /usr/lib/systemd/systemd - name: fedora driver_config: - image: fedora run_command: /usr/lib/systemd/systemd provision_command: - - yum install udev -y - # - name: opensuse-leap - # driver_config: - # image: opensuse/leap - # run_command: /usr/lib/systemd/systemd + - yum install -y udev + - name: opensuse-leap + driver_config: + image: opensuse/leap + run_command: /usr/lib/systemd/systemd + provision_command: + - zypper install -y udev + - systemctl enable sshd.service provisioner: name: salt_solo