* Christoph Thiel <cthiel@suse.com> [Jun 19. 2012 16:02]:
On Tue, Jun 19, 2012 at 03:58:17PM +0200, Klaus Kaempf wrote:
* Martin Vidner <mvidner@suse.cz> [Jun 19. 2012 15:55]:
But as soon as you use Chef which checks many packages individualy with a "zypper info" call, the latencies add up.
What kind of information does Chef need ?
Are there alternatives to a 'zypper' call ?
We are talking about https://github.com/opscode/chef/blob/master/chef/lib/chef/provider/package/z...
One way of improving this, would be to use libzypp ruby bindings instead of calling to zypper. Not sure if this would solve the service refresh issues.
Probably not since zypper is 'just' a cli frontend to libzypp. However, if we assume that all package operations are performed via zypper, operating directly on /var/cache/solve + libsatsolver (resp. libsolv) could be an alternative. Klaus -- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org