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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
use strict;
use warnings;
return [
{
'accept' => [
'.*',
{
'type' => 'leaf',
'value_type' => 'uniline',
'warn' => 'Unexpected systemd parameter. Please contact cme author to update systemd model.'
}
],
'element' => [
'disable',
{
'description' => 'When true, cme will disable a configuration file supplied by the vendor by placing place a symlink to /dev/null with the same filename as the vendor configuration file. See L<systemd-system.conf> for details.',
'summary' => 'disable configuration file supplied by the vendor',
'type' => 'leaf',
'upstream_default' => '0',
'value_type' => 'boolean'
},
'Socket',
{
'config_class_name' => 'Systemd::Section::Socket',
'type' => 'warped_node',
'warp' => {
'follow' => {
'disable' => '- disable'
},
'rules' => [
'$disable',
{
'level' => 'hidden'
}
]
}
},
'Unit',
{
'config_class_name' => 'Systemd::Section::SocketUnit',
'type' => 'warped_node',
'warp' => {
'follow' => {
'disable' => '- disable'
},
'rules' => [
'$disable',
{
'level' => 'hidden'
}
]
}
},
'Install',
{
'config_class_name' => 'Systemd::Section::Install',
'type' => 'warped_node',
'warp' => {
'follow' => {
'disable' => '- disable'
},
'rules' => [
'$disable',
{
'level' => 'hidden'
}
]
}
}
],
'generated_by' => 'parse-man.pl from systemd doc',
'name' => 'Systemd::Socket',
'rw_config' => {
'auto_create' => '1',
'auto_delete' => '1',
'backend' => 'Systemd::Unit',
'file' => '&index.socket'
}
}
]
;
|