On Fri, 5 Oct 2012 19:05:29 -0500 john miller <[email protected]> wrote:
> is there a spacewalk api equivalent to "Compare all managed > files to system" link in the webgui? On a single system I > would like to compare all files on a particular system. I was > hoping for something like system.config.scheduleFileComparisons > (key, id). > > so far the closest I can come up with is > > for file in configChannel.listFiles(key, channelLabel) > configChannel.scheduleFileComparisons(key, channelLabel, > file['path'],[systemId]) > > > But this will schedule a separate event for each file? correct? Have not tried, but would say so. What you might want is to run `rhncfg-client diff` on a given channel, but scheduling an remote action for that, is probably too ugly. Jan -- Jan Hutar Systems Management QA [email protected] Red Hat, Inc.
pgpDgEfaX4ZJY.pgp
Description: PGP signature
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
