Mercurial > repos > other > Puppet
view modules/ssh/spec/spec_helper.rb @ 438:bb8f85c35113
Manualy patch SSH module
https://github.com/ghoneycutt/puppet-module-ssh/pull/377
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 14 Aug 2022 11:44:25 +0100 |
parents | d9009f54eb23 |
children |
line wrap: on
line source
require 'puppetlabs_spec_helper/module_spec_helper' RSpec.configure do |config| config.hiera_config = 'spec/fixtures/hiera/hiera.yaml' config.before :each do # Ensure that we don't accidentally cache facts and environment between # test cases. This requires each example group to explicitly load the # facts being exercised with something like # Facter.collection.loader.load(:ipaddress) Facter.clear Facter.clear_messages end config.default_facts = { :environment => 'rp_env', } end