-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
Fix compilation failures on RHEL when manage_package => true
#431
Conversation
…heck 'manage_package => true' compilation.
spec/classes/server_spec.rb
Outdated
| create_admin: true, | ||
| admin_username: 'admin', | ||
| admin_password: 'password' | ||
| on_supported_os.each do |os, facts| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yey rspec puppet facts \o/
spec/classes/server_spec.rb
Outdated
| @@ -1,177 +1,199 @@ | |||
| require 'spec_helper' | |||
|
|
|||
| describe 'mongodb::server' do | |||
| let :facts do | |||
| # Default facts | |||
| let(:default_facts) do | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this block shouldnt be needed. We already mock this fact here: https://github.com/voxpupuli/puppet-mongodb/blob/master/spec/default_module_facts.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, that's a useful method to know, as we have a number of occurrences of this on internal module tests...
|
And we're green! @bastelfreak Did you want me to squash the commits down? |
manage_package => truemanage_package => true
|
Thanks for the PR! |
Fixes #430
TODO: