Project

General

Profile

« Previous | Next » 

Revision 5b32c455

Added by Dominic Cleal over 7 years ago

Remove YAML.load_file stubbing, preset $settings_file

Internally Puppet uses YAML.load_file to load the Hiera config (set to
/dev/null under rspec-puppet), but 4.9.0 uses Pathnames instead of
Strings causing the existing stub for "/dev/null" to fail.

Setting the value of $settings_file prior to evaluating the ENC/report
scripts is more reliable than stubbing the YAML constant.

  • added
  • modified
  • copied
  • renamed
  • deleted