]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/geodns/recipes/default.rb
Correct attribute name
[chef.git] / cookbooks / geodns / recipes / default.rb
index 73531de012dda60105ac36f1387f5a4572c9ace8..3a166262c0e5669a297f7b2023df57be7462a2a9 100644 (file)
@@ -21,6 +21,8 @@ include_recipe "geoipupdate"
 
 servers = search(:node, "roles:geodns").collect(&:name).sort
 
+servers << "dummy.example.com" if servers.empty?
+
 package %w[
   gdnsd
 ]
@@ -74,7 +76,7 @@ systemd_service "gdnsd-reload" do
   standard_output "null"
   private_tmp true
   private_devices true
-  protect_system "full"
+  protect_system "strict"
   protect_home true
   no_new_privileges true
 end