ispman.conf - proposal to split in two files

Andreas John <lists-qqKX2RIXbnLLeiHq/[email protected]> Wed, 31 May 2006 01:17:38 +0200
Newsgroups gmane.comp.isp.ispman.devel
Message-ID <[email protected]>
Hello!

After Upgrading ISPMan I recently was plagued by the annoyance that the
last lines of ispman.conf (the only file I didnt upgrade) changed with
the version (I mean the stuff beginning from
$Config->{'ispmanUserObjectclasses' ...)

So avoid hassles when upgrading I would like to propose to split the
config file:

I tried that like this:

ispman.conf:
[....]
# Objectclasses for different objects
do 'ispman.versiondependentvars';
1;

And 'ispman.versiondependentvars';
# Objectclasses for different objects
$Config->{'ispmanUserObjectclasses'}=["posixAccount",
"ispmanDomainUser", "radiusprofile"];
$Config->{'ispmanGroupObjectclasses'}=["posixGroup",
"ispmanDomainUserGroup"];
.....

I dont see a reason why those vars should be in the conf file - does
anyone change that?

rgds,
Andreas


-- 
Andreas John
net-lab GmbH
Luisenstrasse 30b
63067 Offenbach
Tel: +49 69 85700331

http://www.net-lab.net


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642