Files
chef/cookbooks/ssh_known_hosts/libraries/matchers.rb
2015-07-21 19:45:23 +02:00

8 lines
169 B
Ruby

if defined?(ChefSpec)
def append_to_ssh_known_hosts(resource)
ChefSpec::Matchers::ResourceMatcher.new(:ssh_known_hosts_entry, :create, resource)
end
end