rmtoo-configuration-convert - requirements management tool: convert configuration version 1 to version 2
rmtoo-configuration-convert -f cfgfile [-h] [-m moduledir] [-j JSON file / construct]
This tools converts an old configuration into a new one. Additionally it is possible to add / overwrite values with the new JSON mechanism.
The new configuration is printed out on stdout.
Note: Typically there is the need to edit the newly generated file and change some (default) values.
-f CONFIG_FILE, --file-config=CONFIG_FILE
The old configuration file.
-h, --help
Display a short usage help.
-m MODULES_DIRECTORY, --modules-directory=MODULES_DIRECTORY
The directory where the rmtoo modules can be found. When the program was installed by standard system routines (e.g. as a deb or a rpm package) this option is not necessary. When using rmtoo from the repository or from a release tar ball this must point to the main directory.
-j file://json_file, -j son_expression
rmtoo-configuration-convert returns 0 when all commands are successfully completed and a value not equal 0 when there was a problem.
rmtoo(7) - overview of rmtoo including all references to available documentation.
Written by Andreas Florath (rmtoo@florath.net)
Copyright © 2011 by flonatel (rmtoo@florath.net). License GPLv3+: GNU GPL version 3 or later