Ñò 1ÚEWc@sªdZddkZddkZddkZddkZdZdZdZd„Zd„Z d„Z d „Z d „Z d „Z ed joeie ƒpd ƒndS(s  Client configuration mapping script that writes to an RHN Update Agent-type config file(s) I.e., maps a file with RHN Update Agent-like key=value pairs e.g., serverURL=https://test-satellite.example.redhat.com/XMLRPC noSSLServerURL=http://test-satellite.example.redhat.com/XMLRPC enableProxy=0 sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT (NOTE - older Red Hat Satellite's and Proxy's used: sslCACert=/usr/share/rhn/RHNS-CORP-CA-CERT) And maps that to the client's configuration files. ------------- To map new settings to a file that uses the format key=value, where key[comment]=value is a comment line you do this (e.g., mapping key=value pairs to /etc/sysconfig/rhn/up2date): 1. edit a file (e.g., 'client-config-overrides.txt'), inputing new key=value pairs to replace in config file (e.g., /etc/sysconfig/rhn/up2date). Specifically: serverURL=https://test-satellite.example.redhat.com/XMLRPC noSSLServerURL=http://test-satellite.example.redhat.com/XMLRPC 2. ./client_config_update.py /etc/sysconfig/rhn/up2date client-config-overrides.txt That's all there is to it. If you are running an older RHN Update Agent, the rhn_register file can be mapped as well: ./client_config_update.py /etc/sysconfig/rhn/rhn_register client-config-overrides.txt iÿÿÿÿNsclient-config-overrides.txts/etc/sysconfig/rhn/rhn_registers/etc/sysconfig/rhn/up2datecCsÏti|dƒ}t|ƒdjodSt|ƒdjo$|dti|ddƒg}nti|ddƒdjodSti|dƒ|d<|dddjo|dd |d=s        ! 2