Katello/katello — pull request #405 by lzap (2012-07-31 09:46:01+00:00)
Title: puppet - better wait code for mongod

Resolving

err: /Stage[main]/Pulp::Config/Exec[migrate_pulp_db]/returns: change from notrun to 0 failed: pulp-migrate >/var/log/katello/katello-configure/pulp_migrate.log 2>&1 && touch /var/lib/pulp/init.flag returned 1 instead of one of [0] at /usr/share/katello/install/puppet/modules/pulp/manifests/config.pp:60

Migrate was executed while mongodb was still starting up. I was waiting for port, now we really try to connect using "mongo" command for 30 seconds.