```ruby
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
```

Use multipackage installs in the test recipe
user
```ruby
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'
```
assistant