4458N/A<?xml version="1.0" ?>
4458N/A<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
4458N/A<!--
4458N/A Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
4458N/A
4458N/A Licensed under the Apache License, Version 2.0 (the "License"); you may
4458N/A not use this file except in compliance with the License. You may obtain
4458N/A a copy of the License at
4458N/A
4458N/A http://www.apache.org/licenses/LICENSE-2.0
4458N/A
4458N/A Unless required by applicable law or agreed to in writing, software
4458N/A distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
4458N/A WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
4458N/A License for the specific language governing permissions and limitations
4458N/A under the License.
4458N/A
4458N/A NOTE: This service manifest is not editable; its contents will
4458N/A be overwritten by package or patch operations, including
4458N/A operating system upgrade. Make customizations in a different
4458N/A file.
4458N/A-->
4458N/A<service_bundle type="manifest" name="ironic-db">
4458N/A
4458N/A <service version="1" type="service"
4458N/A name="application/openstack/ironic/ironic-db">
4458N/A
4458N/A <dependency name='multiuser' grouping='require_all' restart_on='error'
4458N/A type='service'>
4458N/A <service_fmri value='svc:/milestone/multi-user:default' />
4458N/A </dependency>
4458N/A
5403N/A <dependency name='upgrade' grouping='require_all' restart_on='none'
5403N/A type='service'>
5403N/A <service_fmri value='svc:/application/openstack/ironic/ironic-upgrade' />
5403N/A </dependency>
5403N/A
4458N/A <dependency name='ntp' grouping='optional_all' restart_on='none'
4458N/A type='service'>
4458N/A <service_fmri value='svc:/network/ntp'/>
4458N/A </dependency>
4458N/A
4458N/A <dependency name='mysql' grouping='optional_all' restart_on='none'
4458N/A type='service'>
4458N/A <service_fmri value='svc:/application/database/mysql'/>
4458N/A </dependency>
4458N/A
4458N/A <logfile_attributes permissions='600'/>
4458N/A
4458N/A <exec_method timeout_seconds="60" type="method" name="start"
4458N/A exec="/lib/svc/method/ironic-db %m %{config/config_path}">
4458N/A <method_context>
4458N/A <method_credential user='ironic' group='ironic' />
4458N/A </method_context>
4458N/A </exec_method>
4458N/A <exec_method timeout_seconds="60" type="method" name="stop"
4458N/A exec=":true"/>
4458N/A
4458N/A <property_group type="framework" name="startd">
4458N/A <propval type="astring" name="duration" value="transient"/>
4458N/A </property_group>
4458N/A
4458N/A <instance name='default' enabled='false'>
4458N/A <!-- to start/stop/refresh the service -->
4458N/A <property_group name='general' type='framework'>
4458N/A <propval name='action_authorization' type='astring'
4458N/A value='solaris.smf.manage.ironic' />
4458N/A <propval name='value_authorization' type='astring'
4458N/A value='solaris.smf.value.ironic' />
4458N/A </property_group>
4458N/A <property_group name='config' type='application'>
4458N/A <propval name='config_path' type='astring'
4458N/A value='/etc/ironic/ironic.conf'/>
4458N/A </property_group>
4458N/A </instance>
4458N/A
4458N/A <template>
4458N/A <common_name>
4458N/A <loctext xml:lang="C">
4458N/A OpenStack Ironic Database Creation Service
4458N/A </loctext>
4458N/A </common_name>
4458N/A <description>
4458N/A <loctext xml:lang="C">
4458N/A ironic-db is a transient service to create the Ironic database if
4458N/A required.
4458N/A </loctext>
4458N/A </description>
4458N/A </template>
4458N/A </service>
4458N/A</service_bundle>