Home |
Projects | dphys-config
dphys-config Configuration Manager
Project Basics
Project Status
Code Download
External Stuff (Links)
Project Basics
This project is aimed at installing (and keeping update) the site specific
config files we want, after preprocessing them (conditional content and
include files and include sections). It also triggers postinstall scripts
whenever their associated config file has been changed. It can also remove
config files, including running an preremove script before doing so. All
this is driven by an simple config file list.
This project has produced an dphys-config script
for doing the work. And an cron job and an
init.d script that run this script nightly and
at boot time.
This project was spawned from the dphys-admin
project, aimed at automatically installing Debian packages onto our
systems, but is itsself independant of dphys-admin or any other Debian
stuff. It should work on any Unix system, but is only tested on our Debian
Linux 3.1 (sarge) systems.
Project Status
For the full details of done/doing/todo of the project best read the
Logfile. A short excerpt from it is here:
Done are:
Milestone/Release 1 (2006.09.15):
- Fetch config file list, host dependant
- Fetch config files driven by above, host dependant
- Merge in host or group dependant "include" files or "if" lines to
files
- Install/update config file where it belongs, if it is new or has
changed
- Run an postinstall script if config file was installed/updated
- Run an preremove script if a config file shall disappear
- Remove unwanted config files
Current (= development, = may be broken):
Todo are:
Code Download
Current (= development, = may be broken):
-
Installation Guide
- entire project:
dphys-config.tar.gz
- single files:
-
Makefile, control process
-
dphys-config, automatically install/update config files and run
scripts, run by cron or init
-
dphys-config.1, man page for dphys-config
-
dphys-config.example, example config file, containing only the
default settings as comments, to adapt to your site
-
site.example, example list of files to process, together with
example files used in this list, some of which are quite usefull:
-
dphys-config.list, list of files to process
-
local/sbin/dphys-config-x, script to generate XFree config
from an simple feature list config file
-
dphys-config-x, config file for above
-
dphys-config-filesys, script to expand /etc/fstab and make
the stuff it points to
-
dphys-config-filesys.list, config file for above
-
dphys-config-quota, set up quota, but only for tracing which
user ist using how much disk space, no quota enforcement
-
dphys-config-quota.list, config file for above
-
dphys-config-alternatives, set up /etc/alternatives
-
usb-storage.dev, auto mount/umount USB storage devices when
their udev events happen, use filesystem label as mountpoint
-
dphys-config-usb-storage, load modules for above
-
cron.d.example, example cron job to run dphys-config every night,
for automatic updates
-
init.d.example, example init.d script to run dphys-config every
boot, to catchup on missed automatic updates
Milestone/Release 1 (2006.09.15):
-
Installation Guide
- entire project:
dphys-config-20060915.tar.gz
- single files:
-
Makefile, control process
-
dphys-config, automatically install/update config files and run
scripts, run by cron or init
-
dphys-config.1, man page for dphys-config
-
dphys-config.example, example config file, containing only the
default settings as comments, to adapt to your site
-
site.example, example list of files to process, together with
example files used in this list, some of which are quite usefull:
-
dphys-config.list, list of files to process
-
local/sbin/dphys-config-x, script to generate XFree config
from an simple feature list config file
-
dphys-config-x, config file for above
-
dphys-config-filesys, script to expand /etc/fstab and make
the stuff it points to
-
dphys-config-filesys.list, config file for above
-
dphys-config-quota, set up quota, but only for tracing which
user ist using how much disk space, no quota enforcement
-
dphys-config-quota.list, config file for above
-
dphys-config-alternatives, set up /etc/alternatives
-
usb-storage.dev, auto mount/umount USB storage devices when
their udev events happen, use filesystem label as mountpoint
-
dphys-config-usb-storage, load modules for above
-
cron.d.example, example cron job to run dphys-config every night,
for automatic updates
-
init.d.example, example init.d script to run dphys-config every
boot, to catchup on missed automatic updates
External Stuff (Links)
Various links that may be usefull:
Home |
Projects | dphys-config
This page is by Neil Franklin, last modification 2006.09.15