From 0a190ccf3d6c2e357c28a3a145808d3ad0c739df Mon Sep 17 00:00:00 2001 From: lionce Date: Tue, 16 Jul 2019 10:03:21 +0300 Subject: [PATCH] pdksync_heads/master-0-gb096033 --- metadata.json | 4 ++-- spec/spec_helper.rb | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/metadata.json b/metadata.json index e46abab..d507470 100644 --- a/metadata.json +++ b/metadata.json @@ -41,6 +41,6 @@ } ], "template-url": "https://github.com/puppetlabs/pdk-templates/#master", - "template-ref": "heads/master-0-g2b33205", - "pdk-version": "1.10.0" + "template-ref": "heads/master-0-gb096033", + "pdk-version": "1.11.1" } diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9ee4373..c09e002 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -29,6 +29,11 @@ default_fact_files.each do |f| end end +# read default_facts and merge them over what is provided by facterdb +default_facts.each do |fact, value| + add_custom_fact fact, value +end + RSpec.configure do |c| c.default_facts = default_facts c.before :each do -- 2.45.2