projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03b4e10
)
oxidized: fix broken usage of ssh_known_hosts_entry flush
author
Grant Slater
<github@firefishy.com>
Mon, 3 Oct 2022 23:12:14 +0000
(
00:12
+0100)
committer
Grant Slater
<github@firefishy.com>
Mon, 3 Oct 2022 23:12:14 +0000
(
00:12
+0100)
cookbooks/oxidized/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/oxidized/recipes/default.rb
b/cookbooks/oxidized/recipes/default.rb
index 4b255698920a165efc5941a1a9e19a35c1628fc9..014955f743c331fe55adad8735ec35721d04785c 100644
(file)
--- 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"