-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reformatted model with config-model-edit
--HG-- extra : convert_revision : svn%3Aec020cd8-820c-41dc-a724-4838206f7038/trunk%401109
- Loading branch information
Showing
22 changed files
with
897 additions
and
1,407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,127 +1,100 @@ | |||
# $Author:$ | |||
# $Date: $ | |||
# $Name: $ | |||
# $Revision: $ | |||
|
|||
# Copyright (c) 2008 Peter Knowles | |||
# | |||
# This file is part of Config::Model::Krb5. | |||
# | |||
# Config::Model::Krb5 is free software; you can redistribute it and/or | |||
# modify it under the terms of the GNU Lesser Public License as | |||
# published by the Free Software Foundation; either version 2.1 of | |||
# the License, or (at your option) any later version. | |||
# | |||
# Config::Model::Krb5 is distributed in the hope that it will be useful, | |||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
# Lesser Public License for more details. | |||
# | |||
# You should have received a copy of the GNU Lesser Public License | |||
# along with Config-Model; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |||
|
|||
# This model was created from krb5.conf(5) man page. | |||
|
|||
# Top level class feature krb5.conf sections | |||
|
|||
[ | [ | ||
{ | { | ||
name => "Krb5", | 'class_description' => 'Copyright (c) 2008 Peter Knowles\\nReleased under LGPLv2+', | ||
|
'read_config' => [ | ||
read_config => [ { class => 'Config::Model::Krb5', function => 'krb5_read', syntax => 'custom' } ], | { | ||
|
'function' => 'krb5_read', | ||
# config file location is now inherited from a model generated at build time | 'backend' => 'custom', | ||
#inherit => 'Krb5::ConfigDir', | 'class' => 'Config::Model::Krb5', | ||
|
'config_dir' => '/etc' | ||
write_config => [ { class => 'Config::Model::Krb5', function => 'krb5_write', syntax => 'custom' } ], | } | ||
|
], | ||
'read_config_dir' => '/etc', | 'name' => 'Krb5', | ||
'write_config_dir' => '/etc', | 'write_config' => [ | ||
|
{ | ||
'element' => [ | 'function' => 'krb5_write', | ||
'libdefaults', | 'backend' => 'custom', | ||
{ | 'class' => 'Config::Model::Krb5', | ||
type => 'node', | 'config_dir' => '/etc' | ||
config_class_name => 'Krb5::LibDefaults', | } | ||
description => 'Contains various default values used by the Kerberos V5 library.', | ], | ||
}, | 'element' => [ | ||
|
'libdefaults', | ||
'login', | { | ||
{ | 'type' => 'node', | ||
type => 'node', | 'description' => 'Contains various default values used by the Kerberos V5 library.', | ||
config_class_name => 'Krb5::Login', | 'config_class_name' => 'Krb5::LibDefaults' | ||
description => 'Contains default values used by the Kerberos V5 login program, login.krb5(8).', | }, | ||
'experience' => 'advanced', | 'login', | ||
}, | { | ||
'appdefaults' => { | 'experience' => 'advanced', | ||
type => 'node', | 'type' => 'node', | ||
config_class_name => 'Krb5::AppDefaults', | 'description' => 'Contains default values used by the Kerberos V5 login program, login.krb5(8).', | ||
'experience' => 'advanced', | 'config_class_name' => 'Krb5::Login' | ||
}, | }, | ||
|
'appdefaults', | ||
'realms' => { | { | ||
'cargo' => { | 'experience' => 'advanced', | ||
type => 'node', | 'type' => 'node', | ||
config_class_name => 'Krb5::Realms', | 'config_class_name' => 'Krb5::AppDefaults' | ||
}, | }, | ||
'experience' => 'beginner', | 'realms', | ||
'type' => 'hash', | { | ||
'index_type' => 'string', | 'cargo' => { | ||
'description' => 'Contains subsections keyed by Kerberos realm names which describe where to find the Kerberos servers for a particular realm, and other realm-specific information.', | 'type' => 'node', | ||
}, | 'config_class_name' => 'Krb5::Realms' | ||
|
}, | ||
'domain_realm', | 'type' => 'hash', | ||
{ | 'description' => 'Contains subsections keyed by Kerberos realm names which describe where to find the Kerberos servers for a particular realm, and other realm-specific information.', | ||
'cargo' => { | 'index_type' => 'string' | ||
'type' => 'leaf', | }, | ||
'value_type' => 'uniline', | 'domain_realm', | ||
}, | { | ||
'experience' => 'beginner', | 'cargo' => { | ||
'type' => 'hash', | 'value_type' => 'uniline', | ||
'index_type' => 'string', | 'type' => 'leaf' | ||
'description' => 'A mapping between a hostname or a domain name (where domain names are indicated by a prefix of a period (' . ') character) and a Kerberos realm.', | }, | ||
}, | 'type' => 'hash', | ||
|
'description' => 'A mapping between a hostname or a domain name (where domain names are indicated by a prefix of a period () character) and a Kerberos realm.', | ||
'logging' => { | 'index_type' => 'string' | ||
type => 'node', | }, | ||
config_class_name => 'Krb5::Logging', | 'logging', | ||
'description' => 'Contains relations which determine how Kerberos entities are to perform their logging.', | { | ||
'experience' => 'advanced', | 'experience' => 'advanced', | ||
}, | 'type' => 'node', | ||
|
'description' => 'Contains relations which determine how Kerberos entities are to perform their logging.', | ||
'capaths' => { | 'config_class_name' => 'Krb5::Logging' | ||
'cargo' => { | }, | ||
'type' => 'node', | 'capaths', | ||
'config_class_name' => 'Krb5::CAPaths::Realm' | { | ||
}, | 'cargo' => { | ||
'experience' => 'advanced', | 'type' => 'node', | ||
'type' => 'hash', | 'config_class_name' => 'Krb5::CAPaths::Realm' | ||
'index_type' => 'string', | }, | ||
'description' => 'Realm participating in cross-realm authentication.' | 'experience' => 'advanced', | ||
}, | 'type' => 'hash', | ||
|
'description' => 'Realm participating in cross-realm authentication.', | ||
'dbdefaults', | 'index_type' => 'string' | ||
{ | }, | ||
type => 'node', | 'dbdefaults', | ||
config_class_name => 'Krb5::DBDefaults', | { | ||
description => 'Contains default values for database specific parameters.', | 'experience' => 'advanced', | ||
'experience' => 'advanced', | 'type' => 'node', | ||
}, | 'description' => 'Contains default values for database specific parameters.', | ||
'dbmodules' => { | 'config_class_name' => 'Krb5::DBDefaults' | ||
'experience' => 'advanced', | }, | ||
'cargo' => { | 'dbmodules', | ||
'type' => 'node', | { | ||
'config_class_name' => 'Krb5::DBModules::ConfigSection' | 'cargo' => { | ||
}, | 'type' => 'node', | ||
'experience' => 'advanced', | 'config_class_name' => 'Krb5::DBModules::ConfigSection' | ||
'type' => 'hash', | }, | ||
'index_type' => 'string', | 'experience' => 'advanced', | ||
'description' => 'Configuration section for database specific parameters that can be referred to by a realm.' | 'type' => 'hash', | ||
}, | 'description' => 'Configuration section for database specific parameters that can be referred to by a realm.', | ||
|
'index_type' => 'string' | ||
], | } | ||
|
] | ||
}, | } | ||
]; | ] | ||
|
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,53 +1,29 @@ | |||
# $Author:$ | |||
# $Date: $ | |||
# $Name: $ | |||
# $Revision: $ | |||
|
|||
# Copyright (c) 2008 Peter Knowles | |||
# | |||
# This file is part of Config::Model::Krb5. | |||
# | |||
# Config::Model::Krb5 is free software; you can redistribute it and/or | |||
# modify it under the terms of the GNU Lesser Public License as | |||
# published by the Free Software Foundation; either version 2.1 of | |||
# the License, or (at your option) any later version. | |||
# | |||
# Config::Model::Krb5 is distributed in the hope that it will be useful, | |||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
# Lesser Public License for more details. | |||
# | |||
# You should have received a copy of the GNU Lesser Public License | |||
# along with Config-Model; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |||
|
|||
# This model was created from krb5.conf(5) man page. | |||
|
|||
[ | [ | ||
[ | { | ||
name => "Krb5::AppDefaults", | 'name' => 'Krb5::AppDefaults', | ||
|
'element' => [ | ||
'element' => [ | 'subsection', | ||
'subsection' => { | { | ||
'cargo' => { | 'cargo' => { | ||
'type' => 'node', | 'type' => 'node', | ||
'config_class_name' => 'Krb5::AppDefaults::SubSection' | 'config_class_name' => 'Krb5::AppDefaults::SubSection' | ||
}, | }, | ||
'experience' => 'advanced', | 'experience' => 'advanced', | ||
'type' => 'hash', | 'type' => 'hash', | ||
'index_type' => 'string', | 'description' => 'Kerberos V5 application or realm.', | ||
'description' => 'Kerberos V5 application or realm.', | 'index_type' => 'string' | ||
}, | }, | ||
'option' => { | 'option', | ||
'cargo' => { | { | ||
'type' => 'node', | 'cargo' => { | ||
'config_class_name' => 'Krb5::AppDefaults::Option' | 'type' => 'node', | ||
}, | 'config_class_name' => 'Krb5::AppDefaults::Option' | ||
'experience' => 'advanced', | }, | ||
'type' => 'list', | 'experience' => 'advanced', | ||
'description' => 'Option that is used by some Kerberos V5 application[s].', | 'type' => 'list', | ||
}, | 'description' => 'Option that is used by some Kerberos V5 application[s].' | ||
], | } | ||
], | ] | ||
]; | } | ||
|
] | ||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,48 +1,22 @@ | |||
# $Author:$ | |||
# $Date: $ | |||
# $Name: $ | |||
# $Revision: $ | |||
|
|||
# Copyright (c) 2008 Peter Knowles | |||
# | |||
# This file is part of Config::Model::Krb5. | |||
# | |||
# Config::Model::Krb5 is free software; you can redistribute it and/or | |||
# modify it under the terms of the GNU Lesser Public License as | |||
# published by the Free Software Foundation; either version 2.1 of | |||
# the License, or (at your option) any later version. | |||
# | |||
# Config::Model::Krb5 is distributed in the hope that it will be useful, | |||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
# Lesser Public License for more details. | |||
# | |||
# You should have received a copy of the GNU Lesser Public License | |||
# along with Config-Model; if not, write to the Free Software | |||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |||
|
|||
# This model was created from krb5.conf(5) man page. | |||
|
|||
[ | [ | ||
[ | { | ||
name => "Krb5::AppDefaults::Option", | 'name' => 'Krb5::AppDefaults::Option', | ||
|
'element' => [ | ||
'element' => [ | 'name', | ||
'name' => { | { | ||
type => 'leaf', | 'value_type' => 'uniline', | ||
value_type => 'uniline', | 'experience' => 'advanced', | ||
description => 'Tagname of option.', | 'type' => 'leaf', | ||
'experience' => 'advanced', | 'description' => 'Tagname of option.' | ||
}, | }, | ||
|
'value', | ||
'value' => { | { | ||
type => 'leaf', | 'value_type' => 'uniline', | ||
value_type => 'uniline', | 'experience' => 'advanced', | ||
description => 'Value of option.', | 'type' => 'leaf', | ||
'experience' => 'advanced', | 'description' => 'Value of option.' | ||
}, | } | ||
|
] | ||
], | } | ||
], | ] | ||
]; | ; | ||
|
Oops, something went wrong.