diff --git a/examples/kitchen-chef/recipes/nginx.rb b/examples/kitchen-chef/recipes/nginx.rb index 71b9f08da..a332d1bc8 100644 --- a/examples/kitchen-chef/recipes/nginx.rb +++ b/examples/kitchen-chef/recipes/nginx.rb @@ -5,7 +5,6 @@ # install repositories for nginx case node['platform'] when 'ubuntu' - include_recipe('apt') # if ubuntu, install apt_repository 'nginx-php' do uri 'ppa:nginx/stable' diff --git a/test/cookbooks/os_prepare/recipes/prep_container.rb b/test/cookbooks/os_prepare/recipes/prep_container.rb index 567bd54c2..43b23bc80 100644 --- a/test/cookbooks/os_prepare/recipes/prep_container.rb +++ b/test/cookbooks/os_prepare/recipes/prep_container.rb @@ -4,12 +4,6 @@ # # prepares container for normal use :-) -# install docker pre-conditions -if ['ubuntu', 'debian'].include?(node['platform']) - include_recipe('apt') - - # if package lsb-release & procps is not installed - # chef returns an empty node['lsb']['codename'] - package("lsb-release") - package("procps") -end +# if package lsb-release & procps is not installed +# chef returns an empty node['lsb']['codename'] +package %w(procps lsb-release) if platform_family?('debian') diff --git a/test/cookbooks/os_prepare/recipes/service.rb b/test/cookbooks/os_prepare/recipes/service.rb index 8ad52dcc4..a24229d0a 100644 --- a/test/cookbooks/os_prepare/recipes/service.rb +++ b/test/cookbooks/os_prepare/recipes/service.rb @@ -7,7 +7,6 @@ case node['platform'] when 'ubuntu' # install ntp as a service - include_recipe 'apt::default' package 'ntp' when 'centos'