Koozali.org: home of the SME Server

Omit or Skip UNIX config files

StefanZ

Omit or Skip UNIX config files
« 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

Rich Lafferty

Re: Omit or Skip UNIX config files
« Reply #1 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

stephen noble

Re: Omit or Skip UNIX config files
« Reply #2 on: November 01, 2001, 04:49:49 AM »
mv template/thing template/savejustincasething

StefanZ

Re: Omit or Skip UNIX config files
« Reply #3 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?

stephen noble

Re: Omit or Skip UNIX config files
« Reply #4 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

StefanZ

Re: Omit or Skip UNIX config files
« Reply #5 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

stephen noble

Re: Omit or Skip UNIX config files
« Reply #6 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