I'm kinda surprised that an SMF module for Solaris wasnt made before.
(that is to say, yes there is support for enabling a pre-existing SMF
service... but there isnt one for creating one from scratch)
So here's an announcement of a new puppet forge module:
https://forge.puppetlabs.com/ppbrown/smf
It lets you take any existing demon binary, and use puppet to make an SMF
wrapper for it.
All you have to do is:
smf::service { "yourservicename":
service_command => "/usr/sbin/somename -optional args"
}
and the module takes care of creating svc:/site/yourservicename for you
You can use either the autogenerated SMF config, or provide your own custom
one.
Ideally, someone should extend the puppet 'service' handler to take
arguments for this stuff, when the provider is solaris.
But that someone ain't me :)
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/5a44ffdc-db6e-4f25-afad-cc3f150cc41d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.