Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so dont bother with any of their useless mail servers here and just use oauth login instead. Thank the nice Russians for causing that. :)

Paste

Pasted as Plain Text by registered user geekatcmu ( 16 years ago )
exec{"ssh known hosts stuff is stupidly fragile":
    unless => "/usr/bin/awk 'BEGIN{p=0}NF<3{p++}END{exit p}' /etc/ssh/ssh_known_hosts",
    command => "/bin/rm -f /etc/ssh/ssh_known_hosts",
  }

  # Every host wants to collect all of the available ssh keys!
  Sshkey <<| |>>{require => Exec["ssh known hosts stuff is stupidly fragile"]}

 

Revise this Paste

Parent: 21900
Your Name: Code Language: