Closed thomasrossetto closed 3 years ago
Hi @vutny !
I tried to replace with prereq
instead of require
and with salt-ssh i don't have any problems.
But, i don't able to test if this is the correct replace (according to your CR) for salt-call command.
No worries @thomasrossetto !
Just update the PR with your new changes and I think we'd make it through. Thank you for your efforts.
@thomasrossetto Would you be able to finish this PR and address the comments? Your changes are great, we just need to resolve the case where local config backup is explicitly disabled. This is long time legacy, and by removing it you will significantly improve the formula. Thanks for your work and contributions here!
Good work @thomasrossetto! I've been working on getting the Travis-based Kitchen tests established for this formula but the fedora-28
instance was failing.
https://travis-ci.org/myii/postgres-formula/jobs/524280903#L1427:
ID: postgresql-pg_hba
Function: file.managed
Name: /var/lib/pgsql/data/pg_hba.conf
Result: False
Comment: check_cmd execution failed
Applied these commits and it's now working.
https://travis-ci.org/myii/postgres-formula/jobs/524291445#L1439:
ID: postgresql-pg_hba
Function: file.managed
Name: /var/lib/pgsql/data/pg_hba.conf
Result: True
Comment: File /var/lib/pgsql/data/pg_hba.conf updated
While this might not be what your intention was when you submitted this PR, it's a nice bonus.
@vutny After setting up the CI PR (#262), the fedora-28
test is now passing, even without this merge.
https://travis-ci.com/saltstack-formulas/postgres-formula/jobs/195597494#L1552:
ID: postgresql-pg_hba
Function: file.managed
Name: /var/lib/pgsql/data/pg_hba.conf
Result: True
Comment: File /var/lib/pgsql/data/pg_hba.conf updated
So no need to merge this PR prematurely, it seems.
Great, thank you @myii !
Thanks, @thomasrossetto @myii @vutny
Now it works also with salt-ssh.