Katello/katello — pull request #977 by lzap (2012-11-01 14:35:52+00:00)
Title: puppet race condition in foreman

We are not waiting until foreman is really up, there is a race condition in the installer:

rake aborted!
404 Resource Not Found
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:48:in `return!'
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:220:in `process_result'
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:169:in `transmit'
/usr/lib/ruby/1.8/net/http.rb:543:in `start'
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/request.rb:166:in `transmit'
...
/usr/share/katello/lib/resources/abstract_model.rb:225:in `all'
/usr/share/katello/db/seeds.rb:44

And I also *hope* it will help with that strange foreman-admin-user not found. Let's see. I will initiate nightly build once this is merged.