Install the Host Factory binaries on your distribution using instructions here. Download the source.

Get vagrant working, then run the demo /opt/hfbulk/demo/

Read the manual pages for hfdist, hflog, hfcheck, sl, oh, oe, oewatch, hflayers(5), and hflayers(1)

Run oewatch -w, then run oe-demo

Briefly survey your installed base of hosts and be surprised how much differs hfdist /usr /usr foohost barhost

Get mysql working using these scripts from the source
build-site/apt-get-packages/precise-12/ or

Create your site's database forkdb hfexample1 mysite1

Edit all database tables to match your site mysql mysite1 or mysql-navigator

Make a script to source to set HFGENDB, then use it . mysite

$ cat << 'EOF' > ~/bin/mysite

# use ". mysite" in bash to find via PATH

export HFGENDB=mysite1

PS1="$HFGENDB $USER@\\h:\\w\\$ "

Create your site's flat file generator scripts cp -va /opt/hfgen/hfexample /opt/hfgen/mysite

cd /opt/hfgen/mysite and edit */Generator scripts to produce flat files matching your site.

Run hfgen. Examine output in hfgen.out/mysite1/*, debug flat file generator programs, and rerun particular ones like hfgen mailandhostname passwdgroup

Contact us here and ask about the state of the art in constructing a model/template host filetree. There are several examples available, and the future direction is hfcompose

Start regularizing your systems by controlling the more predictable files, and grow towards the less predictable files. First control /usr and the portions of /var which contain your package system. Turn off automatic package updates to make it hold still so you can manage it. Then generate /etc files.

Copyright © 1994, 1995, 1996, 1997, 1998, 1999, 2002, 2003, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Brian Bartholomew
Version control: bebe34c152653803a3c874b6e206feaa2cd1923a on 2019-12-14 01:25 -0500