summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-12-01 10:04:48 -0800
committerTim Smith <tsmith@chef.io>2017-12-01 10:04:48 -0800
commit5e64e9da55a85147492ab86fc89093410f0b29db (patch)
tree4b3c24da5003a4324bc00802c38c1cd4fe34773c
parentbf07c0cbf9f568faa65a3defdeeca681ee6fdf1f (diff)
downloadchef-5e64e9da55a85147492ab86fc89093410f0b29db.tar.gz
Don't include the ubuntu cookbook on Debian
Signed-off-by: Tim Smith <tsmith@chef.io>
-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"