From c39553e8aabc47a5778fa8179e6e108db8fa2cc2 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 2 Oct 2022 00:51:14 +0100 Subject: [PATCH] oxidized: create config store directory tree --- cookbooks/oxidized/recipes/default.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cookbooks/oxidized/recipes/default.rb b/cookbooks/oxidized/recipes/default.rb index 9963670fc..280efad59 100644 --- a/cookbooks/oxidized/recipes/default.rb +++ b/cookbooks/oxidized/recipes/default.rb @@ -113,6 +113,12 @@ ssh_known_hosts_entry 'github.com' do 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 -- 2.39.5