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
Fixes #28934: Install rh-postgresql12 in devel scenario #463
Conversation
hooks/pre/30-install_redis_scl.rb
Outdated
@@ -1,4 +1,4 @@ | |||
# Working around https://tickets.puppetlabs.com/browse/PUP-2169 | |||
if el7? && local_redis? | |||
if (el7? && local_redis?) || devel_scenario? |
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.
if (el7? && local_redis?) || devel_scenario? | |
if el7? && (local_redis? || devel_scenario?) |
The other solution is to modify local_redis?
to look at devel_scenario?
which might actually be cleaner.
Same comment for the other file.
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 considered that. That seemed to just put more logic into local than I wanted. I didn't feel there was really any clean scenario here at present.
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.
IMHO the SCL part is el7 specific so at least the suggestion I made still makes sense to me.
@ehelms I tried spinning up a box without running the installer and patching it manually, but still hit some errors. Am I using the right arguments here?
|
The error seems unrelated |
The scl command is Does it also need to use rh-postgresql12? |
We shouldn't have to care about what SCL postgresql is running in. |
@jturel you were right in the end, the SCL is needed for devel bundle calls due to building the pg gem natively. Therefore I have opened the following to be needed as well: |
Nice. That explains why I had to remove .vendor (existing vm) and build with the SCL (sorry for not mentioning that) |
Works for me with the associated PRs - was able to spin up a fresh box
|
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.
ACK
Updated, please re-review |
No description provided.