manage_hostsfile does not work as expected. The following error msg is encountered:
'hosts_file_entry' is not a valid Chef resource.
Please consult the documentation for a list of valid resources:
https://docs.chef.io/resource_reference.html
:pancakes: Cookbook version
1.0.1
:woman_cook: Chef-Infra Version
chef-client 16/17
:tophat: Platform details
CentOS 7
Steps To Reproduce
Steps to reproduce the behavior:
Create wrapper cookbook.
add include_recipe 'dnsmasq' to the default recipe
:ghost: Brief Description
manage_hostsfile does not work as expected. The following error msg is encountered:
:pancakes: Cookbook version
1.0.1
:woman_cook: Chef-Infra Version
chef-client 16/17
:tophat: Platform details
CentOS 7
Steps To Reproduce
Steps to reproduce the behavior:
include_recipe 'dnsmasq'
to the default recipe:police_car: Expected behavior
Should create two entries in /etc/hosts that dnsmasq will resolv dns requests for.