Install the Host Factory binaries on your distribution using instructions here. Download the source.
Get vagrant working, then run the demo /opt/hfbulk/demo/demo.sh
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
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\\$ " EOF
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 Brian Bartholomew
Version control: 95415322e7484412c20f1865760617268e7831b6 on 2018-06-18 16:00 -0400