
Can anyone explain to me... 1) what events or circumstances cause generation of configuration files with names like "ZZZAuto.pm" in the /Kernel/Config directory? 2) why these files, when generated, overwrite settings I have made in the Config.pm file (e.g. names of mail servers)? Thanks, Jim Edlin Business Applications Architect Tides Network [t] 415.561.6304 [f] 415.561.6401 [e] jedlin@tides.org [w] www.tides.org Tides actively promotes change toward a healthy society, one which is founded on principles of social justice, broadly shared economic opportunity, a robust democratic process, and sustainable environmental practices. Tides believes healthy societies rely fundamentally on respect for human rights, the vitality of communities, and a celebration of diversity.

On 10/16/07 2:12 PM, "Jim Edlin"
Can anyone explain to me...
1) what events or circumstances cause generation of configuration files with names like "ZZZAuto.pm" in the /Kernel/Config directory?
From using SysConfig within otrs.
2) why these files, when generated, overwrite settings I have made in the Config.pm file (e.g. names of mail servers)?
That¹s why its ³ZZZ², the configuration files are parsed in alphabetical order so the last file read will ³overwrite² any settings parsed in previous config files.
Thanks, Jim Edlin Business Applications Architect Tides Network [t] 415.561.6304 [f] 415.561.6401 [e] jedlin@tides.org [w] www.tides.org Tides actively promotes change toward a healthy society, one which is founded on principles of social justice, broadly shared economic opportunity, a robust democratic process, and sustainable environmental practices. Tides believes healthy societies rely fundamentally on respect for human rights, the vitality of communities, and a celebration of diversity.
HTH, Andy
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/
--

Jim Edlin wrote:
Can anyone explain to me...
1) what events or circumstances cause generation of configuration files with names like "ZZZAuto.pm" in the /Kernel/Config directory?
Usage of the SysConfig section in OTRS.
2) why these files, when generated, overwrite settings I have made in the Config.pm file (e.g. names of mail servers)?
I believe they don't override the settings in Config.pm. As someone pointed out recently first the defaults are set (Defaults.pm), then the settings from SysConfig are applied (the ZZZ-files) and then come the settings from Config.pm. So I believe the settings from Config.pm should override settings set through SysConfig. Nils.

Nils Breunese wrote:
Jim Edlin wrote:
Can anyone explain to me...
1) what events or circumstances cause generation of configuration files with names like "ZZZAuto.pm" in the /Kernel/Config directory?
Usage of the SysConfig section in OTRS.
2) why these files, when generated, overwrite settings I have made in the Config.pm file (e.g. names of mail servers)?
I believe they don't override the settings in Config.pm. As someone pointed out recently first the defaults are set (Defaults.pm), then the settings from SysConfig are applied (the ZZZ-files) and then come the settings from Config.pm. So I believe the settings from Config.pm should override settings set through SysConfig.
Reading Andy Lubel's mail: I might be wrong and Andy might be right. Nils Breunese.

I repost the explanation from Henning Oschwald for clarity.
OTRS reads its configuration from several locations:
1. Kernel/Config/Defaults.pm stores default configuration settings. This
is the first file from which configuration settings are beeing read.
2. Kernel/Config/Files/ZZZAAuto.pm and Kernel/Config/files/ZZZAuto.pm
contain the configuration settings made over Sysconfig and are the
next place from where configuration settings are
collected. ZZZAAuto.pm contains _all_ config options available in
Sysconfig with their default values, whereas ZZZAuto.pm stores your
modifications made from the Sysconfig. ZZZAuto.pm stores only the
settings which differ from the default.
3. Finally, Kernel/Config.pm is beeing read.
The important thing to understand is that a configuration setting which
has been modified e.g. from the Sysconfig is overwritten, if the same
setting is also listed in Config.pm. In general, Configuration options
which are set in Config.pm can not be modified from Sysconfig.
Bye
Gabriele
----- Original Message -----
From: "Nils Breunese (Lemonbit)"
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support or consulting for your OTRS system? => http://www.otrs.com/
participants (4)
-
Andy Lubel
-
Gabriele D'Andrea
-
Jim Edlin
-
Nils Breunese (Lemonbit)