From 724b40a724f067457d2c29336551e3d4b0c41e24 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 2 Oct 2022 00:29:28 +0100 Subject: [PATCH] oxidized: manage ssh directory --- 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 5754ceefe..119ac13c1 100644 --- a/cookbooks/oxidized/recipes/default.rb +++ b/cookbooks/oxidized/recipes/default.rb @@ -78,6 +78,12 @@ git "/opt/oxidized/daemon" do notifies :run, "bundle_install[/opt/oxidized/daemon]" end +directory "/opt/oxidized/.ssh" do + owner "oxidized" + group "oxidized" + mode "700" +end + # Key is set as a deployment key in github repo file "/opt/oxidized/.ssh/id_rsa" do content keys["git"].join("\n") -- 2.39.5