by default pkg install/update does not wait for smf actuators to finish before continuing
I've observed several instances of puppet installing a package and then
trying to start a service or modify service properties, resulting in failures
noting that the service doesn't exist.
svcadm enable -rs nova-conductor:default claims that nova-conductor:upgrade
doesn't exist as s service.
svccfg -s keystone:default setprop claims that keystone:default doesn't
If you go look at the system later, they do exist.
I've caught it in action several times and this is the problem:
The system is restarting and sometimes it has 15-20 manifests to import, so
it is taking some time.
The puppet provider needs to wait for this service to quiesce before it
considers the package actually installed.