Hide Forgot
Implementing workaround (waiting until psql comes up).
08a13f4 802346 - wait until PostgreSQL accepts connections Pushing upstream fix.
QA note: To validate see this: https://bugzilla.redhat.com/show_bug.cgi?id=783193
Lukas - had to revert your fix, causes katello-configure to error out right away with: 'for i in {1..6}; do /usr/bin/psql -U postgres -h localhost -c 'select count(*) from pg_tables' >/dev/null 2>&1 || sleep 5; done' is not qualified and no path was specified. Please qualify the command or specify a path.
Fixing component, taking again. Thanks Jeff.
Finally delivering a fix caef237 802346 - wait for postgres to come up in puppet plus adding syntax check during our katello-configure rpm build: f58725d 802346 - adding puppet syntax check to the spec so we prevent syntax errors in future. Added two build requires (puppet and findutils).
Damn I had to revert it once again! Puppet issues. err: Could not apply complete catalog: Found dependency cycles in the following relationships ... tons of errors. I generated a graph but I dont see any cycles there. http://lzap.fedorapeople.org/projects/katello/graphs/puppet_of_0.2_13.png
2afb6b8 802346 - wait for postgres to come up in puppet Had to fine tune ordering and dependencies. Now it is working again.
Marking QA Verified - see bug #806028 for test methodology. If you do not agree with the test methods or are dissatisfied with the results/effort, please reopen.