logo       

freebsd service management redux: msg#00283

sysutils.puppet.user

Subject: freebsd service management redux

After reading the rc.subr(8) man page and Newburns's article on the rc.d
subsystem[1],
It's clear that a rc.conf.d per service file structure is already natively
supported on
FreeBSD.

I've verified this with my own testing:

# echo puppetmasterd_enable=\"YES\" > /etc/rc.conf.d/puppetmasterd
# /usr/local/etc/rc.d/puppetmasterd start
Performing sanity check of puppetmasterd configuration: OK
Starting puppetmasterd.
# /usr/local/etc/rc.d/puppetmasterd stop
Stopping puppetmasterd.
Waiting for PIDS: 53822.

Obviously, I made sure it wasn't enabled in rc.conf.

Just to clear any doubt:

# echo puppetmasterd_enable=\"NO\" > /etc/rc.conf.d/puppetmasterd
# /usr/local/etc/rc.d/puppetmasterd start
<nada>

It's kinda embarrassing I didn't already know this. On the other hand, this
seams to be an
obscure feature.

[1] http://www.mewburn.net/luke/papers/rc.d.pdf
--
Russell A. Jackson <raj@xxxxxxxx>
Network Analyst
California State University, Bakersfield

Everything is controlled by a small evil group
to which, unfortunately, no one we know belongs.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Puppet-users mailing list
Puppet-users@xxxxxxxxxxx
https://mail.madstop.com/mailman/listinfo/puppet-users
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise