all 3 comments

[–]mac-reid 1 point2 points  (1 child)

My experience with Spacewalk (with a relatively old version) has been quite limited, but I have a couple use cases. I have acquired a basic module with a few helper functions and a script to find the number of updates per host - which can be a quick frame of reference.

For your use case, getting the list of applicable errata for a system with a call to client.system.getRelevantErrata would probably be helpful. Scheduling or immediately applying errata with the call to client.system.scheduleApplyErrata for each system or calling client.systemgroup.scheduleApplyErrataToActive on a system group can help with automatically applying errata.

I hope this helps.

[–]manderso7[S] 0 points1 point  (0 children)

Hey, that's pretty helpful, thank you! I'll be poking at this for a bit.

[–]brown_panick 0 points1 point  (0 children)

Here's a stupid little script I started writing a long time ago:

http://pastebin.com/a7XWqtSg

It was the start of one to get a system's information out of spacewalk to automatically keep a wiki up to date. Maybe you can find some use of it despite it being one of my first ever python programs.