File Coverage

blib/lib/Config/Model/models/Fstab.pl
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             #
2             # This file is part of Config-Model
3             #
4             # This software is Copyright (c) 2005-2022 by Dominique Dumont.
5             #
6             # This is free software, licensed under:
7             #
8             # The GNU Lesser General Public License, Version 2.1, February 1999
9             #
10 1     1   452 use strict;
  1         2  
  1         33  
11 1     1   6 use warnings;
  1         3  
  1         91  
12              
13             return [
14             {
15             'author' => [
16             'Dominique Dumont'
17             ],
18             'class_description' => 'static information about the filesystems. fstab contains descriptive information about the various file systems.
19             ',
20             'copyright' => [
21             '2010,2011 Dominique Dumont'
22             ],
23             'element' => [
24             'fs',
25             {
26             'cargo' => {
27             'config_class_name' => 'Fstab::FsLine',
28             'type' => 'node'
29             },
30             'description' => 'Each "fs" element contain the information about one filesystem. Each filesystem is referred in this model by a label constructed by the fstab parser. This label cannot be stored in the fstab file, so if you create a new file system, the label you will choose may not be stored and will be re-created by the fstab parser',
31             'index_type' => 'string',
32             'summary' => 'specification of one file system',
33             'type' => 'hash'
34             }
35             ],
36             'license' => 'LGPL2',
37             'name' => 'Fstab',
38             'rw_config' => {
39             'backend' => 'Fstab',
40             'config_dir' => '/etc',
41             'file' => 'fstab'
42             }
43             }
44             ]
45             ;
46