Hello community,

here is the log from the commit of package openstack-heat.2119 for 
openSUSE:13.1:Update checked in at 2013-10-22 16:31:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/openstack-heat.2119 (Old)
 and      /work/SRC/openSUSE:13.1:Update/.openstack-heat.2119.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openstack-heat.2119"

Changes:
--------
New Changes file:

--- /dev/null   2013-10-11 12:16:15.204037506 +0200
+++ 
/work/SRC/openSUSE:13.1:Update/.openstack-heat.2119.new/openstack-heat-doc.changes
  2013-10-22 16:32:00.000000000 +0200
@@ -0,0 +1,20 @@
+-------------------------------------------------------------------
+Thu Jul 18 08:52:40 UTC 2013 - bere...@b1-systems.de
+
+- setting correct paths to the generated documentation
+
+-------------------------------------------------------------------
+Mon Jun 10 21:16:23 UTC 2013 - dmuel...@suse.com
+
+- fix requires 
+
+-------------------------------------------------------------------
+Mon Mar 18 10:49:31 UTC 2013 - speili...@suse.com
+
+- Drop +git.$TIMESTAMP.$COMMITHASH version suffix 
+
+-------------------------------------------------------------------
+Thu Feb 28 12:47:19 UTC 2013 - sasc...@suse.de
+
+- Initial version
+
New Changes file:

--- /dev/null   2013-10-11 12:16:15.204037506 +0200
+++ 
/work/SRC/openSUSE:13.1:Update/.openstack-heat.2119.new/openstack-heat.changes  
    2013-10-22 16:32:00.000000000 +0200
