Mark,

Been using CSWpuppet3 packages for a few weeks now, thanks very much.

I have found the client SMF manifest needs to be updated to reflect the new 
invocation (puppet agent vs puppetd):

svccfg delete cswpuppetmasterd

cat <<EOF | svccfg import -

<?xml version='1.0'?>

<!DOCTYPE service_bundle SYSTEM 
'/usr/share/lib/xml/dtd/service_bundle.dtd.1'>

<service_bundle type='manifest' name='export'>

  <service name='network/cswpuppetmasterd' type='service' version='0'>

    <single_instance/>

    <dependency name='fs' grouping='require_all' restart_on='none' 
type='service'>

      <service_fmri value='svc:/system/filesystem/local'/>

    </dependency>

    <dependency name='net' grouping='require_all' restart_on='none' 
type='service'>

      <service_fmri value='svc:/network/loopback'/>

    </dependency>

    <exec_method name='start' type='method' exec='/opt/csw/bin/puppet 
master' timeout_seconds='120'>

      <method_context/>

    </exec_method>

    <exec_method name='stop' type='method' exec=':kill -SIGTERM' 
timeout_seconds='60'>

      <method_context/>

    </exec_method>

    <exec_method name='restart' type='method' exec=':kill -SIGHUP' 
timeout_seconds='180'>

      <method_context/>

    </exec_method>

    <instance name='default' enabled='true'>

      <property_group name='general' type='framework'>

        <propval name='package' type='astring' value='CSWpuppetmaster3'/>

      </property_group>

    </instance>

  </service>

</service_bundle>

EOF

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/KU-pyENaIXQJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to