I hereby claim:
- I am mac-reid on github.
- I am mareid (https://keybase.io/mareid) on keybase.
- I have a public key whose fingerprint is E128 2F52 224F 629D B8B1 B632 52D1 7AB2 B483 7E13
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import rhn_kitchen_sink as sink | |
client, key = sink.authenticate('satellite', 'user') | |
rhn_hosts = client.systemgroup.listSystems(key, 'groupname') | |
info = [] | |
for host in rhn_hosts: | |
print host['name'] + ',', len(client.system.listLatestUpgradablePackages(key, int(host['id']))) |
#!/usr/bin/env python | |
''' | |
Provides several useful functions that do various simple, menial tasks in RHN. | |
Will hopefully have a command line interface for calling functions. | |
''' | |
from __future__ import print_function | |
import sys |