diff --git a/spec/spec_helper_local.rb b/spec/spec_helper_local.rb index 69dd1494..8aa4a355 100644 --- a/spec/spec_helper_local.rb +++ b/spec/spec_helper_local.rb @@ -21,6 +21,7 @@ def puppetdb_query(_return_vaue) # $LOAD_PATH.push(File.join(fixture_path, 'modules', 'puppetdbquery','lib')) RSpec.configure do |config| + config.trusted_server_facts = true config.before(:each) do # @before_each = Puppet::Parser::Functions.newfunction(:puppetdb_query, :type => :rvalue) { |args| [ [{ 'title': 'fqdn' }] ] } @before_each = puppetdb_query('query string')