chef-cookbooks / ssh_known_hosts

Development repository for Chef Cookbook ssh_known_hosts
https://supermarket.chef.io/cookbooks/ssh_known_hosts
Apache License 2.0
72 stars 77 forks source link

[COOK-3453] Ensure entry resource is idempotent #14

Closed blt04 closed 10 years ago

blt04 commented 10 years ago

Here's another approach to https://github.com/opscode-cookbooks/ssh_known_hosts/pull/9.

This uses ruby directly instead of using a ruby_block. This simplifies the provider, adds whyrun support, and fixes the idempotent issue. Also, since it is no longer using Chef::Util::FileEdit, it doesn't require adding a comment to the known_hosts file.

COOK-3453

blt04 commented 10 years ago

Closing this in favor of #15.