class RegressionCheck
executes smoke and regression tests on catalogs
Public Class Methods
config(octoconfig)
click to toggle source
config file loading
# File lib/puppet-check/regression_check.rb, line 25 def self.config(octoconfig) private_class_method :method OctocatalogDiff::API::V1.config(filename: octoconfig) end
smoke(interface_nodes, octoconfig)
click to toggle source
smoke testing
# File lib/puppet-check/regression_check.rb, line 9 def self.smoke(interface_nodes, octoconfig) options = config(octoconfig) nodes = options.key?(:node) ? [options[:node]] : interface_nodes nodes.each do |node| options[:node] = node OctocatalogDiff::API::V1.catalog(options) end end