GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CONFIG::MODEL::VALUE::LAYEREDINCLUDE (3)

.ds Aq ’

NAME

Config::Model::Value::LayeredInclude - Include a sub layer configuration

CONTENTS

VERSION

version 2.082

SYNOPSIS



    # in a model declaration:
    element => [
      include => {
        class => Config::Model::Value::LayeredInclude,

        # usual Config::Model::Value parameters
        type => leaf,
        value_type => uniline,
        convert => lc,
        summary => Include file for cascaded configuration,
        description => To support multiple variants of ...
      },
    ]



DESCRIPTION

This class inherits from Config::Model::Value. It overrides _store to trigger a refresh of layered value when value is actually changed. I.e. changing this value will reload the refered configuration file and use its values as default value. This class was designed to cope with multistrap <http://wiki.debian.org/Multistrap> configuration.

    CAUTION

A configuration file can support 2 kinds of include:
o Layered include which sets default values like multistrap or ssh. These includes are read-only.
o Real includes like apache. In this cases modified configuration items can be written to included files.
This class works only with the first type

AUTHOR

Copyright 2011,2013 Dominique Dumont <ddumont at cpan.org>

AUTHOR

Dominique Dumont

COPYRIGHT AND LICENSE

This software is Copyright (c) 2005-2016 by Dominique Dumont.

This is free software, licensed under:



  The GNU Lesser General Public License, Version 2.1, February 1999



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CONFIG::MODEL::VALUE::LAYEREDINCLUDE (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.