Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: StefanZ on November 01, 2001, 02:09:30 AM

Title: Omit or Skip UNIX config files
Post by: StefanZ on November 01, 2001, 02:09:30 AM
Hello,

Is it possible to set the e-smith system to skip or omit specific config files when it runs through its update process? I would like to set some of the UNIX config files (for example: smb.conf, aliases, squid.conf) to be ingnored by the e-smith modification system. I realize that I can make manual modifications to the templates, but I would prefer to simply set some files to be "off limits".  
Please advise.

Thanks and regards,

Stefan
Title: Re: Omit or Skip UNIX config files
Post by: Rich Lafferty on November 01, 2001, 02:12:46 AM
There's no feature to turn off template expansion for a
particular component of SME Server -- nor do you want to make
modifications to the templates (since your changes could be lost
during an update or upgrade). Instead, make a custom template.

An overview of the templating system, including custom templates,
is available at

http://www.e-smith.org/docs/papers/templates.html

Cheers,

  -Rich
Title: Re: Omit or Skip UNIX config files
Post by: stephen noble on November 01, 2001, 04:49:49 AM
mv template/thing template/savejustincasething
Title: Re: Omit or Skip UNIX config files
Post by: StefanZ on November 01, 2001, 07:30:45 AM
I am not sure that custom templates are the answer for me.  I want to edit certain actual config files by hand or with a tool like webmin. Once this has been done, I don't want e-smith to touch them anymore. I want specific LINUX config files excluded from the batch modification process.

Can this be done?
Title: Re: Omit or Skip UNIX config files
Post by: stephen noble on November 01, 2001, 08:20:54 AM
i didn't say to use custom templates

if you move (or delete if your confidant) the original template,
it doesn't exit to overwrite your hand coded/modified version



stephen
Title: Re: Omit or Skip UNIX config files
Post by: StefanZ on November 01, 2001, 05:33:00 PM
Really? So we can delete the template altogether? Have you tried
this? I would assume errors would be generated.

If not. This is great news. Thanks much.

Best regards,

Stefan
Title: Re: Omit or Skip UNIX config files
Post by: stephen noble on November 02, 2001, 01:19:44 AM
>Really? So we can delete the template altogether? Have you tried
>this? I would assume errors would be generated.

maybe a warning, i do this for one template
it's a slippery slope if you take this route ;-)

sn