Paketname | libconfig-model-backend-augeas-perl |
Beschreibung | Read and write configuration data through Augeas |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 0.107-1 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 92 Byte |
Hängt ab von | perl (>= 5.6.0-16), libconfig-augeas-perl (>= 0.303), libconfig-model-perl (>= 0.636), libexception- |
Empfohlene Pakete | |
Paketbetreuer | Debian Perl Group |
Quelle | |
Paketgröße | 16452 Byte |
Prüfsumme MD5 | e46c2c82fa50f544773db9fe5b6596d5 |
Prüfsumme SHA1 | 7963017ddea80d5ae809532d3926fe3d49c05846 |
Prüfsumme SHA256 | 9e98fabc6703ec624f3111d31da82b1a5eca215044c3864c191158947b9acbe9 |
Link zum Herunterladen | libconfig-model-backend-augeas-perl_0.107-1_all.d |
Ausführliche Beschreibung | This class provides a way to load or store configuration data through
Config::Augeas. This way, the structure and commments of the original
configuration file will preserved.
.
With Config::Model::Backend::Augeas, Config::Model now provides a way
to load and save data through RedHat's Augeas library.
.
Config::Model and Augeas are both configuration editing tool. Both
parse configuration files in their native formats and transforms them
into a tree. Configuration changes are made by manipulating this tree
and saving it back into native config files.
.
Both Augeas and Config::Model rely on a tree to represent
configuration data.
.
On one side, Augeas is able to load and write data while respecting
the structure and comments of the original configuration file. But
Augeas purpose is not to validate the semantic content of the
configuration file.
.
On the other side, Config::Model is able to validate the semantic
content of the configuration file, but it will discard all comments
and will write back configuration data using a canonical order. Thus
the comments and structure of the original configuration file is not
preserved.
.
You can now have the best of both worlds by using the Augeas library
to load and write data from Config::Model configuration tree. You can
now instruct Config::Model to use Augeas backend in the autoread and
autowrite feature. See Config::Model::Autoread for details.
.
Unfortunately, you must ensure that the tree representation specified
in Config::Model and Augeas lens are quite close together:
- Config::Model element names and Augeas lens names must be identical
- Both structures must be very close. Each Config::Model node must
have a corresponsing lens.
.
See Config::Model::Backend::Augeas documentation to use Augeas with
your configuration model.
.
For more details on Config::Model see:
.
http://config-model.wiki.sourceforge.net/
.
For more details on Augeas, see:
.
http://augeas.net
|