-
-
Notifications
You must be signed in to change notification settings - Fork 164
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 3.8.7 causes issues with allowed_clock_drift values #99
Comments
With my pull Request #109 the problem of the numerals as strings will be fixed. we had similar issues with the rack_attack_basic_auth settings. |
Worth noting is that the problem no longer exists on Puppet 4.x and upwards, correct value types are passed into the template from that point on. |
Not easily, the entire deployment is running Puppet 4.6+ by now, with auto-upgrading in place as well. |
Marking as won't fix as none of Voxpupuli modules support Puppet3 on the master branch which is used for releases. One is able to create a Pull Request against the puppet3 branch if you really, really, really want to. |
We should remove puppet 3.8 from test then. I had problems with builds
failing due to 328 with future parser for a PR I'm sending this morning
adding ha roles.
…On Jan 29, 2018 5:46 AM, "Ben S" ***@***.***> wrote:
Closed #99 <#99>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#99 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADIVgXigQkyU1yT2u33QiZjL5aKVujMbks5tPa-rgaJpZM4KfN_t>
.
|
The way that YAML generation is done in the
gitlab.rb
template runs into a big flaw when it comes to Omniauth - SAML data in particular;A manifest like;
Will generate ruby code alike the following:
Causing OmniAuth SAML to fail its authentication attempt when trying to use the
allowed_clock_drift
string value as a numeral.Reading into the compiled catalog reveals that Puppet is actually sending the value as a string literal. In fact, all numerals are strings in the catalog.
One possible way to prevent this could be to hard-code certain keys as guaranteed plain numerals in the template, might also not be a problem with newer Puppet versions.
The text was updated successfully, but these errors were encountered: