102
Appendix A. Command Line Config Management Tools
A.2.8. Listing All Config Channels
To list all of your organization’s configuration channels, issue the command:
rhncfg-manager list-channels
You should see output resembling:
Available config channels:
blah
blah2
blah3
config-channel-14
config-channel-17
Note that this does not list local_override or server_import channels.
A.2.9. Removing a File from a Channel
To remove a file from a channel, issue the command:
rhncfg-manager remove
--channel=
channel-label
/tmp/dest_path/foo.txt
If prompted for your RHN username and password, provide them. You should see output resembling:
Red Hat Network username: rhn-user
Password:
Removing from config channel blah3
/tmp/dest_path/foo.txt removed
A.2.10. Deleting a Config Channel
To detroy a config channel in your organization, issue the command:
rhncfg-manager remove-channel
channel-label
You should see output resembling:
Removing config channel blah
Config channel blah removed
A.2.11. Determining the Number of File Revisions
To find out how many revisions (revisions go from 1 to N with N being an integer greater than 0) of a
file/path are in a channel, issue the command:
rhncfg-manager revisions
channel-label
/tmp/dest_path/foo.txt
You should see output resembling:
Analyzing files in config channel blah
/tmp/dest_path/foo.txt: 1
Summary of Contents for NETWORK 3.2 - PROVISIONING
Page 1: ...Red Hat Network 3 2 Provisioning Reference Guide...
Page 6: ......
Page 16: ...6 Chapter 1 What is Red Hat Network...
Page 48: ...38 Chapter 3 Red Hat Network Alert Notification Tool...
Page 106: ...96 Chapter 6 Red Hat Network Registration Client...
Page 114: ...104 Appendix A Command Line Config Management Tools...
Page 118: ...108 Appendix B RHN API Access...
Page 124: ...114 Glossary...