summaryrefslogtreecommitdiff
path: root/kitchen-tests
diff options
context:
space:
mode:
Diffstat (limited to 'kitchen-tests')
-rw-r--r--kitchen-tests/cookbooks/base/recipes/default.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/kitchen-tests/cookbooks/base/recipes/default.rb b/kitchen-tests/cookbooks/base/recipes/default.rb
index bc98981d5d..a0b98108e5 100644
--- a/kitchen-tests/cookbooks/base/recipes/default.rb
+++ b/kitchen-tests/cookbooks/base/recipes/default.rb
@@ -7,10 +7,9 @@
hostname "chef-travis-ci.chef.io"
-if platform_family?("debian")
- include_recipe "ubuntu"
- apt_update
-end
+apt_update
+
+include_recipe "ubuntu" if platform?("ubuntu")
if platform_family?("rhel", "fedora", "amazon")
include_recipe "selinux::disabled"