|
manifest and startcmd are incompatible:-
The smf.rb provider checks status, adds the manifest, checks the status, enables the service (again) gives an error, as svccfg hasn't had time to complete registration of the new service.
-
puppet apply -d -e "service {'newservice': manifest => '/lib/svc/manifest/site/newservice.xml', ensure => 'running'}
"
It adds the service, but puppet then errors, as the 2nd svcs -l fails.
|