VERSION
version 3.4.0.5SYNOPSIS
use CipUX::Object::Action::List;
DESCRIPTION
Provides the functions cipux_object_create and cipux_object_destroy as well as some auto-calculated values for example for userPassword.ABSTRACT
The CipUX object layer is a generic abstract class, which can be used by other classes or scripts.The function cipux_object_create may create one or several LDAP nodes according to the configuration structure in /etc/cipux/cipux-object.conf or ~/.cipux/cipux-object.conf.
The function cipux_object_destroy tries to remove one or more LDAP nodes.
SUBROUTINES/METHODS
The following functions will be exported by CipUX::Object::Action::List.new
ConstructorSyntax:
my $cipux_object = CipUX::Object::Action::List->new({}); my $cipux_object = CipUX::Object::Action::List->new({debug=>1}); my $cfg = '/etc/cipux/cipux-object.conf'; my $cipux_object = CipUX::Object::Action::List->new({cfg=>$cfg});
Description:
cfg
Configuration files may be provided for convenience. This is meant to work in a single-server scenario and multi-server settings.
The preset behavior is to throw an exception, when some parameter value of the configuration file is missing or is wrong.
Summary:
* if a configuration file is given incorporate this file if it is there else look for ~/.cipux/cipux-object.conf and incorporate if it is there else look for /etc/cipux/cipux-object.conf and incorporate if it is there
/etc/cipux/cipux-object.conf
The configuration file is for dispatching multiple CipUX objects.
TODO: write conf structure!
For details see man page of cipux-object.conf.
DESTROY
Mandatory DESTROY Method for Inside-Out Class.Syntax:
$i10n->DESTROY();
list_type
Creates a CipUX objectSyntax:
$object->list_type({ });
preset
Creates a CipUX objectSyntax:
$object->preset({ });
auto
Creates a CipUX objectSyntax:
$object->auto({ });
mandatory
Creates a CipUX objectSyntax:
$object->mandatory({ });
rule
Creates a CipUX objectSyntax:
$object->rule({ });
alias
Creates a CipUX objectSyntax:
$object->alias({ });
list_object_action
TODOpreset_auto_mandatory_rule_alias
Creates a CipUX objectSyntax:
$object->preset_auto_mandatory_rule_alias({
});
oid_number_supremum
TODOobject
TODOtest_cfg
TODODEMOLISH
TODOconfig
TODODIAGNOSTICS
TODOCONFIGURATION AND ENVIRONMENT
TODODEPENDENCIES
Carp Class:Std CipUX CipUX::Storage Pod::Usage Date::ManipINCOMPATIBILITIES
Not known.BUGS AND LIMITATIONS
Not known.AUTHOR
Christian Kuelker <[email protected]>LICENSE AND COPYRIGHT
Copyright (C) 2007 - 2009 by Christian KuelkerThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA