]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/oxidized/recipes/default.rb
oxidized: manage ssh directory
[chef.git] / 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
 
   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")
 # Key is set as a deployment key in github repo
 file "/opt/oxidized/.ssh/id_rsa" do
   content keys["git"].join("\n")