X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/7710e00d9f2c809cf2349d43c6ae10ee01f36b62..2cb0c3cb0ddd588c3f8c6a9ff9dd3d429a8a49c9:/cookbooks/planet/recipes/replication.rb diff --git a/cookbooks/planet/recipes/replication.rb b/cookbooks/planet/recipes/replication.rb index 84fd53d9d..85a3c08d3 100644 --- a/cookbooks/planet/recipes/replication.rb +++ b/cookbooks/planet/recipes/replication.rb @@ -143,6 +143,18 @@ directory "/store/planet/replication/test/minute" do mode "755" end +directory "/store/replication" do + owner "planet" + group "planet" + mode "755" +end + +directory "/store/replication/minute" do + owner "planet" + group "planet" + mode "755" +end + systemd_tmpfile "/run/replication" do type "d" owner "planet" @@ -180,7 +192,7 @@ osmdbt_config = { }, "log_dir" => "/var/lib/replication/minute", "changes_dir" => "/store/planet/replication/test/minute", - "tmp_dir" => "/tmp", + "tmp_dir" => "/store/replication/minute", "run_dir" => "/run/replication" }