User config file management. Include is good. Static is problematic.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

In Fedora various applications/tools/utils (like yum, Apache, cron,
xinetd, logrotate, pam, etc) gracefully handle user configuration files
by providing a "*.d" directory in which user config files can be placed
(that do not conflict with the base package's configuration files) and
are then include'ed into the config on host/application startup.  This
allows user configurations to be installed on systems via RPM without
conflicts and other clunkiness.

Squid is one package that is the exception with a squid.conf file owned
by the RPM and no way for user definitions to be included ( that I know
of ). I'm just using squid as an example, not blaming it for anything by
the way as I know many other packages operate this way like postfix etc.
Now normally in small environments this isn't a problem as squid updates
would drop in a squid.conf.rpmnew file and all will be ok with the
world.  But this means that home grown configs cannot be deployed via
RPM due to conflict issues.

So if you have a cluster of 10,15,20 servers running an application like
this what does the Fedora community recommend?  Use CFengine, rpm
--force, roll our own RPMs, scp scripts to copy over files?  Right now I
prefer to have configs in RPM as it allows an easy deploy via
yum/kickstart and of course easy version control, verification and
rollback.

I've always been a fan of the most simple solution so I'd be interested
to hear what others are doing. I'm also considering either requesting a
change from various package maintainers or requesting this as a fedora
standard if anybody else thinks that would be useful.

Cheers,


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux