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

index b0f25962c42fe8a8ba850607f6526289ddaebeb3..c20f865c0f658ebbfed81581c5eaea51ee8232dc 100644 (file)
@@ -72,7 +72,7 @@ file "/opt/oxidized/.ssh/id_rsa.pub" do
   action :nothing
 end
 
-exec "/opt/oxidized/.ssh/id_rsa.pub" do
+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"
   group "oxidized"