[katello-devel] New runcible 1.0.0 now in use

Justin Sherrill jsherril at redhat.com
Tue Aug 6 01:56:30 UTC 2013


Hi All,

I just merged PR https://github.com/Katello/katello/pull/2706

This utilizes runcible 1.0.0 which uses a new api.  Instead of doing 
something within the katello code like:

Runcible::Resources::Repository.find(id)  (which uses a global 
configuration)

The new method is:

Katello.pulp_server.resources.repository.find(id)

The Katello.pulp_server variable is fetched from the Thread.current 
hash.   This will allow katello to talk to multiple pulp servers 
(including pulp nodes), and is more thread safe.

For more information check out the examples here: 
https://github.com/Katello/runcible/blob/master/README.md

Let me know if you have any questions!

-Justin




More information about the katello-devel mailing list