-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
Prevent provider blowing up on ruby 1.8 agents #282
Conversation
Hi. Fails here, with Puppet 3.8.7-1 in RHEL 6 with Ruby 1.8.7. Error log attached. |
To be clear, this is not about restoring ruby 1.8 support. This module is now puppet 4 only and will not be able to be used on ruby 1.8 systems. However, some puppet environments contain a mix of puppet 4 (supported) and older puppet 3 EL6 agents. We don't want unrelated puppet runs to fail on those old systems just because this module is in the same environment.
@anordby Sorry, that was very naive of me to think that confining the provider to ruby > 1.8 would mean I wouldn't have to change the hash syntax in all of the methods. Let me try again... |
88ef7c4
to
8f03480
Compare
@bastelfreak ? If we do this do we need this on all modules? |
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.
I do not think this is useful as per our ruby support policies
@roidelapluie This particular module might be a bit special as it adds a provider to the core We've made similar concessions in the past. eg voxpupuli/puppet-iis#111 |
OK let's do this |
Did not remember that this was «DO NOT MERGE» |
@roidelapluie It was only still 'DO NO MERGE' in the sense I knew it might be contentious. Everything should otherwise be fine. I'll rename the PR for the sake of the next changelog. |
Ok. |
To be clear, this is not about restoring ruby 1.8 support. This module
is now puppet 4 only and will not be able to be used on ruby 1.8
systems.
However, some puppet environments contain a mix of puppet 4 (supported)
and older puppet 3 EL6 agents. We don't want unrelated puppet runs to
fail on those old systems just because this module is in the same
environment.
CURRENTLY UNTESTED. DO NOT MERGE