HEX
Server: Apache
System: Linux a16-asgard6.hospedagemuolhost.com.br 5.14.0-570.52.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025 x86_64
User: maoristu4c3dbd03 (1436)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //opt/puppetlabs/puppet/vendor_modules/sshkeys_core/spec/spec_helper_local.rb
dir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift File.join(dir, 'lib')

# Container for various Puppet-specific RSpec helpers.
module PuppetSpec
end

require 'puppet_spec/files'

RSpec.configure do |config|
  config.before :each do |_test|
    base = PuppetSpec::Files.tmpdir('tmp_settings')
    Puppet[:vardir] = File.join(base, 'var')

    FileUtils.mkdir_p Puppet[:statedir]
  end
end