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 an postinstall script
whenever its 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 has only been tested on our
Debian Linux 3.1 (sarge) and later systems and on FreeBSD 6.1.
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
- Allow non-root to use dphys-config to distribute dot files
Milestone/Release 2 (2006.10.20):
- Bugfix non-root mode to actually work, no writing into /etc/
- Changed to also work with newer sed comming with in Debian sid
- Linked to official Debian package in sid (will become etch)
- Code and documentation tidy ups, some from early feedback
- Extensive quoting improvements against possible escaping bugs
- Path handling and other changes to work also on FreeBSD 6.1
Milestone/Release 3 (2009.09.26):
- Added file: URL support, as wget does not implement that
- Bugfixes for HTTP status codes, preprocessing handle spaces
- Facultatively user set hostname for install in xen guests/vhosts
- Remove various bashisms, so it will work with Debians dash
- Use mktemp if the users system has it
Milestone/Release 4 (2010.02.16):
- fixed wget LANG= dependancy which broke file downloads
- added new -D DEBUG_* option for keeping last wget output file
- changed 2 unusual spelling variants which Lintian dislikes
Current (= development, = may be fantastic, may be broken):
Todo are:
Code Download
Current (= development, = may be fantastic, 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 site config, containing an
list of files to process, together with example files used in
this list, some of which are quite useful scripts (
expand /etc/fstab,
generate /etc/exports from fstab,
setup quota from fstab,
expand /etc/modules for USB storage,
generate XFree config from simple description)
-
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 4 (2010.02.16):
-
Installation Guide
- entire project:
dphys-config-20100216.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 site config, containing an
list of files to process, together with example files used in
this list, some of which are quite useful scripts (
expand /etc/fstab,
generate /etc/exports from fstab,
setup quota from fstab,
expand /etc/modules for USB storage,
generate XFree config from simple description)
-
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 3 (2009.09.26):
-
Installation Guide
- entire project:
dphys-config-20090926.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 site config, containing an
list of files to process, together with example files used in
this list, some of which are quite useful scripts (
expand /etc/fstab,
generate /etc/exports from fstab,
setup quota from fstab,
expand /etc/modules for USB storage,
generate XFree config from simple description)
-
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 2 (2006.10.20):
-
Installation Guide
- entire project:
dphys-config-20061020.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 site config, containing an
list of files to process, together with example files used in
this list, some of which are quite useful scripts (
expand /etc/fstab,
generate /etc/exports from fstab,
setup quota from fstab,
expand /etc/modules for USB storage,
generate XFree config from simple description)
-
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 site config, containing an
list of files to process, together with example files used in
this list, some of which are quite useful scripts (
expand /etc/fstab,
setup quota,
expand /etc/modules for USB storage,
generate XFree config from simple description)
-
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 useful:
Home |
Projects | dphys-config
This page is by Neil Franklin, last modification 2010.02.16