Pakket: libconfig-model-backend-augeas-perl (0.126-1)
Verwijzigingen voor libconfig-model-backend-augeas-perl
Debian bronnen:
Het bronpakket libconfig-model-backend-augeas-perl downloaden:
- [libconfig-model-backend-augeas-perl_0.126-1.dsc]
- [libconfig-model-backend-augeas-perl_0.126.orig.tar.gz]
- [libconfig-model-backend-augeas-perl_0.126-1.debian.tar.xz]
Beheerders:
Externe bronnen:
- Homepage [metacpan.org]
Vergelijkbare pakketten:
config-model reader and writer powered by Augeas
Config::Model::Backend::Augeas provides a way to load or store configuration data through Config::Augeas. This way, the structure and comments of the original configuration file are 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 may discard all comments and will write back configuration data using a canonical order. Thus the 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. See Config::Model::BackendMgr 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 corresponding lens.
See Config::Model::Backend::Augeas documentation to use Augeas with your configuration model.
For more details on Config::Model see:
https://github.com/dod38fr/config-model/wiki
For more details on Augeas, see:
http://augeas.net
Andere aan libconfig-model-backend-augeas-perl gerelateerde pakketten
|
|
|
|
-
- dep: libconfig-augeas-perl
- module for manipulating configuration files through Augeas
-
- dep: libconfig-model-perl
- module for describing and editing configuration data
-
- dep: libexception-class-perl
- module that allows you to declare real exception classes in Perl
-
- dep: liblog-log4perl-perl
- Perl port of the widely popular log4j logging package
-
- dep: libmouse-perl
- lightweight object framework for Perl
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language