Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-4795

smf.rb provider for service - manifest does not work for S11.x

    Details

    • Template:
    • Team:
      Night's Watch

      Description

      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 svcadm enable -s newservice fails, as it runs too quickly. If you could just specify a manifest w/o having to issue ensure => running this would work fine. But manifest is called from within the startcmd function via self.setupservice

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                leafmulch Jes Ferrier
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Zendesk Support