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@csub.edu> Network Analyst California State University, Bakersfield Everything is controlled by a small evil group to which, unfortunately, no one we know belongs. _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
Russell Jackson wrote:> 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 > >I''ve opened a ticket for this. http://reductivelabs.com/trac/puppet/ticket/880 -- Russell A. Jackson <raj@csub.edu> Network Analyst California State University, Bakersfield Three minutes'' thought would suffice to find this out; but thought is irksome and three minutes is a long time. -- A. E. Houseman _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
i tested on my 6.2-RELEASE FreeBSD and also on FreeBSD 4.7-RELEASE-p28 and it work also like a charm ! the rc.conf.d directory is really a good news i wasn''t aware of ! great way to enhance the freebsd provider then :) -- Cordialement, Ghislain ADNET. AQUEOS. Attention ! Toute demande de support ou commande de domaine par email sera refusée, pour cela utilisez https://support.aqueos.net. Pour tout contact nos coordonnées : http://www.aqueos.com/aqueos-services-informatiques-societe.php Fax: 01.72.70.32.66 _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
ADNET Ghislain wrote:> i tested on my 6.2-RELEASE FreeBSD and also on FreeBSD 4.7-RELEASE-p28 > and it work also like a charm ! > > the rc.conf.d directory is really a good news i wasn''t aware of ! > > great way to enhance the freebsd provider then :) >I wasn''t aware 4.7 had the new rc.d framework. I guess it was back-ported at some point. All the better then. -- Russell A. Jackson <raj@csub.edu> Network Analyst California State University, Bakersfield John Birch Society: That pathetic manifestation of organized apoplexy. -- Edward P. Morgan