Hello every one I have created a Perl script to update and list the default channel map in spacewalk via the XMLRPC API and my current employer who shall remain nameless has authorized me to share it under the terms of the GPL. This is a partial workaround to https://bugzilla.redhat.com/show_bug.cgi?id=786705 "reactivation key do not preserve my custom base channel" Since this script uses the XMLRPC API unlike the method mentioned in the ticket this script should work for PostgreSQL and Oracle however I've only tested it against PostgreSQL. There is also a man page embedded in the script in POD format so the pod2(man|text|html|etc...) tools can be used to extract it.
it depends on the following Perl modules strict Frontier::Client Getopt::Long Pod::Usage Term::ReadKey Note: This script does NOT do the more controversial part of the workaround namely dropping the constraint on the description field in the rhnserverhistory table which may or may not be a PostgreSQL specific bug. I hope people find it useful enough to add into the git repository Thank You Paul Robert Marino
spacewalk-dist-channel-map.pl
Description: Binary data
_______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel