Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace hosts_file cookbook dependency with hostsfile cookbook #23

Closed

Conversation

jwmarshall
Copy link

@jwmarshall jwmarshall commented Jun 24, 2016

While testing this cookbook and the managed_hosts recipe I saw that the resources were created and apparently run as part of the chef converge, however they never actually updated my hosts file! I have replaced the hosts_file cookbook dependency with the hostsfile cookbook which has never failed me in the past.

Hopefully you don't find this to be an offensive PR as I know you guys wrote the hosts_file cookbook.

hostsfile_entry ip do
hostname host
unique false
notifies :restart, 'service[dnsmasq]', :delayed

This comment was marked as outdated.

@tas50
Copy link
Contributor

tas50 commented Aug 30, 2018

Really we should require Chef 14+ and be done with it since we have a built in resource for setting hostnames now.

@tas50 tas50 closed this Aug 30, 2018
@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants