Replace omnibus_updater with chef_client_updater

omnibus_updater is deprecated
This commit is contained in:
Greg Karékinian
2017-05-02 11:53:33 +02:00
parent 030b2501eb
commit 943b4ace1f
23 changed files with 285 additions and 677 deletions

View File

@@ -0,0 +1,7 @@
if defined?(ChefSpec)
ChefSpec.define_matcher(:chef_client_updater)
def update_chef_client_updater(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:chef_client_updater, :update, resource_name)
end
end