]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/resources/collector.rb
Install libyaml-perl for dns-check
[chef.git] / cookbooks / prometheus / resources / collector.rb
index ef103c3c0733d778c7fe84d9a56b0aaffd12cf48..e82984b143354b45326bb12d47eb71c51d1fed8b 100644 (file)
@@ -38,7 +38,7 @@ action :create do
     private_tmp true
     protect_system "strict"
     protect_home true
-    read_write_paths "/var/lib/prometheus/node-exporter"
+    read_write_paths ["/var/lib/prometheus/node-exporter", "/var/lock", "/var/log"]
     no_new_privileges true
   end