]> git.openstreetmap.org Git - chef.git/commitdiff
oxidized: create config store directory tree
authorGrant Slater <github@firefishy.com>
Sat, 1 Oct 2022 23:51:14 +0000 (00:51 +0100)
committerGrant Slater <github@firefishy.com>
Sat, 1 Oct 2022 23:51:14 +0000 (00:51 +0100)
cookbooks/oxidized/recipes/default.rb

index 9963670fc98bfa07b072f7641f5dd8345f22ae52..280efad594e0d997fd0bd2d8a8ed61e3eb73ce41 100644 (file)
@@ -113,6 +113,12 @@ ssh_known_hosts_entry 'github.com' do
   group "oxidized"
 end
 
   group "oxidized"
 end
 
+directory "/var/lib/oxidized" do
+  owner "oxidized"
+  group "oxidized"
+  mode "750"
+end
+
 git "/var/lib/oxidized/configs.git" do
   action :sync
   repository "git@github.com:openstreetmap/oxidized-configs.git" # Uses oxidized ssh key
 git "/var/lib/oxidized/configs.git" do
   action :sync
   repository "git@github.com:openstreetmap/oxidized-configs.git" # Uses oxidized ssh key