1Config::Model::Value::LUasyeerreCdoInntcrliubduet(e3dCpomPn)efrilg:D:oMcoudmeeln:t:aVtailoune::LayeredInclude(3pm)
2
3
4

NAME

6       Config::Model::Value::LayeredInclude - Include a sub layer
7       configuration
8

VERSION

10       version 2.153
11

SYNOPSIS

13           # in a model declaration:
14           'element' => [
15             'include' => {
16               'class' => 'Config::Model::Value::LayeredInclude',
17
18               # usual Config::Model::Value parameters
19               'type' => 'leaf',
20               'value_type' => 'uniline',
21               'convert' => 'lc',
22               'summary' => 'Include file for cascaded configuration',
23               'description' => 'To support multiple variants of ...'
24             },
25           ]
26

DESCRIPTION

28       This class inherits from Config::Model::Value. It overrides _store to
29       trigger a refresh of layered value when a value is changed. I.e.
30       changing this value trigger a reload of the referred configuration file
31       which values are used as default value. This class was designed to cope
32       with multistrap <http://wiki.debian.org/Multistrap> configuration.
33
34   CAUTION
35       A configuration file can support 2 kinds of include:
36
37       •   Layered include which sets default values like multistrap or ssh.
38           These includes are read-only.
39
40       •   Real includes like "apache". In this cases modified configuration
41           items can be written to included files.
42
43       This class works only with the first type
44

AUTHOR

46       Dominique Dumont
47
49       This software is Copyright (c) 2005-2022 by Dominique Dumont.
50
51       This is free software, licensed under:
52
53         The GNU Lesser General Public License, Version 2.1, February 1999
54
55
56
57perl v5.38.0                      2023C-o0n7f-i2g5::Model::Value::LayeredInclude(3pm)
Impressum