From bfa33fdaa5c0b18e2e376fa181a126e6e8d751a4 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 4 Oct 2022 00:12:14 +0100 Subject: [PATCH] oxidized: fix broken usage of ssh_known_hosts_entry flush --- cookbooks/oxidized/recipes/default.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cookbooks/oxidized/recipes/default.rb b/cookbooks/oxidized/recipes/default.rb index 4b2556989..014955f74 100644 --- a/cookbooks/oxidized/recipes/default.rb +++ b/cookbooks/oxidized/recipes/default.rb @@ -108,12 +108,16 @@ execute "/opt/oxidized/.ssh/id_rsa.pub" do end ssh_known_hosts_entry "github.com" do - action :flush file_location "/opt/oxidized/.ssh/known_hosts" owner "oxidized" group "oxidized" end +ssh_known_hosts_entry "github.com_flush" do + action :flush + file_location "/opt/oxidized/.ssh/known_hosts" +end + directory "/var/lib/oxidized" do owner "oxidized" group "oxidized" -- 2.39.5