Appendix B. Command Line Config Management Tools
246
rhncfg-manager remove-channel
channel-label
The output resembles the following:
Removing config channel example-channel Config channel example-channel
removed
B.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
B.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
The following table lists the options available for
rhncfg-manager update
:
Option
Description
-cCHANNEL, --channel=CHANNEL
Upload files in this config channel
-dDEST_FILE, --dest-file=DEST_FILE
Upload the file as this path
-tTOPDIR, --topdir=TOPDIR
Make all files relative to this string
--delim-start=DELIM_START
Start delimiter for variable interpolation
--delim-end=DELIM_END
End delimiter for variable interpolation
Summary of Contents for NETWORK SATELLITE 5.3.0 - CHANNEL MANAGEMENT
Page 1: ...Red Hat Network Satellite 5 3 0 Reference Guide Red Hat Network Satellite ...
Page 32: ...20 ...
Page 44: ...Chapter 4 Red Hat Update Agent 32 Figure 4 11 Available Package Updates ...
Page 168: ...156 ...
Page 180: ...168 ...
Page 216: ...204 ...
Page 232: ...220 ...
Page 248: ...236 ...
Page 260: ...248 ...
Page 309: ...297 Appendix E Revision History Revision 1 0 Fri Feb 27 2009 ...
Page 310: ...298 ...
Page 318: ...306 ...