apt_update 'update'

case node['platform_family']
when 'debian'
  %w(libxml2 libxml2-dev libxslt1-dev).each do |pkg|
    package pkg do
      action :install
    end
  end
when 'rhel'
  %w(gcc make ruby-devel libxml2 libxml2-devel libxslt libxslt-devel).each do |pkg|
    package pkg do
      action :install
    end
  end
end

package 'curl' do
  action :install
end

apt_update 'update'

case node['platform_family']
when 'debian'
  package %w(libxml2 libxml2-dev libxslt1-dev)
when 'rhel'
  package %w(gcc make ruby-devel libxml2 libxml2-devel libxslt libxslt-devel)
end

package 'curl'

Use multipackage installs in the test recipe
Use multipackage installs in the test recipe

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
