]> git.openstreetmap.org Git - chef.git/commitdiff
oxidized: manage ssh directory
authorGrant Slater <github@firefishy.com>
Sat, 1 Oct 2022 23:29:28 +0000 (00:29 +0100)
committerGrant Slater <github@firefishy.com>
Sat, 1 Oct 2022 23:29:28 +0000 (00:29 +0100)
cookbooks/oxidized/recipes/default.rb

index 5754ceefe9aef7cd7c68ed16ee9645529f3b500d..119ac13c1c2465eb6235ce63a6f8b602201fd57c 100644 (file)
@@ -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")