Puppet: System Administration Automated

Support

Ticket #581 (new defect)

Opened 2 years ago

Last modified 6 months ago

facter must be installed into rubys libdir or tests fail

Reported by: mccune Assigned to: luke
Priority: normal Milestone: unplanned
Component: testing Version: 0.22.3
Severity: normal Keywords: facter site_dir install LoadError
Cc: Triage Stage: Accepted
Attached Patches: None Complexity: Unknown

Description

Summary

When running rake test in puppet, I get approximately 20 more failures if facter is not installed into ruby's default library.

Expected Behavior

rake test should honor the RUBYLIB path.

Notes

I suspect one of the tests is modifying the environment and breaking subsequent tests.

Steps to reproduce

rm -rfv $PREFIX/lib/ruby/site_ruby/1.8/facter{.rb,}

Put a svn checkout of facter/trunk in RUBYLIB environment variable.

run rake in puppet/trunk/tests

Change History

04/19/07 21:22:50 changed by luke

  • stage changed from Unreviewed to Accepted.
  • version set to 0.22.3.
  • milestone set to unplanned.

04/24/08 06:53:02 changed by luke

  • component changed from tests to testing.