<commit_before>include_recipe "pdns::#{node['pdns']['build_method']}"

template '/etc/powerdns/pdns.conf' do
  source 'pdns.conf.erb'
  owner 'pdns'
  group 'pdns'
  mode '0644'
  notifies :restart, 'service[pdns]', :immediately
end

service 'pdns' do
  action [ :enable, :start ]
end

<commit_msg>Use the default /etc/pdns path for configs<commit_after>include_recipe "pdns::#{node['pdns']['build_method']}"

template '/etc/pdns/pdns.conf' do
  source 'pdns.conf.erb'
  owner 'pdns'
  group 'pdns'
  mode '0644'
  notifies :restart, 'service[pdns]', :immediately
end

service 'pdns' do
  action [ :enable, :start ]
end


{'fraction_non_alphanumeric': 0.1610305958132045, 'fraction_numerical': 0.01288244766505636, 'mean_word_length': 4.923809523809524, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1325952', 'n_tokens_mistral': 253, 'n_tokens_neox': 247, 'n_words': 56}