Description of problem: rhn-satellite-exporter needs a --print-configuration option that will let the user see the current configuration settings that rhn-satellite-exporter will use.
Test Plan: 1. Run rhn-satellite-exporter with the --print-configuration option and make sure that it prints out the configuration options contained in /etc/rhn/rhn.conf. rhn-satellite-exporter --print-configuration
The tool is broken. Please see the two tracebacks below: [root@rlx-3-14 ~]# rhn-satellite-exporter --channel=rhel-i386-as-4 --dir=myexports Traceback (most recent call last): File "/usr/bin/rhn-satellite-exporter", line 5, in ? from satellite_tools.intersat_sync import iss File "/usr/share/rhn/satellite_tools/intersat_sync/iss.py", line 8, in ? import dumper File "/usr/share/rhn/satellite_tools/intersat_sync/dumper.py", line 20, in ? from string_buffer import StringBuffer ImportError: No module named string_buffer [root@rlx-3-14 ~]# rhn-satellite-exporter --help Traceback (most recent call last): File "/usr/bin/rhn-satellite-exporter", line 5, in ? from satellite_tools.intersat_sync import iss File "/usr/share/rhn/satellite_tools/intersat_sync/iss.py", line 8, in ? import dumper File "/usr/share/rhn/satellite_tools/intersat_sync/dumper.py", line 20, in ? from string_buffer import StringBuffer ImportError: No module named string_buffer ISO: rhn-satellite-4.0.5-2-redhat-linux-as-i386-4-embedded-oracle.iso
The reason it failed was because I missed a file in the Makefile and spec file. string_buffer.py has been added and the rhns packages rebuilt. The changes are in the 4.0.5-28 or later rhns-satellite-tools package.
Looks good on QA
Released.