@@ -0,0 +1,2111 @@
+-------------------------------------------------------------------
+Thu Oct 17 15:57:11 UTC 2013 - dmuel...@suse.com
+
+- update to 2013.2:
+  + No changes
+- Update requires
+
+-------------------------------------------------------------------
+Sat Oct 12 12:07:33 UTC 2013 - speili...@suse.com
+
+- Update to verison 2013.2.rc2:
+  + No changes
+
+-------------------------------------------------------------------
+Wed Oct  9 09:25:16 UTC 2013 - dmuel...@suse.com
+
+- default to sqlite (like the other openstack modules)
+
+-------------------------------------------------------------------
+Mon Oct  7 10:09:58 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.rc1:
+  + Log exception traces in APIs
+  + Disable lazy translation
+  + heat_keystoneclient: Fix consuming trusts via v2 API
+  + Add _() around the attributes_schema in net.py
+  + Add the "show" attribute to the neurton attribute_schema
+  + Purge Fedora getting started of old info
+  + Purge ubuntu getting started guide of old info
+  + Imported Translations from Transifex
+  + Fix F17 CFN link in Getting Started
+  + Updated from global requirements
+
+-------------------------------------------------------------------
+Wed Oct  2 00:22:31 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a205.g003a3b9:
+  + Fix inconsitencies in HOT template guide and spec
+  + Lazily load resources when loading a Stack
+  + Remove tools/openstack*
+
+-------------------------------------------------------------------
+Tue Oct  1 14:29:32 UTC 2013 - vu...@suse.com
+
+- Fix description of python-heat subpackage.
+
+-------------------------------------------------------------------
+Mon Sep 30 23:47:48 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a200.g002dcaa:
+  + Conform stack resource error so it gives a 4xx
+  + Do not assume fixed_ips is a specified property
+
+-------------------------------------------------------------------
+Sun Sep 29 00:45:24 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a196.g31dac07:
+  + Document EIP resource properties:
+  + api : default signal body to None
+  + Store tenant with trust details in user_creds
+  + Remove Router resource id attribute
+  + Remove Subnet id attribute
+  + Provide config option to cap events per stack
+  + Remove Neutron VPN resources id attributes
+
+-------------------------------------------------------------------
+Sat Sep 28 00:49:53 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a182.gdcbd7b6:
+  + Rename counter_name to meter_name in alarm
+  + Do not translate HOT param constraints
+  + Sync gettextutils from oslo
+  + Document floatingip properties
+  + For Subnet gateway_ip, pass None for empty string
+  + Handle HOT param constraints in provider templates
+  + Move Rackspace resources into contrib
+  + Document neutron Net properties
+  + Make availability zone for CinderVolume optional
+  + Imported Translations from Transifex
+  + Skip None values in fixed_ips when creating Port
+  + Return parsed list value in CommaDelimitedList
+
+-------------------------------------------------------------------
+Fri Sep 27 16:23:53 UTC 2013 - dmuel...@suse.com
+
+- switch to crudini 
+
+-------------------------------------------------------------------
+Thu Sep 26 23:40:04 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a158.g841862b:
+  + Add config option to limit max stacks per tenant
+  + Add attributes_schema to CinderVolume
+
+-------------------------------------------------------------------
+Thu Sep 26 12:18:58 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a154.gd79ee71:
+  + api ec2token: allow auth_uri conf to be set via keystone_authtoken
+  + Remove CinderVolume id attribute
+  + Remove Net resource id attribute
+  + Remove Neutron load balancer resources id attributes
+  + Remove Neutron firewall resources id attributes
+  + Remove Port resource id attribute
+
+-------------------------------------------------------------------
+Thu Sep 26 09:48:30 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a142.g217be2a:
+  + Require oslo.config 1.2.0 final
+  + StackResource set requires_deferred_auth=True
+  + Improve test coverage of stack deletion
+  + Stop nested stack updates exceeding resource limit
+  + Add the shared property to neutron Net
+  + Imported Translations from Transifex
+  + HOT str_replace to use string.replace, not string.Template
+  + Replace first_public_address/first_private_address
+  + Comparing device name values instead of their reference
+  + api ec2token: Clear failure when no auth_uri specified
+  + Document internet gateway properties:
+  + Add method to count events by stack
+  + Make HOT parser errors translatable
+
+-------------------------------------------------------------------
+Tue Sep 24 23:37:58 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a116.gb057d6e:
+  + Sync gettextutils from oslo
+  + Consider downloading a valid status for CinderVolume
+  + Format error on urlfetch.get fail
+  + Use name property in OS::Nova::Server if set
+
+-------------------------------------------------------------------
+Tue Sep 24 00:34:16 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a108.gcf38339:
+  + Use unicode() when serializing REST API errors
+  + Add tenant_id property to neutron Net and Subnet
+  + Document aws cloud watch alarm properties
+  + Mark reservation_id, config_drive as implemented
+  + Nested stack derive requires_deferred_auth from resources
+  + Document swift properties and attributes
+  + Document neutron health monitor and pool properties
+  + Allow access to attributes of resumed resources
+  + Allow resource_by_refid returning resumed resources
+
+-------------------------------------------------------------------
+Mon Sep 23 00:17:39 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a90.gb21ce20:
+  + assert_ is deprecated, use assertEqual
+  + Stop stack updates from exceeding resource limit
+
+-------------------------------------------------------------------
+Sun Sep 22 00:27:04 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a86.g0a72002:
+  + Tolerate bad environment until validation
+
+-------------------------------------------------------------------
+Fri Sep 20 23:44:30 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a84.ga06e37c:
+  + Encode values as utf-8 before encrypting
+  + Provide config option to limit resources per stack
+  + Limit resources per stack in nested stacks
+
+-------------------------------------------------------------------
+Fri Sep 20 00:03:02 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a78.gf00272b:
+  + make get_flavor_id to work if input is flavor id
+  + Document instance resource properties
+  + Document nested stack properties
+  + Document user properties
+  + Document aws loadbalancer properties
+  + Replace OpenStack LLC with OpenStack Foundation
+
+-------------------------------------------------------------------
+Thu Sep 19 19:26:31 UTC 2013 - dmuel...@suse.com
+
+- set up logging for heat daemons 
+
+-------------------------------------------------------------------
+Thu Sep 19 00:35:22 UTC 2013 - opensuse-cl...@opensuse.org
+
+- Update to version 2013.2.a66.g3088aec:
+  + Document ceilometer alarm properties
+  + Use strings for block device mapping info
+  + Validate OS::Nova::Server block_device_mapping property
+  + Consistent logging in the API to better log exceptions
+  + Add 'repeat_actions' property for OS::Ceilometer::Alarm
+  + Document autoscaling resource properties
+  + Docs for building heat-cfntools images with diskimage-builder
+  + Document neutron vpn service properties
+  + Remove broken tripleo links from on_devstack doc
+  + Use built-in print() instead of print statement
++++ 1914 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:13.1:Update/.openstack-heat.2119.new/openstack-heat.changes

