Do not vendor cookbooks using Berkshelf anymore

Instead, use the Berkshelf support in knife-solo and the
vagrant-berkshelf plugin on Vagrant
This commit is contained in:
Greg Karékinian
2019-04-11 18:16:28 +02:00
parent 87d7c721b1
commit ba6e4220a1
1436 changed files with 12 additions and 110987 deletions

View File

@@ -1,21 +0,0 @@
if defined?(ChefSpec)
def append_hostsfile_entry(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:hostsfile_entry, :append, resource_name)
end
def create_hostsfile_entry(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:hostsfile_entry, :create, resource_name)
end
def create_hostsfile_entry_if_missing(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:hostsfile_entry, :create_if_missing, resource_name)
end
def remove_hostsfile_entry(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:hostsfile_entry, :remove, resource_name)
end
def update_hostsfile_entry(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:hostsfile_entry, :update, resource_name)
end
end