-
Notifications
You must be signed in to change notification settings - Fork 303
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
Param validation #83
Param validation #83
Conversation
In addition, the warn param has been split into a warn (a bool) and warn_message (a string).
Introduction of stdlib functions makes support of puppet < 2.7 impractical.
To be more consistent with other PL modules
|
Travis failed, and without even looking further I know it means there's a trailing , - the most annoying ruby 1.8 thing in the world :( Any chance you can slice it off so travis is happy? |
|
Looks like 1.8.7 is unhappy about default values in block params... fixing it. |
|
I manually tested with ruby 1.8.7 / puppet 2.7.1 (seems 2.7.0 isn't available as a gem). In addition to the default values on block params there was a trailing comma on a define declaration. :) |
|
Boom! |
This changeset adds validation of all
concatandconcat::fragmentparameters. In addition, the deadgnuparam is removed fromconcatand thewarnparam toconcat::fragmenthas been split intowarnandwarn_message.concat::setupis now considered a private class and directly including it into the manifest will cause afail().It also adds fairly comprehensive rspec-puppet tests for the entire module. There are several pieces of logic that are suspect but the tests were written to model the present behaviour, even if that isn't ideal. Test coverage for the facts is notably absent as is a cleanup of the documentation.