The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Config::Model::Node - Class for configuration tree node

SYNOPSIS

  config-model [options] -root_model Fstab

DESCRIPTION

Config-model is a general purpose configuration framework. Models stored in //etc/config-model.d are configuration description.

The config-model program will use these configuration descriptions to provide a user interface so user can easily and securely modify the configuration of their system.

Options

-root_model

Mandatory option that specifies the main item to be configured. The root_model must be available in /etc/config-model.d/ directory in a .pl file. E.g. this command:

  config-model -root_model Fstab

will look for /etc/config-model.d/Fstab.pl model file. See Config::Model for more details.

-if

Specify the user interface type. Currently only shell is possible which provides a shell like interface. See Config::Model::TermUI for details.

-model_dir

Specify an alternate directory to find model files. Mostly useful for tests. Default is /etc/config-model.d/.

-verbose

Be (very) verbose

-debug

Provide debug infos.

-trace

Provides a full stack trace when exiting on error.

CAVEATS

Most of the code used to define configuration model is quite usable.

But writing back configuration is still shaky. So don't run this program as root (yet...)

AUTHOR

Dominique Dumont, domi@komarr.grenoble.hp.com

SEE ALSO

Config::Model::Model, Config::Model::Instance, Config::Model::HashId, Config::Model::ListId, Config::Model::WarpedNode, Config::Model::Value