-
Notifications
You must be signed in to change notification settings - Fork 229
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
Disable FIPS support within JVM for Puppet #828
Conversation
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 think we discussed this should be limited to EL8. I'd still prefer a class parameter:
Boolean $disable_fips = $facts['os']['family'] == 'RedHat' && $facts['os']['release']['major'] == '8',
That way it can at least be modified via Hiera.
I also expect that the tests will fail on this.
Does the JVM on EL7 even know about that parameter, or would it ignore it? No need to make it conditional then ;) |
I think I'd still limit it to the RH OS family. No need to set it on others, which just causes changes that result in a server restart there. |
9a35889
to
88cfd33
Compare
Tests passing now, let me know what you think of the revamped design. |
88cfd33
to
12ad389
Compare
@ekohl could you have another look? |
Why didn't CI run on this (anymore)? |
Ubuntu failure looks unrelated. |
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.
Ubuntu failure looks unrelated.
Yes, I haven't looked too deeply into why it doesn't work. I think that particular one has never worked.
Oh, and to add to that: in a VM it does work. So it's somehow the interaction between docker and systemd. Note that on Focal we only test puppetserver on 7 so that it passes on 6 is just because the agent works on 6. Perhaps it's the same thing that we see PostgreSQL fail on puppet-foreman with Focal. |
Puppet does not currently support FIPS on EL8 and needs to be disabled in order to run on a FIPS enabled EL8+ machine within the Java stack. This solution includes the disable flag out right as it does not break on environments where the flag is not present.
A couple questions to consider:
a) should this be a configurable parameter?
b) should this only be included conditionally? (complicates the code a little bit)