]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/oxidized/recipes/default.rb
oxidized: fix cookstyle and immediately flush ssh_known_hosts_entry
[chef.git] / cookbooks / oxidized / recipes / default.rb
index 6d5486d498980bd90da1fcd1c2fa987101882870..4b255698920a165efc5941a1a9e19a35c1628fc9 100644 (file)
@@ -107,7 +107,8 @@ execute "/opt/oxidized/.ssh/id_rsa.pub" do
   notifies :restart, "service[oxidized]"
 end
 
-ssh_known_hosts_entry 'github.com' do
+ssh_known_hosts_entry "github.com" do
+  action :flush
   file_location "/opt/oxidized/.ssh/known_hosts"
   owner "oxidized"
   group "oxidized"