Initial Chef repository
This commit is contained in:
7
cookbooks/ssh_known_hosts/libraries/matchers.rb
Normal file
7
cookbooks/ssh_known_hosts/libraries/matchers.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
if defined?(ChefSpec)
|
||||
|
||||
def append_to_ssh_known_hosts(resource)
|
||||
ChefSpec::Matchers::ResourceMatcher.new(:ssh_known_hosts_entry, :create, resource)
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user