Commit 3b805283 authored by Jonathan Hartman's avatar Jonathan Hartman
Browse files

Delete legacy ChefSpec matchers

These are automatically generated as of ChefSpec 7.1.0.
parent 6d491036
......@@ -4,6 +4,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
This CHANGELOG (now) follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
## [Unreleased]
### Changed
- delete legacy ChefSpec matchers (@RoboticCheese)
## [1.3.0] - 2018-04-19
### Added
......
# frozen_string_literal: true
if defined?(ChefSpec)
#####################
# sumologic_collector
#####################
ChefSpec.define_matcher :sumologic_collector
def install_sumologic_collector(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:sumologic_collector, :install, resource_name)
end
def configure_sumologic_collector(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:sumologic_collector, :configure, resource_name)
end
def install_and_configure_sumologic_collector(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:sumologic_collector, :install_and_configure, resource_name)
end
def start_sumologic_collector(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:sumologic_collector, :start, resource_name)
end
def stop_sumologic_collector(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:sumologic_collector, :stop, resource_name)
end
def restart_sumologic_collector(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:sumologic_collector, :restart, resource_name)
end
def enable_sumologic_collector(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:sumologic_collector, :enable, resource_name)
end
def disable_sumologic_collector(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:sumologic_collector, :disable, resource_name)
end
def remove_sumologic_collector(resource_name)
ChefSpec::Matchers::ResourceMatcher.new(:sumologic_collector, :remove, resource_name)
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment