Sha256: 9e80e189b3aeed9d24a28b11cd04717d7e044a9e11127cfad720cc0a22fea049
Contents?: true
Size: 412 Bytes
Versions: 17
Compression:
Stored size: 412 Bytes
Contents
require 'chef/config' module Berkshelf module RSpec module Knife class << self def load_knife_config(path) if File.exist?(path) Chef::Config.from_file(path) ENV["CHEF_CONFIG"] = path else raise "Cannot continue; '#{path}' must exist and have testing credentials." unless ENV['CI'] end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems