-
Notifications
You must be signed in to change notification settings - Fork 290
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
Support Puppet 6 #988
Support Puppet 6 #988
Conversation
.travis.yml
Outdated
| env: BEAKER_set="centos-6" BEAKER_PUPPET_COLLECTION=puppet5 | ||
| bundler_args: | ||
| script: bundle exec rake beaker | ||
| - rvm: 2.4.4 |
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.
puppet6 should use 2.5.1
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.
That version of RVM only affects beaker outside the container environment so no bearing on Puppet Ruby version since Ruby is installed into container using packages. Still want it to be 2.5.1? I kept consistent with other beaker tests since only interacts with beaker.
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.
Yeah, because we want the testing environment to match the version we actually use. This is useful so any other ruby tooling used around your Puppet setup can be on the same version.
|
Updated to use ruby 2.5.1 for all Puppet 6 related tests. |
|
released in v2.55.0 |
Pull Request Checklist
Description
Add support for Puppet 6.
Use
filterfunction forcheck_notifybecause unit tests would fail as it seemsdelete_undef_valueswas returning[nil,nil,nil,nil]and not actually filteringUndef.Related Issue
Fixes #983
Motivation and Context
Add support for Puppet 6. Updated logic in acceptance tests setup to be simpler and more like sensu2 so that easy to use different Puppet collection in tests based on environment variables.