-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
(BUGFIX) Update to ensure correct facter comparisons #2387
Conversation
435d4cd
to
bacd9ee
Compare
bacd9ee
to
7dfac44
Compare
Ensuring that the correct values are compared against facter, there seem to be many cases where lowercase has been used in place of uppercase.
7dfac44
to
290e096
Compare
Out of interest: how did you find this? I'm personally in the camp of "there should be one way and one way only", which implies always using the same casing so big 👍 to this. I just wonder, did you ran into this because of some bug/tooling issue? |
@ekohl Sorry for the late reply, came up in regards to the fix for the templates in my other PR: https://github.com/puppetlabs/puppetlabs-apache/pull/2381/files |
Oh yes, ERB is Ruby so case sensitive comparisons. I dislike that Puppet does case insensitive comparisons. |
Ensuring that the correct values are compared against facter, there seem to be many cases where lowercase has been used in place of uppercase.