A.3.3. Differentiating Between Latest Config Files; A.3.4. Differentiating Between Various Versions - Red Hat NETWORK SATELLITE 5.1.1 Reference Manual

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

Advertisement

Appendix A. Command Line Config Management Tools
Option
-cCHANNEL --channel=CHANNEL
-dDEST_FILE --dest-file=DEST_FILE
--delim-start=DELIM_START
--delim-end=DELIM_END
-h, --help
Table A.4. rhncfg-manager add options
Note
By default, the maximum file size for confiugration files is 128KB. If you need to change
that value, find or create the following line in the /etc/rhn/rhn.conf file:
web.maximum_config_file_size=128
Change the value from 128 to whatever limit you want in bytes.

A.3.3. Differentiating between Latest Config Files

To view the differences between the config files on disk and the latest revisions in a channel, issue the
command:
rhncfg-manager diff --channel=channel-label --dest-file=/path/to/
file.txt \ /local/path/to/file
You should see output resembling:
/tmp/dest_path/example-config.txt /home/test/blah/hello_world.txt
--- /tmp/dest_path/example-config.txt config_channel: example-
channel revision: 1 +++ /home/test/blah/hello_world.txt 2003-12-14
19:08:59.000000000 -0500 @@ -1 +1 @@ -foo +hello, world
The following table lists the options available for rhncfg-manager diff:
Option
-cCHANNEL, --channel=CHANNEL
-rREVISION, --revision=REVISION
-dDEST_FILE, --dest-file=DEST_FILE
-tTOPDIR, --topdir=TOPDIR
-h, --help
Table A.5. rhncfg-manager diff options

A.3.4. Differentiating between Various Versions

To compare different versions of a file across channels and revisions, use the -r flag to indicate
which revision of the file should be compared and the -n flag to identify the two channels to be
194
Description
Upload files in this config channel
Upload the file as this path
Start delimiter for variable interpolation
End delimiter for variable interpolation
show help message and exit
Description
Get file(s) from this config channel
Use this revision
Upload the file as this path
Make all files relative to this string
Show help message and exit

Advertisement

Table of Contents
loading

Table of Contents