Config::Model::Itself - Model editor for Config::Model
This module provides a graphical editor to edit configuration model for Config:Model.
This modules also provides a model for Config::Model (hence the Itself name, you can also think of it as a meta-model). The editor will use this meta-model to construct the graphical interface so you can edit the configuration model for your application. [ This module is the "eat your own dog food" principle applied to Config::Model ;-) ]
Let's step back a little to explain. Any configuration data is, in essence, structured data. This data could be stored in an XML file. A configuration model is a way to describe the structure and relation of all items of a configuration data set.
This configuration model is also expressed as structured data. This structure data is structured and follow a set of rules which are described for humans in Config::Model.
The structure and rules documented in Config::Model are also expressed in a model in the files provided with Config::Model::Itself.
Hence the possibity to verify, modify configuration data provided by Config::Model can also be applied on configuration models. Using the same user interface.
The model editor program is config-model-edit.
Since the model editor and the configuration data editor are based on the same graphical module, you will use similar UIs to edit configuration data (for instance OpenSsh configuration data from sshd_config) and OpenSsh model (if you need to add new parameters in OpenSsh model)
Once this module is installed, you can run:
# config-model-edit -model <model_name>
For instance, if you have installed Config::Model::OpenSsh, you can run
# config-model-edit -model OpenSsh
If you save OpenSsh configuration model, it will create a lib directory and write the modified model there.
AUTHOR
Copyright (c) 2007-2009 Dominique Dumont.
This file is part of Config-Model-Itself.
tar zxvf <dist_file>.tar.gz
cd <dist_directory>
perl Build.PL
./Build test
If you want to install this software without packaging, type also:
./Build install