New:
----
  _service
  heat-2013.2.tar.gz
  openstack-heat-doc.changes
  openstack-heat-doc.spec
  openstack-heat.changes
  openstack-heat.init
  openstack-heat.logrotate
  openstack-heat.spec
  rpmlintrc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openstack-heat-doc.spec ++++++
#
# spec file for package openstack-heat-doc
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define component heat

Name:           openstack-%{component}-doc
Version:        2013.2
Release:        0
Summary:        OpenStack Orchestration (Heat) - Documentation
License:        Apache-2.0
Group:          Documentation/HTML
Url:            https://launchpad.net/heat
Source:         heat-2013.2.tar.gz
BuildRequires:  graphviz
BuildRequires:  openstack-suse-macros
BuildRequires:  python-Babel
BuildRequires:  python-PasteDeploy
BuildRequires:  python-PyYAML
BuildRequires:  python-Routes
BuildRequires:  python-SQLAlchemy
BuildRequires:  python-Sphinx
BuildRequires:  python-WebOb
BuildRequires:  python-base
BuildRequires:  python-boto
BuildRequires:  python-eventlet
BuildRequires:  python-glanceclient
BuildRequires:  python-httplib2
BuildRequires:  python-iso8601
BuildRequires:  python-keystoneclient
BuildRequires:  python-kombu
BuildRequires:  python-lxml
BuildRequires:  python-mox
BuildRequires:  python-netaddr
BuildRequires:  python-neutronclient
BuildRequires:  python-nose
BuildRequires:  python-novaclient
BuildRequires:  python-oslo.config
BuildRequires:  python-oslo.sphinx
BuildRequires:  python-paramiko
BuildRequires:  python-sphinxcontrib-httpdomain
BuildRequires:  python-sqlalchemy-migrate
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Heat is a service to orchestrate multiple composite cloud applications using
templates, through both an OpenStack-native ReST API and a
CloudFormation-compatible Query API.

This package contains documentation files for openstack-heat.

%prep
%setup -q -n heat-2013.2
%openstack_cleanup_prep

%build
python setup.py build_sphinx
rm doc/build/html/.buildinfo # Remove unneeded files

%install

%files
%defattr(-,root,root,-)
%doc LICENSE doc/build/html

%changelog
++++++ openstack-heat.spec ++++++
#
# spec file for package openstack-heat
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define component heat
%define groupname openstack-%{component}
%define username openstack-%{component}

Name:           openstack-%{component}
Version:        2013.2
Release:        0
Summary:        Openstack Orchestration (Heat)
License:        Apache-2.0
Group:          System/Management
Url:            https://launchpad.net/heat
Source:         heat-2013.2.tar.gz
Source1:        %{name}.init
Source2:        %{name}.logrotate
BuildRequires:  crudini
BuildRequires:  fdupes
BuildRequires:  openstack-suse-macros
BuildRequires:  python-base
BuildRequires:  python-d2to1 >= 0.2.10
BuildRequires:  python-oslo.sphinx
BuildRequires:  python-pbr >= 0.5.21
BuildRequires:  python-setuptools
# Documentation requirements:
BuildRequires:  python-Sphinx
Requires:       logrotate
Requires:       openstack-heat-templates
Requires:       python >= 2.6.8
Requires:       python-heat = %{version}
Requires(pre):  pwdutils
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch:      noarch
%endif

%description
Heat is a service to orchestrate multiple composite cloud applications using
templates, through both an OpenStack-native ReST API and a
CloudFormation-compatible Query API.

