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
Refs #28903 - Swap the postgresql{,-server} removal #483
Conversation
I should not I haven't tested this before, just wanted to share this before I headed out. |
Doesn't work :/ Puppet keeps ordering them itself so they need to be split up. |
Pushed an updated version that I'm now testing. |
failure_message = "Failed to ensure rh-postgresql12-syspaths is the system PostgreSQL" | ||
|
||
logger.info("Ensuring rh-postgresql12-syspaths is the system PostgreSQL") | ||
apply_puppet_code(puppet_code, failure_message) |
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 get the concept and power of this code, the interface as a developer is just now much uglier :/ This is also a larger re-factoring of the change compared to:
ensure_packages(['postgresql-server'], 'absent')
ensure_packages(['postgresql'], 'absent')
I'll be curious to see how testing goes, but my vote is still the above.
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 the same. Given it needs to be cherry picked, I'm tempted to agree with you.
postgresql can't be removed until postgresql-server is removed. 72d7c3f caused the order to be swapped. This ensures a correct order.
Ready to review now. |
2.0 - f08b784 |
postgresql can't be removed until postgresql-server is removed. 72d7c3f swapped the order. This swaps the order around.