apt_update 'update' if platform_family?('ubuntu')

include_recipe 'djbdns::server'
include_recipe 'djbdns::cache'

file '/etc/resolv.conf' do
  manage_symlink_source true
  content "nameserver #{node['ipaddress']}"
end

# for the `host` command used in the tests
package 'bind-utils' if platform_family?('rhel', 'fedora')

apt_update 'update' if platform_family?('debian')

include_recipe 'djbdns::server'
include_recipe 'djbdns::cache'

file '/etc/resolv.conf' do
  manage_symlink_source true
  content "nameserver #{node['ipaddress']}"
end

# for the `host` command used in the tests
package 'bind-utils' if platform_family?('rhel', 'fedora')

Fix bad platform_family check in test
Fix bad platform_family check in test

Cookstyle fixed this

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