Skip to content

Commit

Permalink
Avoid breaking of chef package resource via yum
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-sidorenko committed Oct 26, 2016
1 parent e05755d commit 37d41af
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions fedora-23-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
"scripts/fedora/fix-slow-dns.sh",
"scripts/common/sshd.sh",
"scripts/fedora/build-tools.sh",
"scripts/fedora/yum.sh",
"scripts/common/virtualbox.sh",
"scripts/common/vmware.sh",
"scripts/common/parallels.sh",
Expand Down
1 change: 1 addition & 0 deletions fedora-23-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
"scripts/common/metadata.sh",
"scripts/fedora/fix-slow-dns.sh",
"scripts/fedora/build-tools.sh",
"scripts/fedora/yum.sh",
"scripts/common/sshd.sh",
"scripts/common/virtualbox.sh",
"scripts/common/vmware.sh",
Expand Down
1 change: 1 addition & 0 deletions fedora-24-i386.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
"scripts/common/metadata.sh",
"scripts/fedora/fix-slow-dns.sh",
"scripts/fedora/build-tools.sh",
"scripts/fedora/yum.sh",
"scripts/common/sshd.sh",
"scripts/common/virtualbox.sh",
"scripts/common/vmware.sh",
Expand Down
1 change: 1 addition & 0 deletions fedora-24-x86_64.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
"scripts/common/metadata.sh",
"scripts/fedora/fix-slow-dns.sh",
"scripts/fedora/build-tools.sh",
"scripts/fedora/yum.sh",
"scripts/common/sshd.sh",
"scripts/common/virtualbox.sh",
"scripts/common/vmware.sh",
Expand Down
4 changes: 4 additions & 0 deletions scripts/fedora/yum.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash -eux
# Installing yum for compatibility, especially for chef/kitchen tests
# https://github.com/chef/chef/issues/5492
dnf -y install yum

0 comments on commit 37d41af

Please sign in to comment.