You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way I use the resource is that I iterate over chef search results and run hostsfile_entry resource for each result (node).
The problem is that when a node gets removed from chef or stops meeting search criteria, it is not removed from /etc/hosts.
I'm wondering, would it be possible to make the resource manage the entire collection of entries it manages. Maybe use comment (or it's part) as identifier rather than (only) ip_address?
The text was updated successfully, but these errors were encountered:
The way I use the resource is that I iterate over chef search results and run
hostsfile_entry
resource for each result (node).The problem is that when a node gets removed from chef or stops meeting search criteria, it is not removed from /etc/hosts.
I'm wondering, would it be possible to make the resource manage the entire collection of entries it manages. Maybe use comment (or it's part) as identifier rather than (only) ip_address?
The text was updated successfully, but these errors were encountered: