/usr/share/perl5/Config/Model/models/Itself/Application.pl is in libconfig-model-itself-perl 2.006-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | #
# This file is part of Config-Model-Itself
#
# This software is Copyright (c) 2007-2016 by Dominique Dumont.
#
# This is free software, licensed under:
#
# The GNU Lesser General Public License, Version 2.1, February 1999
#
[
{
name => 'Itself::Application',
# read/written by Config::Model::Itself (read_all)
element => [
model => {
refer_to => '! class',
type => 'leaf',
value_type => 'reference',
description => 'Top class required to configure this application',
},
category => {
choice => [
'system',
'user',
'application'
],
type => 'leaf',
value_type => 'enum',
description => 'Can be "system", "user" or "application"',
help => {
system => 'Configuration file is owned by root and usually located in C</etc>',
user => 'Configuration files is owned by user and usually located in C<~/.*>',
application => 'Configuration file is located anywhere and is usually explicitly '
.'specified to application. E.g. C<multistrap -f CONFIG_FILE>',
}
},
allow_config_file_override => {
type => 'leaf',
upstream_default => '0',
value_type => 'boolean',
description => 'Set if user can override the configuration file loaded by default by cme',
},
require_config_file => {
type => 'leaf',
upstream_default => '0',
value_type => 'boolean',
description => "set when there's no default path for the configuration file."
. "user will have to specify a configuration file with C<--file> option."
},
config_dir => {
type => 'leaf',
value_type => 'uniline',
description => "set configuration directory where config file is read from "
. "or written to. This value does not override a directory specified in the model."
},
],
}
] ;
|