Skip to content

Commit

Permalink
ci(kitchen): check for repos updates before trying package installation
Browse files Browse the repository at this point in the history
  • Loading branch information
daks committed Feb 26, 2019
1 parent 6a4e25a commit b632383
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@ platforms:
driver_config:
run_command: /lib/systemd/systemd
provision_command:
- apt install -y udev
- apt-get update && apt-get install -y udev
# With the release of `2019.2`, `debian-8` is no longer working
# Disabling until the following upstream bug has been resolved:
# * https://github.com/saltstack/salt/issues/51808
# - name: debian-8
# driver_config:
# run_command: /lib/systemd/systemd
# provision_command:
# - apt install -y udev
# - apt-get update && apt-get install -y udev
- name: ubuntu-18.04
driver_config:
run_command: /lib/systemd/systemd
provision_command:
- apt install -y udev
- apt-get update && apt-get install -y udev
- name: ubuntu-16.04
driver_config:
run_command: /lib/systemd/systemd
provision_command:
- apt install -y udev
- apt-get update && apt-get install -y udev
- name: centos-7
driver_config:
image: centos:7
Expand All @@ -50,7 +50,7 @@ platforms:
driver_config:
run_command: /usr/lib/systemd/systemd
provision_command:
- yum install -y udev
- yum -y update && yum -y install udev
# As of February 2019, there have been problems getting `opensuse` to work:
# * `opensuse` is deprecated
# * `opensuse/leap` grabs `15.x`, which doesn't run the `inspec` tests
Expand All @@ -62,7 +62,7 @@ platforms:
image: opensuse/salt-minion
run_command: /usr/lib/systemd/systemd
provision_command:
- zypper install -y udev
- zypper refresh && zypper install -y udev
- systemctl enable sshd.service
- cat /etc/os-release

Expand Down

0 comments on commit b632383

Please sign in to comment.