From e53be561ae8908596ae0e055f3e98fceda649630 Mon Sep 17 00:00:00 2001 From: Peter Mudd Date: Tue, 10 Mar 2020 12:20:40 -0400 Subject: [PATCH] fix: inspec pillar from minion fallback to pillar.example --- test/integration/default/libraries/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/default/libraries/helpers.rb b/test/integration/default/libraries/helpers.rb index 26b2ae0..a9786da 100755 --- a/test/integration/default/libraries/helpers.rb +++ b/test/integration/default/libraries/helpers.rb @@ -96,7 +96,7 @@ def get_pillar_from_inspec_pillar_file Inspec::Log.debug('[get_pillar_from_inspec_pillar_file] returning cached value') return @cache_pillar_from_inspec_pillar_file end - pillar_file = ENV['INSPEC_TEST_SALT_PILLAR'] || 'test/salt/pillar/windows.sls' + pillar_file = ENV['INSPEC_TEST_SALT_PILLAR'] || 'pillar.example' begin @cache_pillar_from_inspec_pillar_file = YAML.safe_load(File.read(pillar_file)) if File.exist?(pillar_file) rescue StandardError => e