-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Puppet 6 support #444
Puppet 6 support #444
Conversation
This commit makes als sure that the pretty and not pretty case is tested for the simple cases. Also switched from the deprecated "subject.call" to subject.execute for the tests.
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.
thanks for the awesome PR!
@@ -11,7 +11,7 @@ | |||
"requirements": [ | |||
{ | |||
"name": "puppet", | |||
"version_requirement": ">= 4.7.1 < 6.0.0" | |||
"version_requirement": ">= 4.7.1 < 7.0.0" |
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.
do the new functions actually work with puppet 4.7.1 or do they require puppet5/4.10?
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.
In the docs it states that the legacy API should only be used for puppet 3.x compatibility, so I assumed that puppet 4.x should be supported. The docs for 4.9 mention both APIs so at least 4.9 should be supported (these pages do not exist for 4.8 and 4.7 unfortunately).
Thanks. I will mark this as |
Puppet 6 support
This pull request makes the consul module run under puppet 6. It converts the functions from the legacy puppet 3.x API to the new puppet function API. It also adds unit tests to the travis jobs for puppet6 to ensure future compatibility.