[prev in list] [next in list] [prev in thread] [next in thread]
List: spacewalk-list
Subject: Re: [Spacewalk-list] spacewalk api equivalent to "Compare all managed files to system"
From: Jan =?UTF-8?B?SHV0YcWZ?= <jhutar () redhat ! com>
Date: 2012-10-24 11:33:36
Message-ID: 20121024133336.7ead928b.jhutar () redhat ! com
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Fri, 5 Oct 2012 19:05:29 -0500 john miller
<johnmille1@gmail.com> 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
jhutar@redhat.com Red Hat, Inc.
[Attachment #5 (application/pgp-signature)]
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic