From d0b0122828ef22a0858843504777c0cb4342f01a Mon Sep 17 00:00:00 2001 From: Mike Adolphs Date: Sun, 1 Jul 2012 16:02:03 +0200 Subject: [PATCH] Removed obsolete files/templates from the default recipe --- attributes/default.rb | 1 - recipes/default.rb | 8 -------- 2 files changed, 9 deletions(-) diff --git a/attributes/default.rb b/attributes/default.rb index 2f9ded4..b04ea95 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -20,7 +20,6 @@ default[:bind9][:data_path] = "/var/named" else default[:bind9][:config_path] = "/etc/bind" - default[:bind9][:config_file] = "/etc/bind/named.conf" default[:bind9][:options_file] = "/etc/bind/named.conf.options" default[:bind9][:local_file] = "/etc/bind/named.conf.local" default[:bind9][:data_path] = "/var/cache/bind" diff --git a/recipes/default.rb b/recipes/default.rb index 2c57dd6..2913bdd 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -42,14 +42,6 @@ action [ :enable ] end -template node[:bind9][:config_file] do - source "named.conf.erb" - owner "root" - group "root" - mode 0644 - notifies :restart, resources(:service => "bind9") -end - template node[:bind9][:options_file] do source "named.conf.options.erb" owner "root"