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

"Unknown variable 'mongodb::params::journal'" error when 'manage_package => true' #430

Closed
fatmcgav opened this issue Dec 21, 2017 · 0 comments · Fixed by #431
Closed

"Unknown variable 'mongodb::params::journal'" error when 'manage_package => true' #430

fatmcgav opened this issue Dec 21, 2017 · 0 comments · Fixed by #431

Comments

@fatmcgav
Copy link
Contributor

When updating our Profiles module to support Puppet 4.x, we started seeing test failures on the mongodb class:

error during compilation: Evaluation Error: Unknown variable: 'mongodb::params::journal'.

With the assistance of Johnson Earls on Slack spotted that params.pp doesn't set $fork or $journal when $manage_package => true on RHEL OS'.
https://github.com/voxpupuli/puppet-mongodb/blob/master/manifests/params.pp#L120-L121

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: ~> 4.0
  • Ruby: 2.1.9
  • Distribution: CentOS 7
  • Module version: 1.1.0
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 a pull request may close this issue.

1 participant