Skip to content

Commit

Permalink
Modulesync (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
stbenjam authored Oct 24, 2016
1 parent 37749e8 commit 4db172a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
add_custom_fact :mongodb_version, '2.4.14' # puppetlabs-mongodb
add_custom_fact :root_home, '/root' # puppetlabs-stdlib
add_custom_fact :puppetversion, Puppet.version # Facter, but excluded from rspec-puppet-facts
add_custom_fact :puppet_environmentpath, Gem::Version.new(Puppet.version) >= Gem::Version.new('4.0') ? '/etc/puppetlabs/code/environments' : '/etc/puppet/environments' # puppetlabs-stdlib
add_custom_fact :puppet_environmentpath, Gem::Version.new(Puppet.version) >= Gem::Version.new('4.0') ? '/etc/puppetlabs/code/environments' : '' # puppetlabs-stdlib

# Workaround for no method in rspec-puppet to pass undef through :params
class Undef
Expand Down

0 comments on commit 4db172a

Please # to comment.