%package -n python-heat
Summary:        Openstack Orchestration (Heat) - Python module
Group:          Development/Languages/Python
Requires:       python >= 2.6.8
Requires:       python-Babel >= 0.9.6
Requires:       python-PasteDeploy >= 1.5.0
Requires:       python-PyYAML >= 3.1.0
Requires:       python-Routes >= 1.12.3
Requires:       python-Routes >= 1.12.3
Requires:       python-SQLAlchemy >= 0.7.8
Requires:       python-WebOb >= 1.2.3
Requires:       python-argparse
Requires:       python-ceilometerclient >= 1.0.5
Requires:       python-cinderclient >= 1.0.5
Requires:       python-eventlet >= 0.13.0
Requires:       python-greenlet >= 0.3.2
Requires:       python-httplib2
Requires:       python-iso8601 >= 0.1.4
Requires:       python-keystoneclient >= 0.3.2
Requires:       python-kombu >= 2.4.8
Requires:       python-lxml >= 2.3
Requires:       python-netaddr
Requires:       python-neutronclient >= 2.3.0
Requires:       python-novaclient >= 2.15.0
Requires:       python-oslo.config >= 1.2.0
Requires:       python-paramiko >= 1.8.0
Requires:       python-pbr >= 0.5.21
Requires:       python-pycrypto >= 2.6
Requires:       python-python-memcached
Requires:       python-six
Requires:       python-sqlalchemy-migrate >= 0.7.2
Requires:       python-swiftclient >= 1.5

%description -n python-heat
This package contains the core Python module of OpenStack Heat.

%package api
Summary:        OpenStack Orchestration (Heat) - API
Group:          System/Management
Requires:       %{name} = %{version}

%description api
This package contains the OpenStack Heat API.

%package api-cfn
Summary:        OpenStack Orchestration (Heat) - CloudFormation API
Group:          System/Management
Requires:       %{name} = %{version}

%description api-cfn
This package contains the OpenStack Heat CloudFormation API.

%package api-cloudwatch
Summary:        OpenStack Orchestration (Heat) - CloudWatch API
Group:          System/Management
Requires:       %{name} = %{version}

%description api-cloudwatch
This package contains the OpenStack Heat CloudWatch API.

%package engine
Summary:        OpenStack Orchestration (Heat) - Engine
Group:          System/Management
Requires:       %{name} = %{version}

%description engine
This package contains the OpenStack Heat Engine.

%package test
Summary:        Openstack Orchestration (Heat) - Testsuite
Group:          Development/Languages/Python
Requires:       %{name} = %{version}
Requires:       openstack-%{component}-api-cloudwatch
Requires:       python-coverage >= 3.6
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
Requires:       python-discover
%endif
Requires:       python-flake8 >= 2.0
Requires:       python-glanceclient >= 0.9.0
Requires:       python-hacking >= 0.5.6
Requires:       python-mock >= 1.0
Requires:       python-mox >= 0.5.3
Requires:       python-paramiko >= 1.8.0
Requires:       python-pep8 >= 1.4.5
Requires:       python-pyflakes >= 0.7.2
Requires:       python-testrepository >= 0.0.17
Requires:       python-testtools >= 0.9.32

%description test
This package contains testsuite files for %{name}.

%prep
%setup -q -n heat-2013.2
%openstack_cleanup_prep
#NOTE(saschpe): Kill heat Sphinx extension, we're only building manpages:
sed -i "s|'heat.doc.resources'||" doc/source/conf.py

%build
python setup.py build
python setup.py build_sphinx -b man

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

### directories
install -d -m 755 %{buildroot}%{_localstatedir}/{cache,lib,log,run}/%{component}
install -d -m 755 %{buildroot}%{_sysconfdir}/%{component}

