Augeas is a library that focuses on the most basic problem in handling Linux configurations programmatically: editing actual configuration files in a controlled manner.
To that end, Augeas exposes a tree of all configuration settings (well, all the ones it knows about) and a simple local API for manipulating the tree. Augeas then modifies underlying configuration files according to the changes that have been made to the tree; it does as little modeling of configurations as possible, and focuses exclusively on transforming the tree-oriented syntax of its public API to the myriad syntaxes of individual configuration files.
This module provides an object oriented Perl interface for Augeas configuration edition library with a more "perlish" API than Augeas C counterpart.
See Augeas project home page for more informations:
INSTALLATION
To install this module type the following:
perl Build.PL ./Build ./Build test ./Build install
DEPENDENCIES
This module requires these other modules and libraries:
- augeas libraries and development files (augeas.h)
- pkgconfig
- Test::Pod to test document generation
SOURCE REPOSITORY
https://github.com/raphink/config-augeas
COPYRIGHT AND LICENCE
Copyright (C) 2008-2009 by Dominique Dumont Copyright (C) 2011-2012 by Raphaël Pinson
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
Config-Model is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser Public License for more details.
You should have received a copy of the GNU Lesser Public License along with Config-Model; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA