Merge lp:~corey.bryant/heat/systemd into lp:~ubuntu-server-dev/heat/kilo

Proposed by Corey Bryant
Status: Merged
Merged at revision: 84
Proposed branch: lp:~corey.bryant/heat/systemd
Merge into: lp:~ubuntu-server-dev/heat/kilo
Diff against target: 250 lines (+100/-49)
16 files modified
debian/changelog (+14/-0)
debian/control (+3/-1)
debian/heat-api-cfn.init.in (+18/-0)
debian/heat-api-cfn.logrotate (+0/-4)
debian/heat-api-cfn.upstart (+0/-8)
debian/heat-api-cloudwatch.init.in (+18/-0)
debian/heat-api-cloudwatch.logrotate (+0/-4)
debian/heat-api-cloudwatch.upstart (+0/-8)
debian/heat-api.init.in (+18/-0)
debian/heat-api.logrotate (+0/-4)
debian/heat-api.upstart (+0/-8)
debian/heat-common.logrotate (+8/-0)
debian/heat-engine.init.in (+18/-0)
debian/heat-engine.logrotate (+0/-4)
debian/heat-engine.upstart (+0/-8)
debian/rules (+3/-0)
To merge this branch: bzr merge lp:~corey.bryant/heat/systemd
Reviewer Review Type Date Requested Status
Ubuntu Server Developers Pending
Review via email: mp+245990@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2015-01-06 13:55:26 +0000
3+++ debian/changelog 2015-01-09 17:55:04 +0000
4@@ -1,3 +1,17 @@
5+heat (2015.1~b1-0ubuntu2) UNRELEASED; urgency=medium
6+
7+ * Systemd enablement:
8+ - d/control: Add dh-systemd and openstack-pkg-tools to BD's.
9+ - d/rules: Enable use of pkgos, tidyup generated init files.
10+ - d/*.init.in: Cherry pick pkgos template configurations from
11+ Debian heat package (thanks Thomas).
12+ - d/*.upstart: Drop in preference to generated files.
13+ * d/control,compat: Bump debhelper compat level to 9.
14+ * d/*.logrotate,heat-common.logrotate: Move to single logrotate
15+ configuration.
16+
17+ -- Corey Bryant <corey.bryant@canonical.com> Thu, 08 Jan 2015 15:37:58 -0500
18+
19 heat (2015.1~b1-0ubuntu1) vivid; urgency=medium
20
21 [ Chuck Short ]
22
23=== modified file 'debian/control'
24--- debian/control 2015-01-05 20:56:10 +0000
25+++ debian/control 2015-01-09 17:55:04 +0000
26@@ -10,7 +10,9 @@
27 Ghe Rivero <ghe.rivero@stackops.com>,
28 Mehdi Abaakouk <sileht@sileht.net>
29 Build-Depends:
30- debhelper (>= 9),
31+ debhelper (>= 9~),
32+ dh-systemd,
33+ openstack-pkg-tools (>= 21~),
34 python-all (>= 2.6.6-3~),
35 python-pbr (>= 0.6),
36 Build-Depends-Indep:
37
38=== added file 'debian/heat-api-cfn.init.in'
39--- debian/heat-api-cfn.init.in 1970-01-01 00:00:00 +0000
40+++ debian/heat-api-cfn.init.in 2015-01-09 17:55:04 +0000
41@@ -0,0 +1,18 @@
42+#!/bin/sh
43+### BEGIN INIT INFO
44+# Provides: heat-api-cfn
45+# Required-Start: $network $local_fs $remote_fs $syslog
46+# Required-Stop: $remote_fs
47+# Default-Start: 2 3 4 5
48+# Default-Stop: 0 1 6
49+# Short-Description: Heat CFN API
50+# Description: Heat CFN API server
51+### END INIT INFO
52+
53+# Author: Thomas Goirand <zigo@debian.or>
54+
55+# PATH should only include /usr/* if it runs after the mountnfs.sh script
56+PATH=/sbin:/usr/sbin:/bin:/usr/bin
57+DESC="Heat API"
58+PROJECT_NAME=heat
59+NAME=${PROJECT_NAME}-api-cfn
60
61=== removed file 'debian/heat-api-cfn.logrotate'
62--- debian/heat-api-cfn.logrotate 2013-05-29 17:36:41 +0000
63+++ debian/heat-api-cfn.logrotate 1970-01-01 00:00:00 +0000
64@@ -1,4 +0,0 @@
65-/var/log/heat/api-cfn.log {
66- daily
67- missingok
68-}
69
70=== removed file 'debian/heat-api-cfn.upstart'
71--- debian/heat-api-cfn.upstart 2013-08-08 13:55:17 +0000
72+++ debian/heat-api-cfn.upstart 1970-01-01 00:00:00 +0000
73@@ -1,8 +0,0 @@
74-# vim: set ft=upstart ts=2 et:
75-description "Heat API CFN server"
76-author "James Page <james.page@ubuntu.com>"
77-
78-start on runlevel [2345]
79-stop on runlevel [!2345]
80-
81-exec start-stop-daemon --start --chuid heat --exec /usr/bin/heat-api-cfn
82
83=== added file 'debian/heat-api-cloudwatch.init.in'
84--- debian/heat-api-cloudwatch.init.in 1970-01-01 00:00:00 +0000
85+++ debian/heat-api-cloudwatch.init.in 2015-01-09 17:55:04 +0000
86@@ -0,0 +1,18 @@
87+#!/bin/sh
88+### BEGIN INIT INFO
89+# Provides: heat-api-cloudwatch
90+# Required-Start: $network $local_fs $remote_fs $syslog
91+# Required-Stop: $remote_fs
92+# Default-Start: 2 3 4 5
93+# Default-Stop: 0 1 6
94+# Short-Description: Heat cloudwatch API
95+# Description: Heat cloudwatch API server
96+### END INIT INFO
97+
98+# Author: Thomas Goirand <zigo@debian.or>
99+
100+# PATH should only include /usr/* if it runs after the mountnfs.sh script
101+PATH=/sbin:/usr/sbin:/bin:/usr/bin
102+DESC="Heat API"
103+PROJECT_NAME=heat
104+NAME=${PROJECT_NAME}-api-cloudwatch
105
106=== removed file 'debian/heat-api-cloudwatch.logrotate'
107--- debian/heat-api-cloudwatch.logrotate 2013-05-29 17:36:41 +0000
108+++ debian/heat-api-cloudwatch.logrotate 1970-01-01 00:00:00 +0000
109@@ -1,4 +0,0 @@
110-/var/log/heat/api-cloudwatch.log {
111- daily
112- missingok
113-}
114
115=== removed file 'debian/heat-api-cloudwatch.upstart'
116--- debian/heat-api-cloudwatch.upstart 2013-08-08 13:55:17 +0000
117+++ debian/heat-api-cloudwatch.upstart 1970-01-01 00:00:00 +0000
118@@ -1,8 +0,0 @@
119-# vim: set ft=upstart ts=2 et:
120-description "Heat API Cloudwatch server"
121-author "James Page <james.page@ubuntu.com>"
122-
123-start on runlevel [2345]
124-stop on runlevel [!2345]
125-
126-exec start-stop-daemon --start --chuid heat --exec /usr/bin/heat-api-cloudwatch
127
128=== added file 'debian/heat-api.init.in'
129--- debian/heat-api.init.in 1970-01-01 00:00:00 +0000
130+++ debian/heat-api.init.in 2015-01-09 17:55:04 +0000
131@@ -0,0 +1,18 @@
132+#!/bin/sh
133+### BEGIN INIT INFO
134+# Provides: heat-api
135+# Required-Start: $network $local_fs $remote_fs $syslog
136+# Required-Stop: $remote_fs
137+# Default-Start: 2 3 4 5
138+# Default-Stop: 0 1 6
139+# Short-Description: Heat API
140+# Description: Heat API server
141+### END INIT INFO
142+
143+# Author: Thomas Goirand <zigo@debian.or>
144+
145+# PATH should only include /usr/* if it runs after the mountnfs.sh script
146+PATH=/sbin:/usr/sbin:/bin:/usr/bin
147+DESC="Heat API"
148+PROJECT_NAME=heat
149+NAME=${PROJECT_NAME}-api
150
151=== removed file 'debian/heat-api.logrotate'
152--- debian/heat-api.logrotate 2013-05-29 17:36:41 +0000
153+++ debian/heat-api.logrotate 1970-01-01 00:00:00 +0000
154@@ -1,4 +0,0 @@
155-/var/log/heat/api.log {
156- daily
157- missingok
158-}
159
160=== removed file 'debian/heat-api.upstart'
161--- debian/heat-api.upstart 2013-08-08 13:55:17 +0000
162+++ debian/heat-api.upstart 1970-01-01 00:00:00 +0000
163@@ -1,8 +0,0 @@
164-# vim: set ft=upstart ts=2 et:
165-description "Heat API server"
166-author "James Page <james.page@ubuntu.com>"
167-
168-start on runlevel [2345]
169-stop on runlevel [!2345]
170-
171-exec start-stop-daemon --start --chuid heat --exec /usr/bin/heat-api
172
173=== added file 'debian/heat-common.logrotate'
174--- debian/heat-common.logrotate 1970-01-01 00:00:00 +0000
175+++ debian/heat-common.logrotate 2015-01-09 17:55:04 +0000
176@@ -0,0 +1,8 @@
177+/var/log/heat/*.log {
178+ daily
179+ missingok
180+ compress
181+ delaycompress
182+ copytruncate
183+ notifempty
184+}
185
186=== added file 'debian/heat-engine.init.in'
187--- debian/heat-engine.init.in 1970-01-01 00:00:00 +0000
188+++ debian/heat-engine.init.in 2015-01-09 17:55:04 +0000
189@@ -0,0 +1,18 @@
190+#!/bin/sh
191+### BEGIN INIT INFO
192+# Provides: heat-engine
193+# Required-Start: $network $local_fs $remote_fs $syslog
194+# Required-Stop: $remote_fs
195+# Default-Start: 2 3 4 5
196+# Default-Stop: 0 1 6
197+# Short-Description: Heat Engine
198+# Description: Heat Engine server
199+### END INIT INFO
200+
201+# Author: Thomas Goirand <zigo@debian.or>
202+
203+# PATH should only include /usr/* if it runs after the mountnfs.sh script
204+PATH=/sbin:/usr/sbin:/bin:/usr/bin
205+DESC="Heat Engine"
206+PROJECT_NAME=heat
207+NAME=${PROJECT_NAME}-engine
208
209=== removed file 'debian/heat-engine.logrotate'
210--- debian/heat-engine.logrotate 2013-05-29 17:36:41 +0000
211+++ debian/heat-engine.logrotate 1970-01-01 00:00:00 +0000
212@@ -1,4 +0,0 @@
213-/var/log/heat/engine.log {
214- daily
215- missingok
216-}
217
218=== removed file 'debian/heat-engine.upstart'
219--- debian/heat-engine.upstart 2013-08-08 13:55:17 +0000
220+++ debian/heat-engine.upstart 1970-01-01 00:00:00 +0000
221@@ -1,8 +0,0 @@
222-# vim: set ft=upstart ts=2 et:
223-description "Heat Engine server"
224-author "James Page <james.page@ubuntu.com>"
225-
226-start on runlevel [2345]
227-stop on runlevel [!2345]
228-
229-exec start-stop-daemon --start --chuid heat --exec /usr/bin/heat-engine
230
231=== modified file 'debian/rules'
232--- debian/rules 2015-01-05 20:56:10 +0000
233+++ debian/rules 2015-01-09 17:55:04 +0000
234@@ -2,6 +2,8 @@
235
236 #export DH_VERBOSE=1
237
238+include /usr/share/openstack-pkg-tools/pkgos.make
239+
240 %:
241 dh $@ --buildsystem=python_distutils --with python2
242
243@@ -23,6 +25,7 @@
244 rm -f run_tests.err.log
245 rm -rf pbr*.egg
246 rm -f etc/heat/heat.conf
247+ rm -f debian/*.init debian/*.service debian/*.upstart
248
249 override_dh_install:
250 bash tools/config/generate_sample.sh -b . -p heat -o etc/heat

Subscribers

People subscribed via source and target branches