a4649 / spacewalk-api-python-client

Spacewalk / Satellite XMLRPC API client in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spacewalk (RedHat Satellite) API Python client

Spacewalk version 2.10 - https://spacewalkproject.github.io/documentation.html

How To

import spacewalk

key = spacewalk.login()

target = spacewalk.get_systems(key, "web")

spacewalk.run_cmd(key, 'Update apache in web servers', target, 'root', 'root', '!#/bin/bash\n yum update -y httpd;systemctl restart httpd') 

About

Spacewalk / Satellite XMLRPC API client in python


Languages

Language:Python 100.0%