Siebel-Srvrmgr

 view release on metacpan or  search on metacpan

lib/Siebel/Srvrmgr/Util/IniDaemon.pm  view on Meta::CPAN

        time_zone => $cfg->val( 'GENERAL', 'time_zone' ),
    };

    # optional
    foreach my $attr (qw(field_delimiter read_timeout)) {
        if ( $cfg->exists( 'GENERAL', $attr ) ) {
            $params->{$attr} = $cfg->val( 'GENERAL', $attr );
        }
    }

    if (    ( $cfg->exists( 'GENERAL', 'load_prefs' ) )
        and ( $cfg->val( 'GENERAL', 'load_prefs' ) ) )
    {
        $params->{commands} = [
            Siebel::Srvrmgr::Daemon::Command->new(
                {
                    command => 'load preferences',
                    action  => 'LoadPreferences',
                }
            )
        ];
    }

lib/Siebel/Srvrmgr/Util/IniDaemon.pm  view on Meta::CPAN

    enterprise=MyEnterprise
    # the Siebel user with administrative privileges
    user=sadmin
    # the password from the user with administrative privileges
    password=123456
    # the field delimiter used to separate the output fields of srvrmgr
    field_delimiter=|
    # the complete pathname to the program srvrmgr
    srvrmgr= /foobar/bin/srvrmgr
    # if true, will add a "load preferences" command with "LoadPreferences" action automatically
    load_prefs = 1
    # type defines which subclass of Siebel::Srvrmgr::Daemon to use. The acceptable value is "heavy" 
    # for Siebel::Srvrmgr::Daemon::Heavy and "light" for Siebel::Srvrmgr::Daemon::Light
    type = heavy

Whatever other parameters or sections available on the same INI will be ignored by this class, but you can subclass it and use
any other parameters/section you may want to.

Please refer to the Pod of L<Siebel::Srvrmgr::Daemon> and corresponding subclasses to understand what parameters are optional or not.

=head1 SEE ALSO

t/config/correct.ini  view on Meta::CPAN

enterprise=MyEnterprise
# the Siebel user with administrative privileges
user=sadmin
# the password from the user with administrative privileges
password=123456
# the field delimiter used to separate the output fields of srvrmgr
field_delimiter=|
# the complete pathname to the program srvrmgr
srvrmgr= /foobar/bin/srvrmgr
# if true, will add a "load preferences" command with "LoadPreferences" action automatically
load_prefs = 1
# type defines which subclass of Siebel::Srvrmgr::Daemon to use. The acceptable value is "heavy" 
# for Siebel::Srvrmgr::Daemon::Heavy and "light" for Siebel::Srvrmgr::Daemon::Light
type = heavy
time_zone = UTC
read_timeout = 10

t/config/invalid_daemon.ini  view on Meta::CPAN

enterprise=MyEnterprise
# the Siebel user with administrative privileges
user=sadmin
# the password from the user with administrative privileges
password=123456
# the field delimiter used to separate the output fields of srvrmgr
field_delimiter=|
# the complete pathname to the program srvrmgr
srvrmgr= /foobar/bin/srvrmgr
# if true, will add a "load preferences" command with "LoadPreferences" action automatically
load_prefs = 1
# type defines which subclass of Siebel::Srvrmgr::Daemon to use. The acceptable value is "heavy" 
# for Siebel::Srvrmgr::Daemon::Heavy and "light" for Siebel::Srvrmgr::Daemon::Light
type = foobar
time_zone = UTC
read_timeout = 10

t/config/light.ini  view on Meta::CPAN

enterprise=MyEnterprise
# the Siebel user with administrative privileges
user=sadmin
# the password from the user with administrative privileges
password=123456
# the field delimiter used to separate the output fields of srvrmgr
field_delimiter=|
# the complete pathname to the program srvrmgr
srvrmgr= /foobar/bin/srvrmgr
# if true, will add a "load preferences" command with "LoadPreferences" action automatically
load_prefs = 1
# type defines which subclass of Siebel::Srvrmgr::Daemon to use. The acceptable value is "heavy" 
# for Siebel::Srvrmgr::Daemon::Heavy and "light" for Siebel::Srvrmgr::Daemon::Light
type = light
time_zone = UTC
read_timeout = 10

t/config/missing_param.ini  view on Meta::CPAN

enterprise=MyEnterprise
# the Siebel user with administrative privileges
user=sadmin
# the password from the user with administrative privileges
password=123456
# the field delimiter used to separate the output fields of srvrmgr
field_delimiter=|
# the complete pathname to the program srvrmgr
srvrmgr= /foobar/bin/srvrmgr
# if true, will add a "load preferences" command with "LoadPreferences" action automatically
load_prefs = 1
# type defines which subclass of Siebel::Srvrmgr::Daemon to use. The acceptable value is "heavy" 
# for Siebel::Srvrmgr::Daemon::Heavy and "light" for Siebel::Srvrmgr::Daemon::Light
type = heavy
time_zone = UTC
read_timeout = 10



( run in 3.759 seconds using v1.01-cache-2.11-cpan-8f98c5d2c55 )