17 fields enclosed by brackets "[]" replaced with your own identifying |
17 fields enclosed by brackets "[]" replaced with your own identifying |
18 information: Portions Copyright [yyyy] [name of copyright owner] |
18 information: Portions Copyright [yyyy] [name of copyright owner] |
19 |
19 |
20 CDDL HEADER END |
20 CDDL HEADER END |
21 |
21 |
22 Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
22 Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. |
23 |
23 |
24 NOTE: This service manifest is not editable; its contents will |
24 NOTE: This service manifest is not editable; its contents will |
25 be overwritten by package or patch operations, including |
25 be overwritten by package or patch operations, including |
26 operating system upgrade. Make customizations in a different |
26 operating system upgrade. Make customizations in a different |
27 file. |
27 file. |
35 <service_fmri value="svc:/milestone/network"/> |
35 <service_fmri value="svc:/milestone/network"/> |
36 </dependency> |
36 </dependency> |
37 <dependency name="identity" grouping="require_all" restart_on="error" type="service"> |
37 <dependency name="identity" grouping="require_all" restart_on="error" type="service"> |
38 <service_fmri value="svc:/system/identity:node"/> |
38 <service_fmri value="svc:/system/identity:node"/> |
39 </dependency> |
39 </dependency> |
40 <dependency name="puppet_self-assembly-complete" grouping="optional_all" restart_on="none"> |
40 <dependency name="puppet_self-assembly-complete" grouping="optional_all" restart_on="none" type="service"> |
41 <service_fmri value="svc:/milestone/self-assembly-complete"/> |
41 <service_fmri value="svc:/milestone/self-assembly-complete"/> |
42 </dependency> |
42 </dependency> |
43 <exec_method type="method" name="start" exec=":true" timeout_seconds="60"/> |
43 <exec_method type="method" name="start" exec=":true" timeout_seconds="60"/> |
44 <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/> |
44 <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/> |
45 <exec_method type="method" name="refresh" exec=":true" timeout_seconds="0"/> |
45 <exec_method type="method" name="refresh" exec=":true" timeout_seconds="0"/> |
69 </instance> |
69 </instance> |
70 <instance name="main" enabled="false"> |
70 <instance name="main" enabled="false"> |
71 <!-- |
71 <!-- |
72 The main instance exists to hold shared configuration values. |
72 The main instance exists to hold shared configuration values. |
73 --> |
73 --> |
|
74 <exec_method type="method" name="start" exec=":true" timeout_seconds="0"/> |
|
75 <exec_method type="method" name="stop" exec=":true" timeout_seconds="0"/> |
74 <property_group name="config" type="application"> |
76 <property_group name="config" type="application"> |
75 <propval name="vardir" type="astring" value="/var/cache/puppetlabs"/> |
77 <propval name="vardir" type="astring" value="/var/cache/puppetlabs"/> |
76 <propval name="rundir" type="astring" value="/var/run/puppetlabs"/> |
78 <propval name="rundir" type="astring" value="/var/run/puppetlabs"/> |
77 <propval name="confdir" type="astring" value="/etc/puppetlabs/puppet"/> |
79 <propval name="confdir" type="astring" value="/etc/puppetlabs/puppet"/> |
78 </property_group> |
80 </property_group> |
79 <exec_method type="method" name="start" exec=":true" timeout_seconds="0"/> |
|
80 <exec_method type="method" name="stop" exec=":true" timeout_seconds="0"/> |
|
81 </instance> |
81 </instance> |
82 <instance name="user" enabled="false"> |
82 <instance name="user" enabled="false"> |
83 <!-- |
83 <!-- |
84 user is used by the Puppet apply command, as well as many of the less |
84 user is used by the Puppet apply command, as well as many of the less |
85 common Puppet subcommands. |
85 common Puppet subcommands. |
86 --> |
86 --> |
|
87 <exec_method type="method" name="start" exec=":true" timeout_seconds="0"/> |
|
88 <exec_method type="method" name="stop" exec=":true" timeout_seconds="0"/> |
87 <property_group name="config" type="application"> |
89 <property_group name="config" type="application"> |
88 <propval name="vardir" type="astring" value="/var/cache/puppetlabs"/> |
90 <propval name="vardir" type="astring" value="/var/cache/puppetlabs"/> |
89 <propval name="rundir" type="astring" value="/var/run/puppetlabs"/> |
91 <propval name="rundir" type="astring" value="/var/run/puppetlabs"/> |
90 <propval name="confdir" type="astring" value="/etc/puppetlabs/puppet"/> |
92 <propval name="confdir" type="astring" value="/etc/puppetlabs/puppet"/> |
91 </property_group> |
93 </property_group> |
92 <exec_method type="method" name="start" exec=":true" timeout_seconds="0"/> |
|
93 <exec_method type="method" name="stop" exec=":true" timeout_seconds="0"/> |
|
94 </instance> |
94 </instance> |
95 <instance name="master" enabled="false"> |
95 <instance name="master" enabled="false"> |
96 <exec_method type="method" name="start" exec="/usr/sbin/puppet master --logdest %{config/logdest}" timeout_seconds="600"/> |
96 <exec_method type="method" name="start" exec="/usr/sbin/puppet master --logdest %{config/logdest}" timeout_seconds="600"/> |
97 <property_group name="config" type="application"> |
97 <property_group name="config" type="application"> |
98 <propval name="logdest" type="astring" value="/var/log/puppetlabs/puppet/puppet-master.log"/> |
98 <propval name="logdest" type="astring" value="/var/log/puppetlabs/puppet/puppet-master.log"/> |