-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
General code modernisation - assorted bugfixes. #46
Conversation
Defaults for all parameters moved from params.pp to init.pp All hiera variables are now finally completly removed after a long deprecation window. * fetchcrl_pkg_version removed , use fetchcrl::pkg_version * fetchcrl_proxy removed, use fetchcrl::proxy * fetchcrl_capkgs removed, use fetchcrl::capkgs * fetchcrl_carepo removed, use fetchcrl::carepo * fetchcrl_capkgs_version removed, use fetchcrl::capkgs_version
In adition to the template conversion there were some parts of the template that could never be reached and should not have been there.
These keywords are added to the config file or not. Consequently undef is a bad default. It never takes a difference action to false.
A new noerrors parameter can now be set to true to supress errors from fetch-crl. Fixes voxpupuli#43 Fixes voxpupuli#44
Completly new spec test for `fetchcrl::ca` Discovered a bug with ageing vs aging one parameter name.
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 like the full removal of params.pp
Use ```puppet Variant[Undef,X] $x = undef ``` instead of ```puppet Optional[X] $x = undef ```
Updated title to include WIP. (Mainly to test the WIP plugin and branch protection configuration if I'm being honest!). |
Should I remove the WIP once ready again? |
@traylenator Sorry for using you and your PR as a guinea pig! |
@ekohl @alexjfisher thanks for the comments. |
Pull Request (PR) description
A number of commits addressing:
noerrrors
to suppress fetch-crl error messages at runtime.This Pull Request (PR) fixes the following issues
Fixes #43 Add noerrors parameter.
Fixes #44 Add noerrors parameter.
FIxes #45 Use lookup function not hiera.