Skip to content

Commit

Permalink
More facts
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Mar 17, 2018
1 parent e72f2a9 commit 4a81d4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
add_custom_fact :root_home, '/root' # puppetlabs-stdlib
add_custom_fact :ipaddress, '192.0.2.100' # facter
add_custom_fact :ipaddress_lo, '127.0.0.1' # facter
add_custom_fact :network_lo, '127.0.0.0' # facter
add_custom_fact :netmask_lo, '255.0.0.0' # facter

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

0 comments on commit 4a81d4b

Please sign in to comment.