All:
We''re going to need to reevaluate provider/service/freebsd.rb in big
ways.
For example:
service { "cron":
enable => "true",
ensure => "running"
}
Will write /etc/rc.conf.d/cron w/ cron_enable=YES
despite /etc/defaults/rc.conf having cron_enable=YES
Intelligence can be added by source(1)''ing /etc/rc.subr
and running checkyesno() against $SERVICE_enable
rc.conf(5) lends itself to Regexp butchering very nicely.
Also, with services like ports/sysutils/syslog-ng{,2,3}:
$name=syslog_ng but rc(8) script is local/etc/rc.d/syslog-ng, so
we''ll need hooks for that kind of situation.
godhelpme% wc -l /etc/rc /etc/rc.subr /etc/defaults/rc.conf
122 /etc/rc
1572 /etc/rc.subr
666 /etc/defaults/rc.conf
2360 total
The code is already there, we just need to tie into it.
lukem@netbsd spent weeks locked in a room so that we don''t have to..
~BAS
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---