Apr 08

2010

Iterating through Satellite/Spacewalk channels

Been having to work with spacewalk lately.

I wanted to sync the RPM packages up to an S3 bucket, so I wrote a script in python to iterate through the channels and push them.

This is just a snippet to get a list of channels and print out the rpm path.

The RPC API is at http://www.redhat.com/docs/en-US/Red_Hat_Network_Satellite/5.3/API_Overview/html/index.html.

Its fairly easy to use.