110
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.5 - PROVISIONING
Page 1: ...Red Hat Network 3 5 Provisioning Reference Guide...
Page 6: ......
Page 16: ...6 Chapter 1 What is Red Hat Network...
Page 50: ...40 Chapter 3 Red Hat Network Alert Notification Tool...
Page 98: ...88 Chapter 4 Red Hat Network Website...
Page 114: ...104 Chapter 6 Red Hat Network Registration Client...
Page 122: ...112 Appendix A Command Line Config Management Tools...
Page 126: ...116 Appendix B RHN API Access...
Page 132: ...122 Glossary...