#
# Hermes configurations
# please edit to fit your needs.
# note that this must be a valid perl source code file because it get
# eval'ed. Check the syntax of this file with 'perl -cw Config.pm'.
#
#--[ Logging Configuration ]---------------------------------------------------
%LOG = (
'params' => {'name' => 'Hermes',
# either set the logname explicitely
'filename' => '/var/log/hermes.log',
# OR specify the log path and set the log file name in code:
'logpath' => '/var/log/hermes',
'min_level' => 'info' }
);
#--[ Default DB Configuration ]---------------------------------------------------
$DB{ 'default' } = { 'type' => 'mysql',
'port' => 3306,
'name' => 'hermes',
'user' => 'root',
'pass' => 'turbolinux' };
# DEBUG - set to 1 to enable debug. No mail is sent in debug mode.
$Debug = 0;
# the default delivery type, check with database content
# This is currently not used, but will be important soon.
$DefaultDelivery = 2;
# Notification Default Delay: Which delay for Notifications by default?
# also check with database content
$NotifyDefaultDelay = 1;
#
# Default Sender - the stringid of the default sender user
$DefaultSender = 'bs@turbolinux.com.cn';
#
# Skip check from and to address
$SkipUserCheck = 1;
# Worker: the hour and minute when the daily messages should go out
$DailySendHour = 9;
$DailySendHourMinute = 12;
$SendWeekDay = 0; # Send weekly digests on sunday
# The base path of the herminator on the local machine. Used to find
# the notification message templates which are maintained through the
# herminator web app
$HerminatorDir = "/srv/www/hermes/herminator";
#$HerminatorDir = "/root/hermes/herminator";
#$HerminatorDir = "/srv/www/hermes/herminator";
#$HerminatorDir = "/var/lib/hermes";
# Enable jabber initialisation in hermesworker. This setting should be
# switched off for debugging if jabber is not used.
$WorkerInitJabber = 0;
# Twitter - enable it by setting $DeliverTwitter to non zero and
# provide valid twitter credentials as attributes to the delivery
# in the database
$DeliverTwitter = 1;
# Debug Twitter - set to non zero to debug twitter. The twitter sending
# routine is called but does not do anything but returning a valid id.
$DebugTwitter = 0;
#
# OBS API Connection, the top level url of the OBS incl. port
$OBSAPIBase = "http://api.turbolinux.com.cn";
#
# the OBS API credentials
$OBSAPIUser = 'Admin';
#$OBSAPIPwd = 'opensuse';
$OBSAPIPwd = 'turbolinux';
# OBS max response size: Specifiy the maximum response body size in byte.
$OBSMaxResponseSize = 1024;
#
# GPG Mail Signing
# Enable this to make Hermes sending out signed emails.
# Note that this can have a performance impact. Also make sure your key is
# protected enough!
# Switched off by default
$EnableMailSigning = 0;
$GPGKeyId = '';
$GPGPassphrase = '';
$GPGHome = '';
#
#
# authentication setting
# Use the term 'ichain' to use Novell iChain authentication.
# Use ichaintest-<name> to simulate iChain in devel environment.
# Use the term 'http-server' to use basic authentication handled by
# http server. That can be basic auth or LDAP for example.
#$authentication = "ichaintest-Admin";
$authentication = "http-server";
# leave the one at the end.
1;
# Hermes configurations
# please edit to fit your needs.
# note that this must be a valid perl source code file because it get
# eval'ed. Check the syntax of this file with 'perl -cw Config.pm'.
#
#--[ Logging Configuration ]---------------------------------------------------
%LOG = (
'params' => {'name' => 'Hermes',
# either set the logname explicitely
'filename' => '/var/log/hermes.log',
# OR specify the log path and set the log file name in code:
'logpath' => '/var/log/hermes',
'min_level' => 'info' }
);
#--[ Default DB Configuration ]---------------------------------------------------
$DB{ 'default' } = { 'type' => 'mysql',
'port' => 3306,
'name' => 'hermes',
'user' => 'root',
'pass' => 'turbolinux' };
# DEBUG - set to 1 to enable debug. No mail is sent in debug mode.
$Debug = 0;
# the default delivery type, check with database content
# This is currently not used, but will be important soon.
$DefaultDelivery = 2;
# Notification Default Delay: Which delay for Notifications by default?
# also check with database content
$NotifyDefaultDelay = 1;
#
# Default Sender - the stringid of the default sender user
$DefaultSender = 'bs@turbolinux.com.cn';
#
# Skip check from and to address
$SkipUserCheck = 1;
# Worker: the hour and minute when the daily messages should go out
$DailySendHour = 9;
$DailySendHourMinute = 12;
$SendWeekDay = 0; # Send weekly digests on sunday
# The base path of the herminator on the local machine. Used to find
# the notification message templates which are maintained through the
# herminator web app
$HerminatorDir = "/srv/www/hermes/herminator";
#$HerminatorDir = "/root/hermes/herminator";
#$HerminatorDir = "/srv/www/hermes/herminator";
#$HerminatorDir = "/var/lib/hermes";
# Enable jabber initialisation in hermesworker. This setting should be
# switched off for debugging if jabber is not used.
$WorkerInitJabber = 0;
# Twitter - enable it by setting $DeliverTwitter to non zero and
# provide valid twitter credentials as attributes to the delivery
# in the database
$DeliverTwitter = 1;
# Debug Twitter - set to non zero to debug twitter. The twitter sending
# routine is called but does not do anything but returning a valid id.
$DebugTwitter = 0;
#
# OBS API Connection, the top level url of the OBS incl. port
$OBSAPIBase = "http://api.turbolinux.com.cn";
#
# the OBS API credentials
$OBSAPIUser = 'Admin';
#$OBSAPIPwd = 'opensuse';
$OBSAPIPwd = 'turbolinux';
# OBS max response size: Specifiy the maximum response body size in byte.
$OBSMaxResponseSize = 1024;
#
# GPG Mail Signing
# Enable this to make Hermes sending out signed emails.
# Note that this can have a performance impact. Also make sure your key is
# protected enough!
# Switched off by default
$EnableMailSigning = 0;
$GPGKeyId = '';
$GPGPassphrase = '';
$GPGHome = '';
#
#
# authentication setting
# Use the term 'ichain' to use Novell iChain authentication.
# Use ichaintest-<name> to simulate iChain in devel environment.
# Use the term 'http-server' to use basic authentication handled by
# http server. That can be basic auth or LDAP for example.
#$authentication = "ichaintest-Admin";
$authentication = "http-server";
# leave the one at the end.
1;