Differentiating Between Latest Config Files - Red Hat NETWORK 4.0 Reference Manual

Hide thumbs Also See for NETWORK 4.0:
Table of Contents

Advertisement

Appendix A. Command Line Config Management Tools
rhncfg-manager add
In addition to the required channel label and the path to the file, you may use the available
options for modifying the file during its addition. For instance, you may alter the path and
file name by including the
rhncfg-manager add
--channel=channel-label
--dest-file=/new/path/to/file.txt
/path/to/file
The output resembles the following:
Pushing to channel example-channel
Local file >/path/to/file -> remote file /new/path/to/file.txt
The following table lists the options available for
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
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
/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
--channel=channel-label
option in the command, like:
--dest-file
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
options
--channel=channel-label --dest-file=/path/to/file.txt
/path/to/file
rhncfg-manager add
config_channel: example-channel
191
:
\
revision: 1

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents