X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6f6ac0de26339fe17da0594649ce1b1dfe2c7f80..f171579497681fb01212c9de813eb95424c6351e:/cookbooks/geodns/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/geodns/recipes/default.rb b/cookbooks/geodns/recipes/default.rb index 8a72c17a2..98e91a808 100644 --- a/cookbooks/geodns/recipes/default.rb +++ b/cookbooks/geodns/recipes/default.rb @@ -17,50 +17,12 @@ # limitations under the License. # -service "pdns" do - action [ :stop, :disable ] - supports :status => true, :restart => true, :reload => true -end - -file "/etc/powerdns/countries.conf" do - action :delete -end - -file "/etc/powerdns/pdns.d/pdns.simplebind" do - action :delete - notifies :reload, "service[pdns]" -end - -file "/etc/powerdns/pdns.d/geo.conf" do - action :delete -end - -file "/etc/powerdns/zones.d/tile.conf" do - action :delete -end - -directory "/etc/powerdns/zones.d" do - action :delete -end - -file "/etc/cron.weekly/geodns-update" do - action :delete -end - -package "pdns-backend-geo" do - action :purge -end - -package "pdns-server" do - action :purge -end - package "geoip-database-contrib" package "gdnsd" service "gdnsd" do - action [ :enable, :start ] + action [:enable, :start] supports :status => true, :restart => true, :reload => true end