Skip to content

Commit

Permalink
Add concat_basedir and path fake facts
Browse files Browse the repository at this point in the history
Bump version to indicate new features

Update changelog
  • Loading branch information
Daniel Dreier committed Dec 14, 2014
1 parent 50f54ac commit 8056a12
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0.1.0 Release
- Added concat_basedir fake fact
- Added path fake fact
6 changes: 4 additions & 2 deletions lib/puppet_spec_facts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/puppet_spec_facts/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module PuppetSpecFacts
VERSION = "0.0.1"
VERSION = "0.1.0"
end

0 comments on commit 8056a12

Please sign in to comment.