community_cookbook_documentation icon indicating copy to clipboard operation
community_cookbook_documentation copied to clipboard

Support for sortlist missing

Open Punicaa opened this issue 1 year ago • 0 comments

The cookbook is missing the option to add sortlists to resolv.conf. It should be a pretty minimal code change to fix this. If i'm correct the only thing needing to be added is the following to resolv.conf template:

<% unless nil_or_empty?(@sortlist) -%>
sortlist <%= @sortlist.join(' ') %>
<% end -%>

I've made the following PR which adds this: https://github.com/sous-chefs/resolver/pull/78

Punicaa avatar Jan 26 '24 12:01 Punicaa