Skip to content
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

Remove unused validate_postgresql_connection.sh script #1632

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ekohl
Copy link
Collaborator

@ekohl ekohl commented Mar 13, 2025

Summary

This script has been unused since postgresql::validate_db_connection was dropped in 9b47b34. It now ensures the file is absent.

Additional Context

I was looking at pg_isready to simplify/replace the script, only to realize it was unused.

I debated also removing the parameters and hardcoding the built in location to ensure absent. Still not sure where to go with it.

Related Issues (if any)

#1484

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

bastelfreak
bastelfreak previously approved these changes Mar 14, 2025
This script has been unused since postgresql::validate_db_connection was
dropped. It now ensures the file is absent.

Fixes: 9b47b34 ("Delete deprecated validate_db_connection() defined resource")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants