Displaying 1 result from an estimated 1 matches for "bsdrcconf".
2007 Sep 02
0
handling rc.conf / freebsd init scripts
...working
really well for me so far.
keep in mind that i use the following settings:
configdir = /usr/local/etc/puppet
vardir = /k/vol01/puppet
templatedir = $vardir/templates
my solution consists of a few .pp files and a template:
$configdir/manifests/os/freebsd.pp
$configdir/manifests/classes/bsdrcconf.pp
$configdir/manifests/nodes/host.pp (one for each host)
$templatedir/rc.conf.erb
---
and now the meat & potatoes:
::hostname.pp:: (keep in mind you should have a file for each node! or
put them all in one file)
node "host.domain.com" inherits basenode {
$hostname = &qu...