components/openstack/heat/files/heat-engine.xml
branchs11u2-sru
changeset 3327 5abdd1497a6a
child 3998 5bd484384122
equal deleted inserted replaced
3326:030508e3f1bd 3327:5abdd1497a6a
       
     1 <?xml version="1.0" ?>
       
     2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
       
     3 <!--
       
     4  Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
       
     5 
       
     6  Licensed under the Apache License, Version 2.0 (the "License"); you may
       
     7  not use this file except in compliance with the License. You may obtain
       
     8  a copy of the License at
       
     9 
       
    10       http://www.apache.org/licenses/LICENSE-2.0
       
    11 
       
    12  Unless required by applicable law or agreed to in writing, software
       
    13  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
       
    14  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
       
    15  License for the specific language governing permissions and limitations
       
    16  under the License.
       
    17 
       
    18  NOTE:  This service manifest is not editable; its contents will
       
    19  be overwritten by package or patch operations, including
       
    20  operating system upgrade.  Make customizations in a different
       
    21  file.
       
    22 -->
       
    23 <service_bundle type="manifest" name="heat-engine">
       
    24 
       
    25   <service version="1" type="service"
       
    26     name="application/openstack/heat/heat-engine">
       
    27 
       
    28     <dependency name='multiuser' grouping='require_all' restart_on='error'
       
    29       type='service'>
       
    30       <service_fmri value='svc:/milestone/multi-user:default' />
       
    31     </dependency>
       
    32 
       
    33     <!-- create a dependency on the heat_db service so the Heat
       
    34          services do not collide when creating the database -->
       
    35     <dependency name='heat_db' grouping='optional_all' restart_on='error'
       
    36       type='service'>
       
    37       <service_fmri value='svc:/application/openstack/heat/heat-db'/>
       
    38     </dependency>
       
    39 
       
    40     <dependency name='ntp' grouping='optional_all' restart_on='none'
       
    41       type='service'>
       
    42       <service_fmri value='svc:/network/ntp'/>
       
    43     </dependency>
       
    44 
       
    45     <logfile_attributes permissions='600'/>
       
    46 
       
    47     <exec_method timeout_seconds="60" type="method" name="start"
       
    48       exec="/lib/svc/method/heat-smf-method %m">
       
    49       <method_context>
       
    50         <method_credential user='heat' group='heat' />
       
    51       </method_context>
       
    52     </exec_method>
       
    53     <exec_method timeout_seconds="60" type="method" name="stop"
       
    54       exec=":kill"/>
       
    55 
       
    56     <instance name='default' enabled='false'>
       
    57       <!-- to start/stop/refresh the service -->
       
    58       <property_group name='general' type='framework'>
       
    59         <propval name='action_authorization' type='astring'
       
    60                  value='solaris.smf.manage.heat' />
       
    61         <propval name='value_authorization' type='astring'
       
    62                  value='solaris.smf.value.heat' />
       
    63       </property_group>
       
    64     </instance>
       
    65 
       
    66     <template>
       
    67       <common_name>
       
    68         <loctext xml:lang="C">
       
    69           OpenStack Heat Orchestration Engine Service
       
    70         </loctext>
       
    71       </common_name>
       
    72       <description>
       
    73         <loctext xml:lang="C">
       
    74           heat-engine is a server daemon that orchestrates the launching of
       
    75           templates and providing events back to the API consumer.
       
    76         </loctext>
       
    77       </description>
       
    78     </template>
       
    79   </service>
       
    80 </service_bundle>