Removing A File From A Channel; Deleting A Config Channel; Determining The Number Of File Revisions - Red Hat NETWORK 3.4 - PROVISIONING Reference Manual

Provisioning reference
Hide thumbs Also See for NETWORK 3.4 - PROVISIONING:
Table of Contents

Advertisement

108
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
Appendix A. Command Line Config Management Tools

Advertisement

Table of Contents
loading

Table of Contents