]> git.openstreetmap.org Git - chef.git/commitdiff
oxidized: fix execute user
authorGrant Slater <github@firefishy.com>
Sat, 1 Oct 2022 23:02:34 +0000 (00:02 +0100)
committerGrant Slater <github@firefishy.com>
Sat, 1 Oct 2022 23:02:34 +0000 (00:02 +0100)
cookbooks/oxidized/recipes/default.rb

index c20f865c0f658ebbfed81581c5eaea51ee8232dc..4e8ea2f703f5cdeb4db74caebe37e7b9c56b5725 100644 (file)
@@ -74,7 +74,7 @@ end
 
 execute "/opt/oxidized/.ssh/id_rsa.pub" do
   command "ssh-keygen -f /opt/oxidized/.ssh/id_rsa -y > /opt/oxidized/.ssh/id_rsa.pub"
-  owner "oxidized"
+  user "oxidized"
   group "oxidized"
   creates "/opt/oxidized/.ssh/id_rsa.pub"
   notifies :restart, "service[oxidized]"