1 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
5 The contents of this file are subject to the terms of the
6 Common Development and Distribution License (the "License").
7 You may not use this file except in compliance with the License.
9 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 or http://www.opensolaris.org/os/licensing.
11 See the License for the specific language governing permissions
12 and limitations under the License.
14 When distributing Covered Code, include this CDDL HEADER in each
15 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 If applicable, add the following below this CDDL HEADER, with the
17 fields enclosed by brackets "[]" replaced with your own identifying
18 information: Portions Copyright [yyyy] [name of copyright owner]
22 Copyright(c) 2018 Till Wegmueller
25 <service_bundle type="manifest" name="salt">
26 <service name="application/salt" type="service" version="1">
27 <dependency name="filesystem" grouping="require_all" restart_on="error" type="service">
28 <service_fmri value="svc:/system/filesystem/minimal"/>
30 <dependency name="network" grouping="require_all" restart_on="error" type="service">
31 <service_fmri value="svc:/milestone/network"/>
33 <dependency name="identity" grouping="require_all" restart_on="error" type="service">
34 <service_fmri value="svc:/system/identity:node"/>
36 <exec_method type="method" name="start" exec=":true" timeout_seconds="60"/>
37 <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>
38 <instance name="master" enabled="false">
39 <exec_method type="method" name="start" exec="/usr/bin/salt-master -d --log-file=%{config/logdest} -c %{config/confdir}" timeout_seconds="600"/>
40 <property_group name="config" type="application">
41 <propval name="logdest" type="astring" value="/var/log/salt/master.log"/>
42 <propval name="confdir" type="astring" value="/etc/salt"/>
45 <instance name="minion" enabled="false">
46 <exec_method type="method" name="start" exec="/usr/bin/salt-minion -d --log-file=%{config/logdest} -c %{config/confdir}" timeout_seconds="600"/>
47 <property_group name="config" type="application">
48 <propval name="logdest" type="astring" value="/var/log/salt/minion.log"/>
49 <propval name="confdir" type="astring" value="/etc/salt"/>
52 <stability value="Unstable"/>