### configuration files
install -d %{buildroot}%{_sysconfdir}/%{component}/
mv etc/heat/heat.conf{.sample,}
install -p -m 644 etc/heat/*.{conf,json,ini} 
%{buildroot}%{_sysconfdir}/%{component}/
install -d -m 755  
%{buildroot}%{_sysconfdir}/%{component}/{environment.d,templates}
install -p -m 644 etc/heat/environment.d/*.yaml 
%{buildroot}%{_sysconfdir}/%{component}/environment.d
install -p -m 644 etc/heat/templates/*.yaml 
%{buildroot}%{_sysconfdir}/%{component}/templates

crudini --set %{buildroot}/etc/%{component}/heat.conf DEFAULT verbose True
crudini --set %{buildroot}/etc/%{component}/heat.conf DEFAULT log_file heat.log
crudini --set %{buildroot}/etc/%{component}/heat.conf DEFAULT log_dir 
/var/log/heat
crudini --set %{buildroot}/etc/%{component}/heat.conf DEFAULT rpc_backend 
heat.openstack.common.rpc.impl_kombu
crudini --set %{buildroot}/etc/%{component}/heat.conf DEFAULT sql_connection 
'sqlite:///var/lib/heat/heat.db'
crudini --set %{buildroot}/etc/%{component}/heat.conf keystone_authtoken 
admin_tenant_name '%%SERVICE_TENANT_NAME%%'
crudini --set %{buildroot}/etc/%{component}/heat.conf keystone_authtoken 
admin_user heat
crudini --set %{buildroot}/etc/%{component}/heat.conf keystone_authtoken 
admin_password '%%SERVICE_PASSWORD%%'

### bash-completion/logrotate/etc.
install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}

### init scripts
mkdir -p %{buildroot}%{_sbindir} %{buildroot}%{_initddir}
for i in api api-cfn api-cloudwatch engine ; do
    install -m 755 %{SOURCE1} %{buildroot}%{_initddir}/%{name}-$i
    sed -i -e "s/__NAME__/$i/g" %{buildroot}%{_initddir}/%{name}-$i
    ln -s ../..%{_initddir}/%{name}-$i %{buildroot}%{_sbindir}/rc%{name}-$i
done

### documentation
install -d %{buildroot}%{_mandir}/man1
install -m 644 doc/build/man/*.1 %{buildroot}%{_mandir}/man1

### test subpackage
%openstack_test_package_install
%fdupes %{buildroot}%{_localstatedir}/lib/%{name}-test

### misc
%fdupes %{buildroot}%{python_sitelib}/%{component}

%pre
getent group %{groupname} >/dev/null || groupadd -r %{groupname}
getent passwd %{username} >/dev/null || useradd -r -g %{groupname} -d 
%{_localstatedir}/lib/%{component} -s /sbin/nologin -c "OpenStack Heat Daemons" 
%{username}
exit 0

%post api
%{fillup_and_insserv -f %{name}-api}

%preun api
%stop_on_removal %{name}-api

%postun api
%restart_on_update %{name}-api
%insserv_cleanup

%post api-cfn
%{fillup_and_insserv -f %{name}-api-cfn}

%preun api-cfn
%stop_on_removal %{name}-api-cfn

%postun api-cfn
%restart_on_update %{name}-api-cfn
%insserv_cleanup

%post api-cloudwatch
%{fillup_and_insserv -f %{name}-api-cloudwatch}

%preun api-cloudwatch
%stop_on_removal %{name}-api-cloudwatch

%postun api-cloudwatch
%restart_on_update %{name}-api-cloudwatch
%insserv_cleanup

%post engine
%{fillup_and_insserv -f %{name}-engine}

%preun engine
%stop_on_removal %{name}-engine

%postun engine
%restart_on_update %{name}-engine
%insserv_cleanup

%files
%defattr(-,root,root)
%doc LICENSE README.rst
%dir %attr(0755, %{username}, %{groupname}) %{_localstatedir}/lib/%{component}
%dir %attr(0750, %{username}, %{groupname}) %{_localstatedir}/log/%{component}
%ghost %dir %attr(0750, %{username}, %{groupname}) 
%{_localstatedir}/run/%{component}
%dir %{_sysconfdir}/%{component}
%config %{_sysconfdir}/%{component}/policy.json
%config %{_sysconfdir}/%{component}/environment.d
%config %{_sysconfdir}/%{component}/templates
%config(noreplace) %attr(0640, root, %{groupname}) 
%{_sysconfdir}/%{component}/heat.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%config %attr(0600, %{username}, root) %{_sysconfdir}/%{component}/api-paste.ini
%{_bindir}/heat-db-setup
%{_bindir}/heat-manage
%{_bindir}/heat-keystone-setup
%{_bindir}/cinder-keystone-setup
%{_mandir}/man1/%{component}-db-setup.1%{?ext_man}
%{_mandir}/man1/%{component}-keystone-setup.1%{?ext_man}

%files -n python-%{component}
%defattr(-,root,root,-)
%doc LICENSE
%{python_sitelib}/%{component}/
%{python_sitelib}/%{component}-*.egg-info

%files api
%defattr(-,root,root,-)
%doc LICENSE
%{_initddir}/%{name}-api
%{_sbindir}/rc%{name}-api
%{_bindir}/heat-api
%{_mandir}/man1/%{component}-api.1%{?ext_man}

%files api-cfn
%defattr(-,root,root,-)
%doc LICENSE
%{_initddir}/%{name}-api-cfn
%{_sbindir}/rc%{name}-api-cfn
%{_bindir}/heat-api-cfn
%{_mandir}/man1/%{component}-api-cfn.1%{?ext_man}

%files api-cloudwatch
%defattr(-,root,root,-)
%doc LICENSE
%{_initddir}/%{name}-api-cloudwatch
%{_sbindir}/rc%{name}-api-cloudwatch
%{_bindir}/heat-api-cloudwatch
%{_mandir}/man1/%{component}-api-cloudwatch.1%{?ext_man}

%files engine
%defattr(-,root,root,-)
%doc LICENSE
%{_initddir}/%{name}-engine
%{_sbindir}/rc%{name}-engine
%{_bindir}/heat-engine
%{_mandir}/man1/%{component}-engine.1%{?ext_man}

%files test
%defattr(-,root,root)
%{_localstatedir}/lib/%{name}-test/

%changelog
++++++ _service ++++++
<services>
  <service name="git_tarballs" mode="disabled">
    <param 
name="url">http://tarballs.openstack.org/heat/heat-2013.2.tar.gz</param>
    <param name="email">opensuse-cl...@opensuse.org</param>
    <param name="plain-version">True</param>
  </service>
</services>
++++++ openstack-heat.init ++++++
#!/bin/sh

### BEGIN INIT INFO
# Provides:          openstack-heat-__NAME__
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Should-Start:      mysql postgresql rabbitmq-server
# Should-Stop:       mysql postgresql rabbitmq-server
# Default-Start:     3 5
# Default-Stop:      0 1 2 6
# Short-Description: OpenStack Orchestration (Heat) - __NAME__
# Description:       OpenStack Orchestration (Heat) - __NAME__
### END INIT INFO

DAEMON="__NAME__"
USER="openstack-heat"
CONFIGFILE="/etc/heat/heat.conf"
RUNDIR="/var/run/cinder"

# $RUNDIR can be tmpfs, thus we have to create/own it here:
mkdir -p $RUNDIR && chown $USER. $RUNDIR

. /etc/rc.status

case "$1" in
    start)
        if [ "$DAEMON" = "engine" ]; then
            echo -n "Checking for DB Migrations"
            su $USER -s /bin/sh -c "heat-manage db_sync"
            rc_status -v
        fi
        echo -n "Starting heat-$DAEMON"
        /sbin/startproc -q -s -u $USER /usr/bin/heat-$DAEMON 
--config-file=$CONFIGFILE
        rc_status -v
        ;;
    stop)
        echo -n "Shutting down heat-$DAEMON"
        /sbin/killproc /usr/bin/heat-$DAEMON
        rc_status -v
        ;;
    restart)
        $0 stop
        $0 start
        rc_status
        ;;
    force-reload)
        $0 try-restart
        rc_status
        ;;
    reload)
        echo -n "Reload service heat-$DAEMON"
        rc_failed 3
        rc_status -v
        ;;
    status)
        echo -n "Checking for service heat-$DAEMON"
        /sbin/checkproc /usr/bin/heat-$DAEMON
        rc_status -v
        ;;
    try-restart|condrestart)
        if test "$1" = "condrestart"; then
            echo "${attn} Use try-restart ${done}(LSB)${attn} rather than 
condrestart ${warn}(RH)${norm}"
        fi
        $0 status
        if test $? = 0; then
            $0 restart
        else
            rc_reset # Not running is not a failure.
        fi
        rc_status # Remember status and be quiet
        ;;
    *)
        echo "Usage: $0 
{start|stop|status|try-restart|restart|force-reload|reload}"
        exit 1
        ;;
esac
rc_exit
++++++ openstack-heat.logrotate ++++++
compress

/var/log/heat/*.log {
    rotate 15
    size 1M
    weekly
    dateext
    missingok
    notifempty
    su openstack-heat openstack-heat
    sharedscripts
}
++++++ rpmlintrc ++++++
# This symling is for the -test package and can be ignored:
addFilter("dangling-symlink /var/lib/openstack-heat-test/heat")
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to