Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#11156) Fix module path fixtures so rspec works in most rubies #17

Conversation

kbarber
Copy link
Contributor

@kbarber kbarber commented May 14, 2012

Previously this module was using an experimental pattern using mktmpdir for
creating its module path for rspec-puppet to use, which has since been
deprecated in favour of a static directory. This was largely because ntp was
one of the earlier modules we tried to make work in Jenkins.

This change aligns the module to use the same pattern used in the rspec-
puppet setup stage:

https://github.com/rodjek/rspec-puppet/blob/master/lib/rspec-puppet/setup.rb

This should stop the problems with Ruby 1.8.5 complaining about a lack of
mktmpdir, and also make it more consistent with other modules in the wild.

Previously this module was using an experimental pattern using mktmpdir for
creating its module path for rspec-puppet to use, which has since been
deprecated in favour of a static directory. This was largely because ntp was
one of the earlier modules we tried to make work in Jenkins.

This change aligns the module to use the same pattern used in the rspec-
puppet setup stage:

https://github.com/rodjek/rspec-puppet/blob/master/lib/rspec-puppet/setup.rb

This should stop the problems with Ruby 1.8.5 complaining about a lack of
mktmpdir, and also make it more consistent with other modules in the wild.
justinstoller added a commit that referenced this pull request May 14, 2012
…pet_tests

(#11156) Fix module path fixtures so rspec works in most rubies
@justinstoller justinstoller merged commit a78aa83 into puppetlabs:master May 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants