A.3.10. Deleting A Config Channel; A.3.11. Determining The Number Of File Revisions; A.3.12. Updating A File In A Channel - Red Hat NETWORK SATELLITE 5.1.1 Reference Manual

Hide thumbs Also See for NETWORK SATELLITE 5.1.1:
Table of Contents

Advertisement

Red Hat Network username: rhn-user Password: Removing from config
channel example-channel3 /tmp/dest_path/example-config.txt removed
The following table lists the options available for rhncfg-manager remove:
Option
-cCHANNEL, --channel=CHANNEL
-tTOPDIR, --topdir=TOPDIR
-h, --help
Table A.9. rhncfg-manager remove options

A.3.10. Deleting a Config Channel

To destroy a config channel in your organization, issue the command:
rhncfg-manager remove-channel channel-label
The output resembles the following:
Removing config channel example-channel Config channel example-channel
removed

A.3.11. Determining the Number of File Revisions

To find out how many revisions (revisions go from 1 to N where N is an integer greater than 0) of a file/
path are in a channel, issue the following command:
rhncfg-manager revisions channel-label /tmp/dest_path/example-
config.txt
The output resembles the following:
Analyzing files in config channel example-channel \ /tmp/dest_path/
example-config.txt: 1

A.3.12. Updating a File in a Channel

To create a new revision of a file in a channel (or add the first revision to that channel if none existed
before for the given path), issue the following command:
rhncfg-manager update \ --channel=channel-label --dest-file=/path/to/
file.txt /local/path/to/file
The output resembles the following:
Pushing to channel example-channel: Local file example-channel/tmp/
dest_path/example-config.txt -> \ remote file /tmp/dest_path/example-
config.txt
Description
Remove files from this config channel
Make all files relative to this string
Show help message and exit
Deleting a Config Channel
197

Advertisement

Table of Contents
loading

Table of Contents