diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..d1255a7 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +0.1.0 Release +- Added concat_basedir fake fact +- Added path fake fact diff --git a/lib/puppet_spec_facts.rb b/lib/puppet_spec_facts.rb index 86ec80c..5a73702 100644 --- a/lib/puppet_spec_facts.rb +++ b/lib/puppet_spec_facts.rb @@ -29,8 +29,10 @@ def self.puppet_platforms # inject some additional facts to simplify lookups from rspec def self.overload_facts(fact_hash) - fact_hash['fact_style'] = fact_style(fact_hash) - fact_hash['is_pe'] = 'true' if is_pe(fact_hash) + fact_hash['fact_style'] = fact_style(fact_hash) + fact_hash['is_pe'] = 'true' if is_pe(fact_hash) + fact_hash['concat_basedir'] = '/fake_concat_basedir' + fact_hash['path'] = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' return fact_hash end diff --git a/lib/puppet_spec_facts/version.rb b/lib/puppet_spec_facts/version.rb index fb8254e..a593e77 100644 --- a/lib/puppet_spec_facts/version.rb +++ b/lib/puppet_spec_facts/version.rb @@ -1,3 +1,3 @@ module PuppetSpecFacts - VERSION = "0.0.1" + VERSION = "0.1.0" end