Merge lp:~zulcss/heat/ubuntu-refresh into lp:~openstack-ubuntu-testing/heat/havana
- ubuntu-refresh
- Merge into havana
Status: | Needs review |
---|---|
Proposed branch: | lp:~zulcss/heat/ubuntu-refresh |
Merge into: | lp:~openstack-ubuntu-testing/heat/havana |
Diff against target: |
1274 lines (+192/-744) 43 files modified
debian/changelog (+46/-1) debian/control (+12/-12) debian/gbp.conf (+0/-9) debian/heat-api-cfn.config.in (+0/-15) debian/heat-api-cfn.init (+0/-87) debian/heat-api-cfn.install (+1/-2) debian/heat-api-cfn.manpages (+0/-1) debian/heat-api-cfn.postinst.in (+0/-20) debian/heat-api-cfn.templates (+0/-20) debian/heat-api-cfn.upstart (+11/-0) debian/heat-api-cloudwatch.config.in (+0/-14) debian/heat-api-cloudwatch.init (+0/-87) debian/heat-api-cloudwatch.install (+1/-2) debian/heat-api-cloudwatch.manpages (+0/-1) debian/heat-api-cloudwatch.postinst.in (+0/-20) debian/heat-api-cloudwatch.templates (+0/-20) debian/heat-api-cloudwatch.upstart (+11/-0) debian/heat-api.config.in (+0/-16) debian/heat-api.init (+0/-87) debian/heat-api.install (+0/-1) debian/heat-api.manpages (+0/-1) debian/heat-api.postinst.in (+0/-25) debian/heat-api.templates (+0/-61) debian/heat-api.upstart (+11/-0) debian/heat-common.dirs (+3/-0) debian/heat-common.install (+7/-0) debian/heat-common.manpages (+0/-1) debian/heat-common.postinst (+22/-0) debian/heat-common.postinst.in (+0/-18) debian/heat-engine.config.in (+0/-14) debian/heat-engine.init (+0/-87) debian/heat-engine.install (+1/-1) debian/heat-engine.manpages (+0/-1) debian/heat-engine.postinst.in (+0/-23) debian/heat-engine.templates (+0/-17) debian/heat-engine.upstart (+11/-0) debian/patches/fix-package-version-detection-when-building-doc.patch (+0/-27) debian/patches/fix-ubuntu-configuration.patch (+47/-0) debian/patches/removes-lxml-version-limitation-from-pip-requires.patch (+0/-18) debian/patches/series (+1/-2) debian/pydist-overrides (+1/-0) debian/rules (+3/-32) debian/watch (+3/-1) |
To merge this branch: | bzr merge lp:~zulcss/heat/ubuntu-refresh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Openstack Ubuntu Testers | Pending | ||
Review via email: mp+168517@code.launchpad.net |
Commit message
Description of the change
Unmerged revisions
- 24. By Chuck Short
-
Fix manpages one more time
- 23. By Chuck Short
-
debian/*.manpages: Install the correct manpages
- 22. By Chuck Short
-
debian/*.manpages: Install the right manpages.
- 21. By Chuck Short
-
debian/*.install: Install the configration files into the right places.
- 20. By Chuck Short
-
debian/
heat-common. install: Add missing files. - 19. By Chuck Short
-
debian/
removes- lxml-version- limitation- from-pip- requires. patch: Dropped no
longer needed. - 18. By Chuck Short
-
debian/
heat-common. postinst: Add common configration stuff. - 17. By Chuck Short
-
heat-engine}
.postinst. in: Dropped not used in Ubuntu.
* debian/{heat-api- cfn, heat-api- cloudwatch, heat-api, - 16. By Chuck Short
-
- Dropped openstack-pkg configuration.
- Run testr init and testr run by hand. - 15. By Chuck Short
-
* debian/rules:
- Dropped sed of configuration files.
* debian/watch: Update to point to launchpad source
* debian/pydist- overrides: Override python-argparse
* debian/patches/ fix-ubuntu- configuration. patch: Update configruation files
to use kombu rpc backend.
* debian/patches/ fix-package- version- detection- when-building- doc.patch: Dropped
no longer needed.
Preview Diff
1 | === modified file 'debian/changelog' | |||
2 | --- debian/changelog 2013-06-07 15:04:17 +0000 | |||
3 | +++ debian/changelog 2013-06-10 18:48:25 +0000 | |||
4 | @@ -1,7 +1,52 @@ | |||
6 | 1 | heat (2013.1-4ubuntu1) UNRELEASED; urgency=low | 1 | heat (2013.2.a50.g9f40fa3-0ubuntu1) UNRELEASED; urgency=low |
7 | 2 | 2 | ||
8 | 3 | [ Yolanda Robla ] | ||
9 | 3 | * debian/tests: added autopkg tests | 4 | * debian/tests: added autopkg tests |
10 | 4 | 5 | ||
11 | 6 | [ Chuck Short ] | ||
12 | 7 | * New upstream release. | ||
13 | 8 | * Update maintainer. | ||
14 | 9 | * debian/control: | ||
15 | 10 | - Dropped python-argparse from build-deps. | ||
16 | 11 | - Dropped pep8 from build-deps | ||
17 | 12 | - Dropped python-nose and python-nosexcover from build-deps. | ||
18 | 13 | - Dropped python-pycryptopp from build-deps. | ||
19 | 14 | - Added python-d2to1 and python-pbr to build-depends. | ||
20 | 15 | - Added python-six to build-depends. | ||
21 | 16 | - Added python-testtools and testrepository to build-depends. | ||
22 | 17 | - Bump standards-version to 3.9.4 | ||
23 | 18 | - Dropped openstack-pkg-tools | ||
24 | 19 | - Dropped dbconfig-common from heat-common. | ||
25 | 20 | * debian/rules: | ||
26 | 21 | - Dropped sed of configuration files. | ||
27 | 22 | - Dropped openstack-pkg configuration. | ||
28 | 23 | - Run testr init and testr run by hand. | ||
29 | 24 | * debian/{heat-api-cfn, heat-api-cloudwatch, heat-api-tempates, | ||
30 | 25 | heat-enginge}.templates: Dropped not used in Ubuntu. | ||
31 | 26 | * debian/{heat-api-cfn, heat-api-cloudwatch, heat-api-tempates, | ||
32 | 27 | heat-enginge}.config.in: Dropped not used in Ubuntu. | ||
33 | 28 | * debian/{heat-api-cfn, heat-api-cloudwatch, heat-api, | ||
34 | 29 | heat-engine}.postinst.in: Dropped not used in Ubuntu. | ||
35 | 30 | * debian/{heat-api-cfn, heat-api-cloudwatch, heat-api, | ||
36 | 31 | heat-engine}.init: Dropped replaced with.. | ||
37 | 32 | * debian/{heat-api-cfn, heat-api-cloudwatch, heat-api, | ||
38 | 33 | heat-engine}.upstart: Create upstart jobs. | ||
39 | 34 | * debian/heat-common.dirs: Add directories that we need | ||
40 | 35 | to be created. | ||
41 | 36 | * debian/gpb.conf: Dropped no longer needed. | ||
42 | 37 | * debian/watch: Update to point to launchpad source | ||
43 | 38 | * debian/pydist-overrides: Override python-argparse | ||
44 | 39 | * debian/patches/fix-ubuntu-configuration.patch: Update configruation files | ||
45 | 40 | to use kombu rpc backend. | ||
46 | 41 | * debian/patches/fix-package-version-detection-when-building-doc.patch: Dropped | ||
47 | 42 | no longer needed. | ||
48 | 43 | * debian/removes-lxml-version-limitation-from-pip-requires.patch: Dropped no | ||
49 | 44 | longer needed. | ||
50 | 45 | * debian/heat-common.postinst: Add common configration stuff. | ||
51 | 46 | * debian/heat-common.install: Add missing files. | ||
52 | 47 | * debian/*.install: Install the configration files into the right places. | ||
53 | 48 | * debian/*.manpages: Install the correct manpages | ||
54 | 49 | |||
55 | 5 | -- Yolanda Robla <yolanda.robla@canonical.com> Fri, 07 Jun 2013 17:02:11 +0200 | 50 | -- Yolanda Robla <yolanda.robla@canonical.com> Fri, 07 Jun 2013 17:02:11 +0200 |
56 | 6 | 51 | ||
57 | 7 | heat (2013.1-4) unstable; urgency=low | 52 | heat (2013.1-4) unstable; urgency=low |
58 | 8 | 53 | ||
59 | === modified file 'debian/control' | |||
60 | --- debian/control 2013-06-07 15:04:17 +0000 | |||
61 | +++ debian/control 2013-06-10 18:48:25 +0000 | |||
62 | @@ -1,7 +1,8 @@ | |||
63 | 1 | Source: heat | 1 | Source: heat |
64 | 2 | Section: web | 2 | Section: web |
65 | 3 | Priority: optional | 3 | Priority: optional |
67 | 4 | Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org> | 4 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
68 | 5 | XSBC-Original-Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org> | ||
69 | 5 | Uploaders: Loic Dachary (OuoU) <loic@debian.org>, | 6 | Uploaders: Loic Dachary (OuoU) <loic@debian.org>, |
70 | 6 | Julien Danjou <acid@debian.org>, | 7 | Julien Danjou <acid@debian.org>, |
71 | 7 | Thomas Goirand <zigo@debian.org>, | 8 | Thomas Goirand <zigo@debian.org>, |
72 | @@ -9,15 +10,14 @@ | |||
73 | 9 | Mehdi Abaakouk <sileht@sileht.net> | 10 | Mehdi Abaakouk <sileht@sileht.net> |
74 | 10 | Build-Depends: debhelper (>= 9), | 11 | Build-Depends: debhelper (>= 9), |
75 | 11 | po-debconf, | 12 | po-debconf, |
80 | 12 | python-all (>= 2.6.6-3~), | 13 | python-all (>= 2.6.6-3~) |
81 | 13 | openstack-pkg-tools (>= 4) | 14 | Build-Depends-Indep: |
78 | 14 | Build-Depends-Indep: pep8 (>= 1.3.3), | ||
79 | 15 | python-argparse, | ||
82 | 16 | python-babel, | 15 | python-babel, |
83 | 17 | python-boto, | 16 | python-boto, |
84 | 18 | python-cinderclient, | 17 | python-cinderclient, |
85 | 19 | python-coverage, | 18 | python-coverage, |
86 | 20 | python-crypto, | 19 | python-crypto, |
87 | 20 | python-d2to1, | ||
88 | 21 | python-eventlet (>= 0.9.16), | 21 | python-eventlet (>= 0.9.16), |
89 | 22 | python-extras, | 22 | python-extras, |
90 | 23 | python-glanceclient, | 23 | python-glanceclient, |
91 | @@ -30,25 +30,26 @@ | |||
92 | 30 | python-memcache, | 30 | python-memcache, |
93 | 31 | python-migrate, | 31 | python-migrate, |
94 | 32 | python-mox, | 32 | python-mox, |
95 | 33 | python-nose, | ||
96 | 34 | python-nosexcover, | ||
97 | 35 | python-novaclient, | 33 | python-novaclient, |
98 | 36 | python-oslo.config, | 34 | python-oslo.config, |
99 | 37 | python-paste, | 35 | python-paste, |
100 | 38 | python-pastedeploy, | 36 | python-pastedeploy, |
101 | 39 | python-paramiko, | 37 | python-paramiko, |
103 | 40 | python-pycryptopp, | 38 | python-pbr, |
104 | 41 | python-qpid, | 39 | python-qpid, |
105 | 42 | python-quantumclient, | 40 | python-quantumclient, |
106 | 43 | python-routes, | 41 | python-routes, |
107 | 44 | python-sendfile, | 42 | python-sendfile, |
108 | 45 | python-setuptools, | 43 | python-setuptools, |
109 | 44 | python-six, | ||
110 | 46 | python-sphinx, | 45 | python-sphinx, |
111 | 47 | python-sqlalchemy (>= 0.7.8), | 46 | python-sqlalchemy (>= 0.7.8), |
112 | 47 | python-testtools, | ||
113 | 48 | python-swiftclient, | 48 | python-swiftclient, |
114 | 49 | python-webob, | 49 | python-webob, |
117 | 50 | python-yaml | 50 | python-yaml, |
118 | 51 | Standards-Version: 3.9.3 | 51 | testrepository |
119 | 52 | Standards-Version: 3.9.4 | ||
120 | 52 | Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/heat.git;a=summary | 53 | Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/heat.git;a=summary |
121 | 53 | Vcs-Git: git://anonscm.debian.org/openstack/heat.git | 54 | Vcs-Git: git://anonscm.debian.org/openstack/heat.git |
122 | 54 | Homepage: http://wiki.openstack.org/Heat | 55 | Homepage: http://wiki.openstack.org/Heat |
123 | @@ -59,7 +60,6 @@ | |||
124 | 59 | Architecture: all | 60 | Architecture: all |
125 | 60 | Pre-Depends: dpkg (>= 1.15.6~) | 61 | Pre-Depends: dpkg (>= 1.15.6~) |
126 | 61 | Depends: ${python:Depends}, ${misc:Depends}, | 62 | Depends: ${python:Depends}, ${misc:Depends}, |
127 | 62 | python-argparse, | ||
128 | 63 | python-boto, | 63 | python-boto, |
129 | 64 | python-cinderclient, | 64 | python-cinderclient, |
130 | 65 | python-crypto, | 65 | python-crypto, |
131 | @@ -99,7 +99,7 @@ | |||
132 | 99 | Package: heat-common | 99 | Package: heat-common |
133 | 100 | Architecture: all | 100 | Architecture: all |
134 | 101 | Pre-Depends: dpkg (>= 1.15.6~) | 101 | Pre-Depends: dpkg (>= 1.15.6~) |
136 | 102 | Depends: dbconfig-common, ${python:Depends}, ${misc:Depends}, python-heat (=${binary:Version}), | 102 | Depends: ${python:Depends}, ${misc:Depends}, python-heat (=${binary:Version}), |
137 | 103 | adduser | 103 | adduser |
138 | 104 | Description: OpenStack orchestration service - common files | 104 | Description: OpenStack orchestration service - common files |
139 | 105 | Heat is a service to orchestrate multiple composite cloud applications using | 105 | Heat is a service to orchestrate multiple composite cloud applications using |
140 | 106 | 106 | ||
141 | === removed file 'debian/gbp.conf' | |||
142 | --- debian/gbp.conf 2013-05-29 17:36:41 +0000 | |||
143 | +++ debian/gbp.conf 1970-01-01 00:00:00 +0000 | |||
144 | @@ -1,9 +0,0 @@ | |||
145 | 1 | [DEFAULT] | ||
146 | 2 | upstream-branch = master | ||
147 | 3 | debian-branch = debian/unstable | ||
148 | 4 | upstream-tag = %(version)s | ||
149 | 5 | compression = xz | ||
150 | 6 | |||
151 | 7 | [git-buildpackage] | ||
152 | 8 | export-dir = ../build-area/ | ||
153 | 9 | #cleaner = true | ||
154 | 10 | 0 | ||
155 | === removed file 'debian/heat-api-cfn.config.in' | |||
156 | --- debian/heat-api-cfn.config.in 2013-05-29 17:36:41 +0000 | |||
157 | +++ debian/heat-api-cfn.config.in 1970-01-01 00:00:00 +0000 | |||
158 | @@ -1,15 +0,0 @@ | |||
159 | 1 | #!/bin/sh | ||
160 | 2 | |||
161 | 3 | set -e | ||
162 | 4 | |||
163 | 5 | . /usr/share/debconf/confmodule | ||
164 | 6 | |||
165 | 7 | API_CONF=/etc/heat/heat-api-cfn.conf | ||
166 | 8 | APIPASTE_CONF=/etc/heat/heat-api-cfn-paste.ini | ||
167 | 9 | |||
168 | 10 | #PKGOS-INCLUDE# | ||
169 | 11 | |||
170 | 12 | pkgos_var_user_group heat | ||
171 | 13 | pkgos_read_admin_creds ${APIPASTE_CONF} filter:authtoken heat | ||
172 | 14 | |||
173 | 15 | exit 0 | ||
174 | 16 | 0 | ||
175 | === removed file 'debian/heat-api-cfn.init' | |||
176 | --- debian/heat-api-cfn.init 2013-05-29 17:36:41 +0000 | |||
177 | +++ debian/heat-api-cfn.init 1970-01-01 00:00:00 +0000 | |||
178 | @@ -1,87 +0,0 @@ | |||
179 | 1 | #!/bin/sh | ||
180 | 2 | ### BEGIN INIT INFO | ||
181 | 3 | # Provides: heat-api-cfn | ||
182 | 4 | # Required-Start: $network $local_fs $remote_fs $syslog | ||
183 | 5 | # Required-Stop: $remote_fs | ||
184 | 6 | # Default-Start: 2 3 4 5 | ||
185 | 7 | # Default-Stop: 0 1 6 | ||
186 | 8 | # Short-Description: Heat CFN API | ||
187 | 9 | # Description: Heat CFN API server | ||
188 | 10 | ### END INIT INFO | ||
189 | 11 | |||
190 | 12 | # Author: Thomas Goirand <zigo@debian.or> | ||
191 | 13 | |||
192 | 14 | # PATH should only include /usr/* if it runs after the mountnfs.sh script | ||
193 | 15 | PATH=/sbin:/usr/sbin:/bin:/usr/bin | ||
194 | 16 | DESC="Heat API" | ||
195 | 17 | NAME=heat-api-cfn | ||
196 | 18 | DAEMON=/usr/bin/heat-api-cfn | ||
197 | 19 | PIDFILE=/var/run/$NAME.pid | ||
198 | 20 | SCRIPTNAME=/etc/init.d/$NAME | ||
199 | 21 | SYSTEM_USER=heat | ||
200 | 22 | |||
201 | 23 | # Exit if the package is not installed | ||
202 | 24 | [ -x $DAEMON ] || exit 0 | ||
203 | 25 | |||
204 | 26 | . /lib/lsb/init-functions | ||
205 | 27 | |||
206 | 28 | if [ ! -e /var/log/heat ] ; then | ||
207 | 29 | mkdir -p /var/log/heat | ||
208 | 30 | chown ${SYSTEM_USER} /var/log/heat | ||
209 | 31 | fi | ||
210 | 32 | |||
211 | 33 | do_start () { | ||
212 | 34 | start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null || return 1 | ||
213 | 35 | start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON || return 2 | ||
214 | 36 | } | ||
215 | 37 | |||
216 | 38 | do_stop () { | ||
217 | 39 | start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE | ||
218 | 40 | RETVAL="$?" | ||
219 | 41 | rm -f $PIDFILE | ||
220 | 42 | return "$RETVAL" | ||
221 | 43 | } | ||
222 | 44 | |||
223 | 45 | case "$1" in | ||
224 | 46 | start) | ||
225 | 47 | log_daemon_msg "Starting $DESC" "$NAME" | ||
226 | 48 | do_start | ||
227 | 49 | case "$?" in | ||
228 | 50 | 0|1) log_end_msg 0 ;; | ||
229 | 51 | 2) log_end_msg 1 ;; | ||
230 | 52 | esac | ||
231 | 53 | ;; | ||
232 | 54 | stop) | ||
233 | 55 | log_daemon_msg "Stopping $DESC" "$NAME" | ||
234 | 56 | do_stop | ||
235 | 57 | case "$?" in | ||
236 | 58 | 0|1) log_end_msg 0 ;; | ||
237 | 59 | 2) log_end_msg 1 ;; | ||
238 | 60 | esac | ||
239 | 61 | ;; | ||
240 | 62 | status) | ||
241 | 63 | status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? | ||
242 | 64 | ;; | ||
243 | 65 | restart|force-reload) | ||
244 | 66 | log_daemon_msg "Restarting $DESC" "$NAME" | ||
245 | 67 | do_stop | ||
246 | 68 | case "$?" in | ||
247 | 69 | 0|1) | ||
248 | 70 | do_start | ||
249 | 71 | case "$?" in | ||
250 | 72 | 0) log_end_msg 0 ;; | ||
251 | 73 | 1) log_end_msg 1 ;; # Old process is still running | ||
252 | 74 | *) log_end_msg 1 ;; # Failed to start | ||
253 | 75 | esac | ||
254 | 76 | ;; | ||
255 | 77 | *) | ||
256 | 78 | # Failed to stop | ||
257 | 79 | log_end_msg 1 | ||
258 | 80 | ;; | ||
259 | 81 | esac | ||
260 | 82 | ;; | ||
261 | 83 | *) | ||
262 | 84 | echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 | ||
263 | 85 | exit 3 | ||
264 | 86 | ;; | ||
265 | 87 | esac | ||
266 | 88 | 0 | ||
267 | === modified file 'debian/heat-api-cfn.install' | |||
268 | --- debian/heat-api-cfn.install 2013-05-29 17:36:41 +0000 | |||
269 | +++ debian/heat-api-cfn.install 2013-06-10 18:48:25 +0000 | |||
270 | @@ -1,3 +1,2 @@ | |||
273 | 1 | etc/heat/heat-api-cfn.conf | 1 | etc/heat/heat-api-cfn.conf etc/heat |
272 | 2 | etc/heat/heat-api-cfn-paste.ini /usr/share/heat-api-cfn | ||
274 | 3 | usr/bin/heat-api-cfn | 2 | usr/bin/heat-api-cfn |
275 | 4 | 3 | ||
276 | === added file 'debian/heat-api-cfn.manpages' | |||
277 | --- debian/heat-api-cfn.manpages 1970-01-01 00:00:00 +0000 | |||
278 | +++ debian/heat-api-cfn.manpages 2013-06-10 18:48:25 +0000 | |||
279 | @@ -0,0 +1,1 @@ | |||
280 | 1 | build/sphinx/man/heat-api-cfn.1 | ||
281 | 0 | 2 | ||
282 | === removed file 'debian/heat-api-cfn.manpages' | |||
283 | --- debian/heat-api-cfn.manpages 2013-05-29 17:36:41 +0000 | |||
284 | +++ debian/heat-api-cfn.manpages 1970-01-01 00:00:00 +0000 | |||
285 | @@ -1,1 +0,0 @@ | |||
286 | 1 | doc/build/man/heat-api-cfn.1 | ||
287 | 2 | 0 | ||
288 | === removed file 'debian/heat-api-cfn.postinst.in' | |||
289 | --- debian/heat-api-cfn.postinst.in 2013-05-29 17:36:41 +0000 | |||
290 | +++ debian/heat-api-cfn.postinst.in 1970-01-01 00:00:00 +0000 | |||
291 | @@ -1,20 +0,0 @@ | |||
292 | 1 | #!/bin/sh | ||
293 | 2 | |||
294 | 3 | set -e | ||
295 | 4 | |||
296 | 5 | ETC=/etc/heat | ||
297 | 6 | |||
298 | 7 | #PKGOS-INCLUDE# | ||
299 | 8 | |||
300 | 9 | if [ "$1" = "configure" ] ; then | ||
301 | 10 | . /usr/share/debconf/confmodule | ||
302 | 11 | pkgos_var_user_group heat | ||
303 | 12 | pkgos_write_new_conf heat heat-api-cfn-paste.ini | ||
304 | 13 | pkgos_write_admin_creds /etc/heat/heat-api-cfn-paste.ini filter:authtoken heat | ||
305 | 14 | chown -R heat:adm /var/log/heat | ||
306 | 15 | chmod 0750 /var/log/heat | ||
307 | 16 | fi | ||
308 | 17 | |||
309 | 18 | #DEBHELPER# | ||
310 | 19 | |||
311 | 20 | exit 0 | ||
312 | 21 | 0 | ||
313 | === removed file 'debian/heat-api-cfn.templates' | |||
314 | --- debian/heat-api-cfn.templates 2013-05-29 17:36:41 +0000 | |||
315 | +++ debian/heat-api-cfn.templates 1970-01-01 00:00:00 +0000 | |||
316 | @@ -1,20 +0,0 @@ | |||
317 | 1 | Template: heat/auth-host | ||
318 | 2 | Type: string | ||
319 | 3 | Default: 127.0.0.1 | ||
320 | 4 | _Description: Auth server hostname: | ||
321 | 5 | Please specify the URL of your authentication server. Typically this is also | ||
322 | 6 | the URL of your OpenStack Identity Service (Keystone). | ||
323 | 7 | |||
324 | 8 | Template: heat/admin-tenant-name | ||
325 | 9 | Type: string | ||
326 | 10 | Default: admin | ||
327 | 11 | _Description: Auth server tenant name: | ||
328 | 12 | |||
329 | 13 | Template: heat/admin-user | ||
330 | 14 | Type: string | ||
331 | 15 | Default: admin | ||
332 | 16 | _Description: Auth server username: | ||
333 | 17 | |||
334 | 18 | Template: heat/admin-password | ||
335 | 19 | Type: password | ||
336 | 20 | _Description: Auth server password: | ||
337 | 21 | 0 | ||
338 | === added file 'debian/heat-api-cfn.upstart' | |||
339 | --- debian/heat-api-cfn.upstart 1970-01-01 00:00:00 +0000 | |||
340 | +++ debian/heat-api-cfn.upstart 2013-06-10 18:48:25 +0000 | |||
341 | @@ -0,0 +1,11 @@ | |||
342 | 1 | description "Heat API CFN server' | ||
343 | 2 | author "Chuck Short <zulcss@ubuntu.com>" | ||
344 | 3 | |||
345 | 4 | start on runevel [2345] | ||
346 | 5 | stop on runlevel [!2345] | ||
347 | 6 | |||
348 | 7 | respawn | ||
349 | 8 | |||
350 | 9 | exec start-stop-daemon --start --chuid heat \ | ||
351 | 10 | --chdir /var/lib/heat --name heat \ | ||
352 | 11 | --exec /usr/bin/heat-api-cfn | ||
353 | 0 | 12 | ||
354 | === removed file 'debian/heat-api-cloudwatch.config.in' | |||
355 | --- debian/heat-api-cloudwatch.config.in 2013-05-29 17:36:41 +0000 | |||
356 | +++ debian/heat-api-cloudwatch.config.in 1970-01-01 00:00:00 +0000 | |||
357 | @@ -1,14 +0,0 @@ | |||
358 | 1 | #!/bin/sh | ||
359 | 2 | |||
360 | 3 | set -e | ||
361 | 4 | |||
362 | 5 | . /usr/share/debconf/confmodule | ||
363 | 6 | |||
364 | 7 | APIPASTE_CONF=/etc/heat/heat-api-cloudwatch-paste.ini | ||
365 | 8 | |||
366 | 9 | #PKGOS-INCLUDE# | ||
367 | 10 | |||
368 | 11 | pkgos_var_user_group heat | ||
369 | 12 | pkgos_read_admin_creds ${APIPASTE_CONF} filter:authtoken heat | ||
370 | 13 | |||
371 | 14 | exit 0 | ||
372 | 15 | 0 | ||
373 | === removed file 'debian/heat-api-cloudwatch.init' | |||
374 | --- debian/heat-api-cloudwatch.init 2013-05-29 17:36:41 +0000 | |||
375 | +++ debian/heat-api-cloudwatch.init 1970-01-01 00:00:00 +0000 | |||
376 | @@ -1,87 +0,0 @@ | |||
377 | 1 | #!/bin/sh | ||
378 | 2 | ### BEGIN INIT INFO | ||
379 | 3 | # Provides: heat-api-cloudwatch | ||
380 | 4 | # Required-Start: $network $local_fs $remote_fs $syslog | ||
381 | 5 | # Required-Stop: $remote_fs | ||
382 | 6 | # Default-Start: 2 3 4 5 | ||
383 | 7 | # Default-Stop: 0 1 6 | ||
384 | 8 | # Short-Description: Heat cloudwatch API | ||
385 | 9 | # Description: Heat cloudwatch API server | ||
386 | 10 | ### END INIT INFO | ||
387 | 11 | |||
388 | 12 | # Author: Thomas Goirand <zigo@debian.or> | ||
389 | 13 | |||
390 | 14 | # PATH should only include /usr/* if it runs after the mountnfs.sh script | ||
391 | 15 | PATH=/sbin:/usr/sbin:/bin:/usr/bin | ||
392 | 16 | DESC="Heat API" | ||
393 | 17 | NAME=heat-api-cloudwatch | ||
394 | 18 | DAEMON=/usr/bin/heat-api-cloudwatch | ||
395 | 19 | PIDFILE=/var/run/$NAME.pid | ||
396 | 20 | SCRIPTNAME=/etc/init.d/$NAME | ||
397 | 21 | SYSTEM_USER=heat | ||
398 | 22 | |||
399 | 23 | # Exit if the package is not installed | ||
400 | 24 | [ -x $DAEMON ] || exit 0 | ||
401 | 25 | |||
402 | 26 | . /lib/lsb/init-functions | ||
403 | 27 | |||
404 | 28 | if [ ! -e /var/log/heat ] ; then | ||
405 | 29 | mkdir -p /var/log/heat | ||
406 | 30 | chown ${SYSTEM_USER} /var/log/heat | ||
407 | 31 | fi | ||
408 | 32 | |||
409 | 33 | do_start () { | ||
410 | 34 | start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null || return 1 | ||
411 | 35 | start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON || return 2 | ||
412 | 36 | } | ||
413 | 37 | |||
414 | 38 | do_stop () { | ||
415 | 39 | start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE | ||
416 | 40 | RETVAL="$?" | ||
417 | 41 | rm -f $PIDFILE | ||
418 | 42 | return "$RETVAL" | ||
419 | 43 | } | ||
420 | 44 | |||
421 | 45 | case "$1" in | ||
422 | 46 | start) | ||
423 | 47 | log_daemon_msg "Starting $DESC" "$NAME" | ||
424 | 48 | do_start | ||
425 | 49 | case "$?" in | ||
426 | 50 | 0|1) log_end_msg 0 ;; | ||
427 | 51 | 2) log_end_msg 1 ;; | ||
428 | 52 | esac | ||
429 | 53 | ;; | ||
430 | 54 | stop) | ||
431 | 55 | log_daemon_msg "Stopping $DESC" "$NAME" | ||
432 | 56 | do_stop | ||
433 | 57 | case "$?" in | ||
434 | 58 | 0|1) log_end_msg 0 ;; | ||
435 | 59 | 2) log_end_msg 1 ;; | ||
436 | 60 | esac | ||
437 | 61 | ;; | ||
438 | 62 | status) | ||
439 | 63 | status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? | ||
440 | 64 | ;; | ||
441 | 65 | restart|force-reload) | ||
442 | 66 | log_daemon_msg "Restarting $DESC" "$NAME" | ||
443 | 67 | do_stop | ||
444 | 68 | case "$?" in | ||
445 | 69 | 0|1) | ||
446 | 70 | do_start | ||
447 | 71 | case "$?" in | ||
448 | 72 | 0) log_end_msg 0 ;; | ||
449 | 73 | 1) log_end_msg 1 ;; # Old process is still running | ||
450 | 74 | *) log_end_msg 1 ;; # Failed to start | ||
451 | 75 | esac | ||
452 | 76 | ;; | ||
453 | 77 | *) | ||
454 | 78 | # Failed to stop | ||
455 | 79 | log_end_msg 1 | ||
456 | 80 | ;; | ||
457 | 81 | esac | ||
458 | 82 | ;; | ||
459 | 83 | *) | ||
460 | 84 | echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 | ||
461 | 85 | exit 3 | ||
462 | 86 | ;; | ||
463 | 87 | esac | ||
464 | 88 | 0 | ||
465 | === modified file 'debian/heat-api-cloudwatch.install' | |||
466 | --- debian/heat-api-cloudwatch.install 2013-05-29 17:36:41 +0000 | |||
467 | +++ debian/heat-api-cloudwatch.install 2013-06-10 18:48:25 +0000 | |||
468 | @@ -1,3 +1,2 @@ | |||
471 | 1 | etc/heat/heat-api-cloudwatch.conf | 1 | etc/heat/heat-api-cloudwatch.conf etc/heat |
470 | 2 | etc/heat/heat-api-cloudwatch-paste.ini /usr/share/heat-api-cloudwatch | ||
472 | 3 | /usr/bin/heat-api-cloudwatch | 2 | /usr/bin/heat-api-cloudwatch |
473 | 4 | 3 | ||
474 | === added file 'debian/heat-api-cloudwatch.manpages' | |||
475 | --- debian/heat-api-cloudwatch.manpages 1970-01-01 00:00:00 +0000 | |||
476 | +++ debian/heat-api-cloudwatch.manpages 2013-06-10 18:48:25 +0000 | |||
477 | @@ -0,0 +1,1 @@ | |||
478 | 1 | build/sphinx/man/heat-api-cloudwatch.1 | ||
479 | 0 | 2 | ||
480 | === removed file 'debian/heat-api-cloudwatch.manpages' | |||
481 | --- debian/heat-api-cloudwatch.manpages 2013-05-29 17:36:41 +0000 | |||
482 | +++ debian/heat-api-cloudwatch.manpages 1970-01-01 00:00:00 +0000 | |||
483 | @@ -1,1 +0,0 @@ | |||
484 | 1 | doc/build/man/heat-api-cloudwatch.1 | ||
485 | 2 | 0 | ||
486 | === removed file 'debian/heat-api-cloudwatch.postinst.in' | |||
487 | --- debian/heat-api-cloudwatch.postinst.in 2013-05-29 17:36:41 +0000 | |||
488 | +++ debian/heat-api-cloudwatch.postinst.in 1970-01-01 00:00:00 +0000 | |||
489 | @@ -1,20 +0,0 @@ | |||
490 | 1 | #!/bin/sh | ||
491 | 2 | |||
492 | 3 | set -e | ||
493 | 4 | |||
494 | 5 | ETC=/etc/heat | ||
495 | 6 | |||
496 | 7 | #PKGOS-INCLUDE# | ||
497 | 8 | |||
498 | 9 | if [ "$1" = "configure" ] ; then | ||
499 | 10 | . /usr/share/debconf/confmodule | ||
500 | 11 | pkgos_var_user_group heat | ||
501 | 12 | pkgos_write_new_conf heat heat-api-cloudwatch-paste.ini | ||
502 | 13 | pkgos_write_admin_creds /etc/heat/heat-api-cloudwatch-paste.ini filter:authtoken heat | ||
503 | 14 | chown -R heat:adm /var/log/heat | ||
504 | 15 | chmod 0750 /var/log/heat | ||
505 | 16 | fi | ||
506 | 17 | |||
507 | 18 | #DEBHELPER# | ||
508 | 19 | |||
509 | 20 | exit 0 | ||
510 | 21 | 0 | ||
511 | === removed file 'debian/heat-api-cloudwatch.templates' | |||
512 | --- debian/heat-api-cloudwatch.templates 2013-05-29 17:36:41 +0000 | |||
513 | +++ debian/heat-api-cloudwatch.templates 1970-01-01 00:00:00 +0000 | |||
514 | @@ -1,20 +0,0 @@ | |||
515 | 1 | Template: heat/auth-host | ||
516 | 2 | Type: string | ||
517 | 3 | Default: 127.0.0.1 | ||
518 | 4 | _Description: Auth server hostname: | ||
519 | 5 | Please specify the URL of your authentication server. Typically | ||
520 | 6 | this is also the URL of your OpenStack Identity Service (Keystone). | ||
521 | 7 | |||
522 | 8 | Template: heat/admin-tenant-name | ||
523 | 9 | Type: string | ||
524 | 10 | Default: admin | ||
525 | 11 | _Description: Auth server tenant name: | ||
526 | 12 | |||
527 | 13 | Template: heat/admin-user | ||
528 | 14 | Type: string | ||
529 | 15 | Default: admin | ||
530 | 16 | _Description: Auth server username: | ||
531 | 17 | |||
532 | 18 | Template: heat/admin-password | ||
533 | 19 | Type: password | ||
534 | 20 | _Description: Auth server password: | ||
535 | 21 | 0 | ||
536 | === added file 'debian/heat-api-cloudwatch.upstart' | |||
537 | --- debian/heat-api-cloudwatch.upstart 1970-01-01 00:00:00 +0000 | |||
538 | +++ debian/heat-api-cloudwatch.upstart 2013-06-10 18:48:25 +0000 | |||
539 | @@ -0,0 +1,11 @@ | |||
540 | 1 | description "Heat API cloudwatch server' | ||
541 | 2 | author "Chuck Short <zulcss@ubuntu.com>" | ||
542 | 3 | |||
543 | 4 | start on runevel [2345] | ||
544 | 5 | stop on runlevel [!2345] | ||
545 | 6 | |||
546 | 7 | respawn | ||
547 | 8 | |||
548 | 9 | exec start-stop-daemon --start --chuid heat \ | ||
549 | 10 | --chdir /var/lib/heat --name heat \ | ||
550 | 11 | --exec /usr/bin/heat-api-cloudwatch | ||
551 | 0 | 12 | ||
552 | === removed file 'debian/heat-api.config.in' | |||
553 | --- debian/heat-api.config.in 2013-05-29 17:36:41 +0000 | |||
554 | +++ debian/heat-api.config.in 1970-01-01 00:00:00 +0000 | |||
555 | @@ -1,16 +0,0 @@ | |||
556 | 1 | #!/bin/sh | ||
557 | 2 | |||
558 | 3 | set -e | ||
559 | 4 | |||
560 | 5 | . /usr/share/debconf/confmodule | ||
561 | 6 | |||
562 | 7 | API_CONF=/etc/heat/heat-api.conf | ||
563 | 8 | APIPASTE_CONF=/etc/heat/heat-api-paste.ini | ||
564 | 9 | |||
565 | 10 | #PKGOS-INCLUDE# | ||
566 | 11 | |||
567 | 12 | pkgos_var_user_group heat | ||
568 | 13 | pkgos_read_admin_creds ${APIPASTE_CONF} filter:authtoken heat | ||
569 | 14 | pkgos_register_endpoint_config heat | ||
570 | 15 | |||
571 | 16 | exit 0 | ||
572 | 17 | 0 | ||
573 | === removed file 'debian/heat-api.init' | |||
574 | --- debian/heat-api.init 2013-05-29 17:36:41 +0000 | |||
575 | +++ debian/heat-api.init 1970-01-01 00:00:00 +0000 | |||
576 | @@ -1,87 +0,0 @@ | |||
577 | 1 | #!/bin/sh | ||
578 | 2 | ### BEGIN INIT INFO | ||
579 | 3 | # Provides: heat-api | ||
580 | 4 | # Required-Start: $network $local_fs $remote_fs $syslog | ||
581 | 5 | # Required-Stop: $remote_fs | ||
582 | 6 | # Default-Start: 2 3 4 5 | ||
583 | 7 | # Default-Stop: 0 1 6 | ||
584 | 8 | # Short-Description: Heat API | ||
585 | 9 | # Description: Heat API server | ||
586 | 10 | ### END INIT INFO | ||
587 | 11 | |||
588 | 12 | # Author: Thomas Goirand <zigo@debian.or> | ||
589 | 13 | |||
590 | 14 | # PATH should only include /usr/* if it runs after the mountnfs.sh script | ||
591 | 15 | PATH=/sbin:/usr/sbin:/bin:/usr/bin | ||
592 | 16 | DESC="Heat API" | ||
593 | 17 | NAME=heat-api | ||
594 | 18 | DAEMON=/usr/bin/heat-api | ||
595 | 19 | PIDFILE=/var/run/$NAME.pid | ||
596 | 20 | SCRIPTNAME=/etc/init.d/$NAME | ||
597 | 21 | SYSTEM_USER=heat | ||
598 | 22 | |||
599 | 23 | # Exit if the package is not installed | ||
600 | 24 | [ -x $DAEMON ] || exit 0 | ||
601 | 25 | |||
602 | 26 | . /lib/lsb/init-functions | ||
603 | 27 | |||
604 | 28 | if [ ! -e /var/log/heat ] ; then | ||
605 | 29 | mkdir -p /var/log/heat | ||
606 | 30 | chown ${SYSTEM_USER} /var/log/heat | ||
607 | 31 | fi | ||
608 | 32 | |||
609 | 33 | do_start () { | ||
610 | 34 | start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null || return 1 | ||
611 | 35 | start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON || return 2 | ||
612 | 36 | } | ||
613 | 37 | |||
614 | 38 | do_stop () { | ||
615 | 39 | start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE | ||
616 | 40 | RETVAL="$?" | ||
617 | 41 | rm -f $PIDFILE | ||
618 | 42 | return "$RETVAL" | ||
619 | 43 | } | ||
620 | 44 | |||
621 | 45 | case "$1" in | ||
622 | 46 | start) | ||
623 | 47 | log_daemon_msg "Starting $DESC" "$NAME" | ||
624 | 48 | do_start | ||
625 | 49 | case "$?" in | ||
626 | 50 | 0|1) log_end_msg 0 ;; | ||
627 | 51 | 2) log_end_msg 1 ;; | ||
628 | 52 | esac | ||
629 | 53 | ;; | ||
630 | 54 | stop) | ||
631 | 55 | log_daemon_msg "Stopping $DESC" "$NAME" | ||
632 | 56 | do_stop | ||
633 | 57 | case "$?" in | ||
634 | 58 | 0|1) log_end_msg 0 ;; | ||
635 | 59 | 2) log_end_msg 1 ;; | ||
636 | 60 | esac | ||
637 | 61 | ;; | ||
638 | 62 | status) | ||
639 | 63 | status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? | ||
640 | 64 | ;; | ||
641 | 65 | restart|force-reload) | ||
642 | 66 | log_daemon_msg "Restarting $DESC" "$NAME" | ||
643 | 67 | do_stop | ||
644 | 68 | case "$?" in | ||
645 | 69 | 0|1) | ||
646 | 70 | do_start | ||
647 | 71 | case "$?" in | ||
648 | 72 | 0) log_end_msg 0 ;; | ||
649 | 73 | 1) log_end_msg 1 ;; # Old process is still running | ||
650 | 74 | *) log_end_msg 1 ;; # Failed to start | ||
651 | 75 | esac | ||
652 | 76 | ;; | ||
653 | 77 | *) | ||
654 | 78 | # Failed to stop | ||
655 | 79 | log_end_msg 1 | ||
656 | 80 | ;; | ||
657 | 81 | esac | ||
658 | 82 | ;; | ||
659 | 83 | *) | ||
660 | 84 | echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 | ||
661 | 85 | exit 3 | ||
662 | 86 | ;; | ||
663 | 87 | esac | ||
664 | 88 | 0 | ||
665 | === modified file 'debian/heat-api.install' | |||
666 | --- debian/heat-api.install 2013-05-29 17:36:41 +0000 | |||
667 | +++ debian/heat-api.install 2013-06-10 18:48:25 +0000 | |||
668 | @@ -1,3 +1,2 @@ | |||
669 | 1 | usr/bin/heat-api | 1 | usr/bin/heat-api |
670 | 2 | etc/heat/heat-api.conf | 2 | etc/heat/heat-api.conf |
671 | 3 | etc/heat/heat-api-paste.ini /usr/share/heat-api | ||
672 | 4 | 3 | ||
673 | === added file 'debian/heat-api.manpages' | |||
674 | --- debian/heat-api.manpages 1970-01-01 00:00:00 +0000 | |||
675 | +++ debian/heat-api.manpages 2013-06-10 18:48:25 +0000 | |||
676 | @@ -0,0 +1,1 @@ | |||
677 | 1 | build/sphinx/man/heat-api.1 | ||
678 | 0 | 2 | ||
679 | === removed file 'debian/heat-api.manpages' | |||
680 | --- debian/heat-api.manpages 2013-05-29 17:36:41 +0000 | |||
681 | +++ debian/heat-api.manpages 1970-01-01 00:00:00 +0000 | |||
682 | @@ -1,1 +0,0 @@ | |||
683 | 1 | doc/build/man/heat-api.1 | ||
684 | 2 | 0 | ||
685 | === removed file 'debian/heat-api.postinst.in' | |||
686 | --- debian/heat-api.postinst.in 2013-05-29 17:36:41 +0000 | |||
687 | +++ debian/heat-api.postinst.in 1970-01-01 00:00:00 +0000 | |||
688 | @@ -1,25 +0,0 @@ | |||
689 | 1 | #!/bin/sh | ||
690 | 2 | |||
691 | 3 | set -e | ||
692 | 4 | |||
693 | 5 | ETC=/etc/heat | ||
694 | 6 | |||
695 | 7 | #PKGOS-INCLUDE# | ||
696 | 8 | |||
697 | 9 | if [ "$1" = "configure" ] ; then | ||
698 | 10 | . /usr/share/debconf/confmodule | ||
699 | 11 | |||
700 | 12 | pkgos_var_user_group heat | ||
701 | 13 | |||
702 | 14 | pkgos_write_new_conf heat heat-api-paste.ini | ||
703 | 15 | pkgos_write_admin_creds /etc/heat/heat-api-paste.ini filter:authtoken heat | ||
704 | 16 | |||
705 | 17 | pkgos_register_endpoint_postinst heat heat orchestration "Heat Orchestration API" 8004 /v1/'%(tenant_id)s' | ||
706 | 18 | |||
707 | 19 | chown -R heat:adm /var/log/heat | ||
708 | 20 | chmod 0750 /var/log/heat | ||
709 | 21 | fi | ||
710 | 22 | |||
711 | 23 | #DEBHELPER# | ||
712 | 24 | |||
713 | 25 | exit 0 | ||
714 | 26 | 0 | ||
715 | === removed file 'debian/heat-api.templates' | |||
716 | --- debian/heat-api.templates 2013-05-29 17:36:41 +0000 | |||
717 | +++ debian/heat-api.templates 1970-01-01 00:00:00 +0000 | |||
718 | @@ -1,61 +0,0 @@ | |||
719 | 1 | Template: heat/auth-host | ||
720 | 2 | Type: string | ||
721 | 3 | Default: 127.0.0.1 | ||
722 | 4 | _Description: Auth server hostname: | ||
723 | 5 | Please specify the URL of your authentication server. Typically this is also | ||
724 | 6 | the URL of your OpenStack Identity Service (Keystone). | ||
725 | 7 | |||
726 | 8 | Template: heat/admin-tenant-name | ||
727 | 9 | Type: string | ||
728 | 10 | Default: admin | ||
729 | 11 | _Description: Auth server tenant name: | ||
730 | 12 | |||
731 | 13 | Template: heat/admin-user | ||
732 | 14 | Type: string | ||
733 | 15 | Default: admin | ||
734 | 16 | _Description: Auth server username: | ||
735 | 17 | |||
736 | 18 | Template: heat/admin-password | ||
737 | 19 | Type: password | ||
738 | 20 | _Description: Auth server password: | ||
739 | 21 | |||
740 | 22 | Template: heat/register-endpoint | ||
741 | 23 | Type: boolean | ||
742 | 24 | Default: false | ||
743 | 25 | _Description: Register Heat in the keystone endpoint catalog? | ||
744 | 26 | Each Openstack services (each API) should be registered in order to be | ||
745 | 27 | accessible. This is done using "keystone service-create" and "keystone | ||
746 | 28 | endpoint-create". Select if you want to run these commands now. | ||
747 | 29 | . | ||
748 | 30 | Note that you will need to have an up and running keystone server on which to | ||
749 | 31 | connect using the Keystone auth token. | ||
750 | 32 | |||
751 | 33 | Template: heat/keystone-ip | ||
752 | 34 | Type: string | ||
753 | 35 | _Description: Keystone IP address: | ||
754 | 36 | Enter the IP address of your keystone server, so that heat-api can | ||
755 | 37 | contact Keystone to do the Heat service and endpoint creation. | ||
756 | 38 | |||
757 | 39 | Template: heat/keystone-auth-token | ||
758 | 40 | Type: password | ||
759 | 41 | _Description: Keystone Auth Token: | ||
760 | 42 | To configure its endpoint in Keystone, heat-api needs the Keystone auth | ||
761 | 43 | token. | ||
762 | 44 | |||
763 | 45 | Template: heat/endpoint-ip | ||
764 | 46 | Type: string | ||
765 | 47 | _Description: Heat endpoint IP address: | ||
766 | 48 | Enter the IP address that will be used to contact Heat (eg: the Heat | ||
767 | 49 | endpoint IP address). | ||
768 | 50 | . | ||
769 | 51 | This IP address should be accessible from the clients that will use this | ||
770 | 52 | service, so if you are installing a public cloud, this should be a public | ||
771 | 53 | IP address. | ||
772 | 54 | |||
773 | 55 | Template: heat/region-name | ||
774 | 56 | Type: string | ||
775 | 57 | Default: regionOne | ||
776 | 58 | _Description: Name of the region to register: | ||
777 | 59 | Openstack can be used using availability zones, with each region representing | ||
778 | 60 | a location. Please enter the zone that you wish to use when registering the | ||
779 | 61 | endpoint. | ||
780 | 62 | 0 | ||
781 | === added file 'debian/heat-api.upstart' | |||
782 | --- debian/heat-api.upstart 1970-01-01 00:00:00 +0000 | |||
783 | +++ debian/heat-api.upstart 2013-06-10 18:48:25 +0000 | |||
784 | @@ -0,0 +1,11 @@ | |||
785 | 1 | description "Heat enginge server' | ||
786 | 2 | author "Chuck Short <zulcss@ubuntu.com>" | ||
787 | 3 | |||
788 | 4 | start on runevel [2345] | ||
789 | 5 | stop on runlevel [!2345] | ||
790 | 6 | |||
791 | 7 | respawn | ||
792 | 8 | |||
793 | 9 | exec start-stop-daemon --start --chuid heat \ | ||
794 | 10 | --chdir /var/lib/heat --name heat \ | ||
795 | 11 | --exec /usr/bin/heat-enginge | ||
796 | 0 | 12 | ||
797 | === added file 'debian/heat-common.dirs' | |||
798 | --- debian/heat-common.dirs 1970-01-01 00:00:00 +0000 | |||
799 | +++ debian/heat-common.dirs 2013-06-10 18:48:25 +0000 | |||
800 | @@ -0,0 +1,3 @@ | |||
801 | 1 | etc/heat | ||
802 | 2 | var/lib/heat | ||
803 | 3 | var/log/heat | ||
804 | 0 | 4 | ||
805 | === modified file 'debian/heat-common.install' | |||
806 | --- debian/heat-common.install 2013-05-29 17:36:41 +0000 | |||
807 | +++ debian/heat-common.install 2013-06-10 18:48:25 +0000 | |||
808 | @@ -1,3 +1,10 @@ | |||
809 | 1 | etc/boto.cfg etc/heat | ||
810 | 2 | etc/heat/api-paste.ini etc/heat | ||
811 | 3 | etc/heat/policy.json etc/heat | ||
812 | 1 | /usr/bin/heat-cfn | 4 | /usr/bin/heat-cfn |
813 | 2 | /usr/bin/heat-boto | 5 | /usr/bin/heat-boto |
814 | 3 | /usr/bin/heat-watch | 6 | /usr/bin/heat-watch |
815 | 7 | /usr/bin/heat-db-setup | ||
816 | 8 | /usr/bin/cinder-keystone-setup | ||
817 | 9 | /usr/bin/heat-keystone-setup | ||
818 | 10 | /usr/bin/heat-manage | ||
819 | 4 | 11 | ||
820 | === added file 'debian/heat-common.manpages' | |||
821 | --- debian/heat-common.manpages 1970-01-01 00:00:00 +0000 | |||
822 | +++ debian/heat-common.manpages 2013-06-10 18:48:25 +0000 | |||
823 | @@ -0,0 +1,4 @@ | |||
824 | 1 | build/sphinx/man/heat-boto.1 | ||
825 | 2 | build/sphinx/man/heat-db-setup.1 | ||
826 | 3 | build/sphinx/man/heat-watch.1 | ||
827 | 4 | build/sphinx/man/heat-keystone-setup.1 | ||
828 | 0 | 5 | ||
829 | === removed file 'debian/heat-common.manpages' | |||
830 | --- debian/heat-common.manpages 2013-05-29 17:36:41 +0000 | |||
831 | +++ debian/heat-common.manpages 1970-01-01 00:00:00 +0000 | |||
832 | @@ -1,1 +0,0 @@ | |||
833 | 1 | doc/build/man/heat-cfn.1 | ||
834 | 2 | 0 | ||
835 | === added file 'debian/heat-common.postinst' | |||
836 | --- debian/heat-common.postinst 1970-01-01 00:00:00 +0000 | |||
837 | +++ debian/heat-common.postinst 2013-06-10 18:48:25 +0000 | |||
838 | @@ -0,0 +1,22 @@ | |||
839 | 1 | #!/bin/sh -e | ||
840 | 2 | |||
841 | 3 | if [ "$1" = "configure" ]; then | ||
842 | 4 | if !getent group heat > /dev/null 2>&1; then | ||
843 | 5 | addgroup --system heat >/dev/null | ||
844 | 6 | fi | ||
845 | 7 | |||
846 | 8 | if ! getent passwd heat > /dev/null 2>&1; then | ||
847 | 9 | adduser --system head --home /var/lib/heat --ingroup heat --no-create-home \ | ||
848 | 10 | -shell /bin/false head | ||
849 | 11 | fi | ||
850 | 12 | |||
851 | 13 | if [ "$(id -gn nova)" = "nogroup" ]; then | ||
852 | 14 | usermod -g heat heat | ||
853 | 15 | fi | ||
854 | 16 | |||
855 | 17 | chown -R heat:heat /etc/heat | ||
856 | 18 | chown -R heat:adm /var/log/heat | ||
857 | 19 | chown -R heat:heat /var/lib/heat | ||
858 | 20 | fi | ||
859 | 21 | |||
860 | 22 | #DEBEHELPER# | ||
861 | 0 | 23 | ||
862 | === removed file 'debian/heat-common.postinst.in' | |||
863 | --- debian/heat-common.postinst.in 2013-05-29 17:36:41 +0000 | |||
864 | +++ debian/heat-common.postinst.in 1970-01-01 00:00:00 +0000 | |||
865 | @@ -1,18 +0,0 @@ | |||
866 | 1 | #!/bin/sh | ||
867 | 2 | |||
868 | 3 | set -e | ||
869 | 4 | |||
870 | 5 | ETC=/etc/heat | ||
871 | 6 | |||
872 | 7 | #PKGOS-INCLUDE# | ||
873 | 8 | |||
874 | 9 | if [ "$1" = "configure" ] ; then | ||
875 | 10 | pkgos_var_user_group heat | ||
876 | 11 | chown -R heat:adm /var/log/heat | ||
877 | 12 | chmod 0750 /var/log/heat | ||
878 | 13 | mkdir -p /etc/heat | ||
879 | 14 | mkdir -p /var/lib/heat | ||
880 | 15 | chown heat:heat -R /var/lib/heat /etc/heat | ||
881 | 16 | fi | ||
882 | 17 | |||
883 | 18 | #DEBHELPER# | ||
884 | 19 | 0 | ||
885 | === removed file 'debian/heat-engine.config.in' | |||
886 | --- debian/heat-engine.config.in 2013-05-29 17:36:41 +0000 | |||
887 | +++ debian/heat-engine.config.in 1970-01-01 00:00:00 +0000 | |||
888 | @@ -1,14 +0,0 @@ | |||
889 | 1 | #!/bin/sh | ||
890 | 2 | |||
891 | 3 | set -e | ||
892 | 4 | |||
893 | 5 | . /usr/share/debconf/confmodule | ||
894 | 6 | |||
895 | 7 | CONF=/etc/heat/heat-engine.conf | ||
896 | 8 | |||
897 | 9 | #PKGOS-INCLUDE# | ||
898 | 10 | |||
899 | 11 | pkgos_var_user_group heat | ||
900 | 12 | pkgos_dbc_read_conf -pkg heat-engine ${CONF} DEFAULT sql_connection heat $@ | ||
901 | 13 | |||
902 | 14 | exit 0 | ||
903 | 15 | 0 | ||
904 | === removed file 'debian/heat-engine.init' | |||
905 | --- debian/heat-engine.init 2013-05-29 17:36:41 +0000 | |||
906 | +++ debian/heat-engine.init 1970-01-01 00:00:00 +0000 | |||
907 | @@ -1,87 +0,0 @@ | |||
908 | 1 | #!/bin/sh | ||
909 | 2 | ### BEGIN INIT INFO | ||
910 | 3 | # Provides: heat-engine | ||
911 | 4 | # Required-Start: $network $local_fs $remote_fs $syslog | ||
912 | 5 | # Required-Stop: $remote_fs | ||
913 | 6 | # Default-Start: 2 3 4 5 | ||
914 | 7 | # Default-Stop: 0 1 6 | ||
915 | 8 | # Short-Description: Heat Engine | ||
916 | 9 | # Description: Heat Engine server | ||
917 | 10 | ### END INIT INFO | ||
918 | 11 | |||
919 | 12 | # Author: Thomas Goirand <zigo@debian.or> | ||
920 | 13 | |||
921 | 14 | # PATH should only include /usr/* if it runs after the mountnfs.sh script | ||
922 | 15 | PATH=/sbin:/usr/sbin:/bin:/usr/bin | ||
923 | 16 | DESC="Heat Engine" | ||
924 | 17 | NAME=heat-engine | ||
925 | 18 | DAEMON=/usr/bin/heat-engine | ||
926 | 19 | PIDFILE=/var/run/$NAME.pid | ||
927 | 20 | SCRIPTNAME=/etc/init.d/$NAME | ||
928 | 21 | SYSTEM_USER=heat | ||
929 | 22 | |||
930 | 23 | # Exit if the package is not installed | ||
931 | 24 | [ -x $DAEMON ] || exit 0 | ||
932 | 25 | |||
933 | 26 | . /lib/lsb/init-functions | ||
934 | 27 | |||
935 | 28 | if [ ! -e /var/log/heat ] ; then | ||
936 | 29 | mkdir -p /var/log/heat | ||
937 | 30 | chown ${SYSTEM_USER} /var/log/heat | ||
938 | 31 | fi | ||
939 | 32 | |||
940 | 33 | do_start () { | ||
941 | 34 | start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON --test > /dev/null || return 1 | ||
942 | 35 | start-stop-daemon --start --background --quiet --chuid ${SYSTEM_USER}:${SYSTEM_USER} --make-pidfile --pidfile $PIDFILE --startas $DAEMON || return 2 | ||
943 | 36 | } | ||
944 | 37 | |||
945 | 38 | do_stop () { | ||
946 | 39 | start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE | ||
947 | 40 | RETVAL="$?" | ||
948 | 41 | rm -f $PIDFILE | ||
949 | 42 | return "$RETVAL" | ||
950 | 43 | } | ||
951 | 44 | |||
952 | 45 | case "$1" in | ||
953 | 46 | start) | ||
954 | 47 | log_daemon_msg "Starting $DESC" "$NAME" | ||
955 | 48 | do_start | ||
956 | 49 | case "$?" in | ||
957 | 50 | 0|1) log_end_msg 0 ;; | ||
958 | 51 | 2) log_end_msg 1 ;; | ||
959 | 52 | esac | ||
960 | 53 | ;; | ||
961 | 54 | stop) | ||
962 | 55 | log_daemon_msg "Stopping $DESC" "$NAME" | ||
963 | 56 | do_stop | ||
964 | 57 | case "$?" in | ||
965 | 58 | 0|1) log_end_msg 0 ;; | ||
966 | 59 | 2) log_end_msg 1 ;; | ||
967 | 60 | esac | ||
968 | 61 | ;; | ||
969 | 62 | status) | ||
970 | 63 | status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? | ||
971 | 64 | ;; | ||
972 | 65 | restart|force-reload) | ||
973 | 66 | log_daemon_msg "Restarting $DESC" "$NAME" | ||
974 | 67 | do_stop | ||
975 | 68 | case "$?" in | ||
976 | 69 | 0|1) | ||
977 | 70 | do_start | ||
978 | 71 | case "$?" in | ||
979 | 72 | 0) log_end_msg 0 ;; | ||
980 | 73 | 1) log_end_msg 1 ;; # Old process is still running | ||
981 | 74 | *) log_end_msg 1 ;; # Failed to start | ||
982 | 75 | esac | ||
983 | 76 | ;; | ||
984 | 77 | *) | ||
985 | 78 | # Failed to stop | ||
986 | 79 | log_end_msg 1 | ||
987 | 80 | ;; | ||
988 | 81 | esac | ||
989 | 82 | ;; | ||
990 | 83 | *) | ||
991 | 84 | echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 | ||
992 | 85 | exit 3 | ||
993 | 86 | ;; | ||
994 | 87 | esac | ||
995 | 88 | 0 | ||
996 | === modified file 'debian/heat-engine.install' | |||
997 | --- debian/heat-engine.install 2013-05-29 17:36:41 +0000 | |||
998 | +++ debian/heat-engine.install 2013-06-10 18:48:25 +0000 | |||
999 | @@ -1,2 +1,2 @@ | |||
1001 | 1 | etc/heat/heat-engine.conf /usr/share/heat-engine | 1 | etc/heat/heat-engine.conf etc/heat |
1002 | 2 | usr/bin/heat-engine | 2 | usr/bin/heat-engine |
1003 | 3 | 3 | ||
1004 | === added file 'debian/heat-engine.manpages' | |||
1005 | --- debian/heat-engine.manpages 1970-01-01 00:00:00 +0000 | |||
1006 | +++ debian/heat-engine.manpages 2013-06-10 18:48:25 +0000 | |||
1007 | @@ -0,0 +1,1 @@ | |||
1008 | 1 | build/sphinx/man/heat-engine.1 | ||
1009 | 0 | 2 | ||
1010 | === removed file 'debian/heat-engine.manpages' | |||
1011 | --- debian/heat-engine.manpages 2013-05-29 17:36:41 +0000 | |||
1012 | +++ debian/heat-engine.manpages 1970-01-01 00:00:00 +0000 | |||
1013 | @@ -1,1 +0,0 @@ | |||
1014 | 1 | doc/build/man/heat-engine.1 | ||
1015 | 2 | 0 | ||
1016 | === removed file 'debian/heat-engine.postinst.in' | |||
1017 | --- debian/heat-engine.postinst.in 2013-05-29 17:36:41 +0000 | |||
1018 | +++ debian/heat-engine.postinst.in 1970-01-01 00:00:00 +0000 | |||
1019 | @@ -1,23 +0,0 @@ | |||
1020 | 1 | #!/bin/sh | ||
1021 | 2 | |||
1022 | 3 | set -e | ||
1023 | 4 | |||
1024 | 5 | CONF=/etc/heat/heat-engine.conf | ||
1025 | 6 | |||
1026 | 7 | #PKGOS-INCLUDE# | ||
1027 | 8 | |||
1028 | 9 | if [ "$1" = "configure" ] ; then | ||
1029 | 10 | . /usr/share/debconf/confmodule | ||
1030 | 11 | . /usr/share/dbconfig-common/dpkg/postinst | ||
1031 | 12 | |||
1032 | 13 | pkgos_var_user_group heat | ||
1033 | 14 | pkgos_write_new_conf heat heat-engine.conf | ||
1034 | 15 | pkgos_dbc_postinst ${CONF} DEFAULT sql_connection heat $@ | ||
1035 | 16 | |||
1036 | 17 | # This is the equivalent of db-sync: | ||
1037 | 18 | su heat -c "python -m heat.db.sync" | ||
1038 | 19 | fi | ||
1039 | 20 | |||
1040 | 21 | #DEBHELPER# | ||
1041 | 22 | |||
1042 | 23 | exit 0 | ||
1043 | 24 | 0 | ||
1044 | === removed file 'debian/heat-engine.templates' | |||
1045 | --- debian/heat-engine.templates 2013-05-29 17:36:41 +0000 | |||
1046 | +++ debian/heat-engine.templates 1970-01-01 00:00:00 +0000 | |||
1047 | @@ -1,17 +0,0 @@ | |||
1048 | 1 | Template: heat/configure_db | ||
1049 | 2 | Type: boolean | ||
1050 | 3 | Default: true | ||
1051 | 4 | _Description: Set up a database for heat-engine? | ||
1052 | 5 | No database has been set up for heat-engine to use. Before continuing, you | ||
1053 | 6 | should make sure you have: | ||
1054 | 7 | . | ||
1055 | 8 | - the server host name (that server must allow TCP connections from this | ||
1056 | 9 | machine); | ||
1057 | 10 | - a username and password to access the database. | ||
1058 | 11 | - A database type that you want to use. | ||
1059 | 12 | . | ||
1060 | 13 | If some of these requirements are missing, reject this option and run with | ||
1061 | 14 | regular sqlite support. | ||
1062 | 15 | . | ||
1063 | 16 | You can change this setting later on by running 'dpkg-reconfigure -plow | ||
1064 | 17 | heat-engine'. | ||
1065 | 18 | 0 | ||
1066 | === added file 'debian/heat-engine.upstart' | |||
1067 | --- debian/heat-engine.upstart 1970-01-01 00:00:00 +0000 | |||
1068 | +++ debian/heat-engine.upstart 2013-06-10 18:48:25 +0000 | |||
1069 | @@ -0,0 +1,11 @@ | |||
1070 | 1 | description "Heat API server' | ||
1071 | 2 | author "Chuck Short <zulcss@ubuntu.com>" | ||
1072 | 3 | |||
1073 | 4 | start on runevel [2345] | ||
1074 | 5 | stop on runlevel [!2345] | ||
1075 | 6 | |||
1076 | 7 | respawn | ||
1077 | 8 | |||
1078 | 9 | exec start-stop-daemon --start --chuid heat \ | ||
1079 | 10 | --chdir /var/lib/heat --name heat \ | ||
1080 | 11 | --exec /usr/bin/heat-api | ||
1081 | 0 | 12 | ||
1082 | === removed file 'debian/patches/fix-package-version-detection-when-building-doc.patch' | |||
1083 | --- debian/patches/fix-package-version-detection-when-building-doc.patch 2013-05-29 17:36:41 +0000 | |||
1084 | +++ debian/patches/fix-package-version-detection-when-building-doc.patch 1970-01-01 00:00:00 +0000 | |||
1085 | @@ -1,27 +0,0 @@ | |||
1086 | 1 | Description: Fixes version detection when building docs | ||
1087 | 2 | Author: Thomas Goirand <zigo@debian.org> | ||
1088 | 3 | Forwarded: no | ||
1089 | 4 | Last-Update: 2013-05-16 | ||
1090 | 5 | |||
1091 | 6 | Index: heat/heat/openstack/common/version.py | ||
1092 | 7 | =================================================================== | ||
1093 | 8 | --- heat.orig/heat/openstack/common/version.py 2013-05-16 14:07:08.000000000 +0000 | ||
1094 | 9 | +++ heat/heat/openstack/common/version.py 2013-05-16 14:07:08.000000000 +0000 | ||
1095 | 10 | @@ -19,6 +19,7 @@ | ||
1096 | 11 | """ | ||
1097 | 12 | |||
1098 | 13 | import pkg_resources | ||
1099 | 14 | +import os | ||
1100 | 15 | |||
1101 | 16 | |||
1102 | 17 | class VersionInfo(object): | ||
1103 | 18 | @@ -54,6 +55,9 @@ | ||
1104 | 19 | if self.release is None: | ||
1105 | 20 | self.release = self._get_version_from_pkg_resources() | ||
1106 | 21 | |||
1107 | 22 | + if self.release is None: | ||
1108 | 23 | + self.release = os.environ.get("OSLO_PACKAGE_VERSION", None) | ||
1109 | 24 | + | ||
1110 | 25 | return self.release | ||
1111 | 26 | |||
1112 | 27 | def version_string(self): | ||
1113 | 28 | 0 | ||
1114 | === added file 'debian/patches/fix-ubuntu-configuration.patch' | |||
1115 | --- debian/patches/fix-ubuntu-configuration.patch 1970-01-01 00:00:00 +0000 | |||
1116 | +++ debian/patches/fix-ubuntu-configuration.patch 2013-06-10 18:48:25 +0000 | |||
1117 | @@ -0,0 +1,47 @@ | |||
1118 | 1 | diff -Naurp heat-2013.2.a50.g9f40fa3.orig/etc/heat/heat-api-cfn.conf heat-2013.2.a50.g9f40fa3/etc/heat/heat-api-cfn.conf | ||
1119 | 2 | --- heat-2013.2.a50.g9f40fa3.orig/etc/heat/heat-api-cfn.conf 2013-06-10 09:46:38.000000000 -0500 | ||
1120 | 3 | +++ heat-2013.2.a50.g9f40fa3/etc/heat/heat-api-cfn.conf 2013-06-10 11:59:55.777608447 -0500 | ||
1121 | 4 | @@ -27,7 +27,7 @@ use_syslog = False | ||
1122 | 5 | # Facility to use. If unset defaults to LOG_USER. | ||
1123 | 6 | # syslog_log_facility = LOG_LOCAL0 | ||
1124 | 7 | |||
1125 | 8 | -rpc_backend=heat.openstack.common.rpc.impl_qpid | ||
1126 | 9 | +rpc_backend=heat.openstack.common.rpc.impl_kombu | ||
1127 | 10 | |||
1128 | 11 | [keystone_authtoken] | ||
1129 | 12 | auth_host = 127.0.0.1 | ||
1130 | 13 | diff -Naurp heat-2013.2.a50.g9f40fa3.orig/etc/heat/heat-api-cloudwatch.conf heat-2013.2.a50.g9f40fa3/etc/heat/heat-api-cloudwatch.conf | ||
1131 | 14 | --- heat-2013.2.a50.g9f40fa3.orig/etc/heat/heat-api-cloudwatch.conf 2013-06-10 09:46:38.000000000 -0500 | ||
1132 | 15 | +++ heat-2013.2.a50.g9f40fa3/etc/heat/heat-api-cloudwatch.conf 2013-06-10 11:59:45.053608191 -0500 | ||
1133 | 16 | @@ -25,7 +25,7 @@ bind_host = 0.0.0.0 | ||
1134 | 17 | # Port the bind the server to | ||
1135 | 18 | bind_port = 8003 | ||
1136 | 19 | |||
1137 | 20 | -rpc_backend=heat.openstack.common.rpc.impl_qpid | ||
1138 | 21 | +rpc_backend=heat.openstack.common.rpc.impl_kombu | ||
1139 | 22 | |||
1140 | 23 | [keystone_authtoken] | ||
1141 | 24 | auth_host = 127.0.0.1 | ||
1142 | 25 | diff -Naurp heat-2013.2.a50.g9f40fa3.orig/etc/heat/heat-api.conf heat-2013.2.a50.g9f40fa3/etc/heat/heat-api.conf | ||
1143 | 26 | --- heat-2013.2.a50.g9f40fa3.orig/etc/heat/heat-api.conf 2013-06-10 09:46:38.000000000 -0500 | ||
1144 | 27 | +++ heat-2013.2.a50.g9f40fa3/etc/heat/heat-api.conf 2013-06-10 12:00:03.989608643 -0500 | ||
1145 | 28 | @@ -25,7 +25,7 @@ bind_host = 0.0.0.0 | ||
1146 | 29 | # Port the bind the server to | ||
1147 | 30 | bind_port = 8004 | ||
1148 | 31 | |||
1149 | 32 | -rpc_backend=heat.openstack.common.rpc.impl_qpid | ||
1150 | 33 | +rpc_backend=heat.openstack.common.rpc.impl_kombu | ||
1151 | 34 | |||
1152 | 35 | |||
1153 | 36 | |||
1154 | 37 | diff -Naurp heat-2013.2.a50.g9f40fa3.orig/etc/heat/heat-engine.conf heat-2013.2.a50.g9f40fa3/etc/heat/heat-engine.conf | ||
1155 | 38 | --- heat-2013.2.a50.g9f40fa3.orig/etc/heat/heat-engine.conf 2013-06-10 09:46:38.000000000 -0500 | ||
1156 | 39 | +++ heat-2013.2.a50.g9f40fa3/etc/heat/heat-engine.conf 2013-06-10 11:59:26.749607755 -0500 | ||
1157 | 40 | @@ -67,6 +67,6 @@ sql_connection = mysql://heat:heat@local | ||
1158 | 41 | |||
1159 | 42 | db_backend=heat.db.sqlalchemy.api | ||
1160 | 43 | |||
1161 | 44 | -rpc_backend=heat.openstack.common.rpc.impl_qpid | ||
1162 | 45 | +rpc_backend=heat.openstack.common.rpc.impl_kombu | ||
1163 | 46 | |||
1164 | 47 | auth_encryption_key=%ENCRYPTION_KEY% | ||
1165 | 0 | 48 | ||
1166 | === removed file 'debian/patches/removes-lxml-version-limitation-from-pip-requires.patch' | |||
1167 | --- debian/patches/removes-lxml-version-limitation-from-pip-requires.patch 2013-05-29 17:36:41 +0000 | |||
1168 | +++ debian/patches/removes-lxml-version-limitation-from-pip-requires.patch 1970-01-01 00:00:00 +0000 | |||
1169 | @@ -1,18 +0,0 @@ | |||
1170 | 1 | Description: Removes <= 2.3.5 from lxml pip-requires | ||
1171 | 2 | Warn upstream on IRC about this, they said it's no problem to remove the | ||
1172 | 3 | version thing, and they will remove it upstream. | ||
1173 | 4 | Author: Thomas Goirand <zigo@debian.org> | ||
1174 | 5 | Forwarded: no | ||
1175 | 6 | Last-Update: 2013-05-16 | ||
1176 | 7 | |||
1177 | 8 | --- heat-2013.1.orig/tools/pip-requires | ||
1178 | 9 | +++ heat-2013.1/tools/pip-requires | ||
1179 | 10 | @@ -17,7 +17,7 @@ httplib2 | ||
1180 | 11 | iso8601>=0.1.4 | ||
1181 | 12 | kombu>=1.0.4 | ||
1182 | 13 | argparse | ||
1183 | 14 | -lxml>=2.3,<=2.3.5 | ||
1184 | 15 | +lxml>=2.3 | ||
1185 | 16 | sqlalchemy-migrate>=0.7.2 | ||
1186 | 17 | python-novaclient | ||
1187 | 18 | PasteDeploy==1.5.0 | ||
1188 | 19 | 0 | ||
1189 | === modified file 'debian/patches/series' | |||
1190 | --- debian/patches/series 2013-05-29 17:36:41 +0000 | |||
1191 | +++ debian/patches/series 2013-06-10 18:48:25 +0000 | |||
1192 | @@ -1,2 +1,1 @@ | |||
1195 | 1 | removes-lxml-version-limitation-from-pip-requires.patch | 1 | fix-ubuntu-configuration.patch |
1194 | 2 | fix-package-version-detection-when-building-doc.patch | ||
1196 | 3 | 2 | ||
1197 | === added file 'debian/pydist-overrides' | |||
1198 | --- debian/pydist-overrides 1970-01-01 00:00:00 +0000 | |||
1199 | +++ debian/pydist-overrides 2013-06-10 18:48:25 +0000 | |||
1200 | @@ -0,0 +1,1 @@ | |||
1201 | 1 | argparse | ||
1202 | 0 | 2 | ||
1203 | === modified file 'debian/rules' | |||
1204 | --- debian/rules 2013-05-29 17:36:41 +0000 | |||
1205 | +++ debian/rules 2013-06-10 18:48:25 +0000 | |||
1206 | @@ -2,16 +2,12 @@ | |||
1207 | 2 | 2 | ||
1208 | 3 | #export DH_VERBOSE=1 | 3 | #export DH_VERBOSE=1 |
1209 | 4 | 4 | ||
1210 | 5 | include /usr/share/openstack-pkg-tools/pkgos.make | ||
1211 | 6 | |||
1212 | 7 | export OSLO_PACKAGE_VERSION=$(VERSION) | ||
1213 | 8 | |||
1214 | 9 | %: | 5 | %: |
1215 | 10 | dh $@ --with python2 | 6 | dh $@ --with python2 |
1216 | 11 | 7 | ||
1217 | 12 | ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) | 8 | ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) |
1218 | 13 | override_dh_auto_test: | 9 | override_dh_auto_test: |
1220 | 14 | ./run_tests.sh -u | 10 | testr init && testr run |
1221 | 15 | endif | 11 | endif |
1222 | 16 | 12 | ||
1223 | 17 | 13 | ||
1224 | @@ -20,38 +16,13 @@ | |||
1225 | 20 | rm -rf heat.egg-info | 16 | rm -rf heat.egg-info |
1226 | 21 | rm -rf doc/build | 17 | rm -rf doc/build |
1227 | 22 | find . -iname '*.pyc' -delete | 18 | find . -iname '*.pyc' -delete |
1228 | 23 | rm -f \ | ||
1229 | 24 | debian/heat-api-cfn.config \ | ||
1230 | 25 | debian/heat-api-cfn.postinst \ | ||
1231 | 26 | debian/heat-api-cloudwatch.config \ | ||
1232 | 27 | debian/heat-api-cloudwatch.postinst \ | ||
1233 | 28 | debian/heat-api.config \ | ||
1234 | 29 | debian/heat-api.postinst \ | ||
1235 | 30 | debian/heat-common.postinst \ | ||
1236 | 31 | debian/heat-engine.config \ | ||
1237 | 32 | debian/heat-engine.postinst | ||
1238 | 33 | 19 | ||
1239 | 34 | override_dh_install: | 20 | override_dh_install: |
1240 | 35 | dh_install | 21 | dh_install |
1241 | 36 | sed -i 's/^[ \t]*rpc_backend[ \t]*=[ \t]*heat.openstack.common.rpc.impl_qpid/rpc_backend=heat.openstack.common.rpc.impl_kombu/' $(CURDIR)/debian/heat-engine/usr/share/heat-engine/heat-engine.conf | ||
1242 | 37 | sed -i 's/^[ \t]*rpc_backend[ \t]*=[ \t]*heat.openstack.common.rpc.impl_qpid/rpc_backend=heat.openstack.common.rpc.impl_kombu/' $(CURDIR)/debian/heat-api-cloudwatch/etc/heat/heat-api-cloudwatch.conf | ||
1243 | 38 | sed -i 's/^[ \t]*rpc_backend[ \t]*=[ \t]*heat.openstack.common.rpc.impl_qpid/rpc_backend=heat.openstack.common.rpc.impl_kombu/' $(CURDIR)/debian/heat-api-cfn/etc/heat/heat-api-cfn.conf | ||
1244 | 39 | sed -i 's/^[ \t]*rpc_backend[ \t]*=[ \t]*heat.openstack.common.rpc.impl_qpid/rpc_backend=heat.openstack.common.rpc.impl_kombu/' $(CURDIR)/debian/heat-api/etc/heat/heat-api.conf | ||
1245 | 40 | 22 | ||
1246 | 41 | override_dh_auto_build: | 23 | override_dh_auto_build: |
1247 | 42 | dh_auto_build | 24 | dh_auto_build |
1258 | 43 | /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-common.postinst | 25 | python setup.py build_sphinx |
1249 | 44 | /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-api-cfn.config | ||
1250 | 45 | /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-api-cfn.postinst | ||
1251 | 46 | /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-api-cloudwatch.config | ||
1252 | 47 | /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-api-cloudwatch.postinst | ||
1253 | 48 | /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-api.config | ||
1254 | 49 | /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-api.postinst | ||
1255 | 50 | /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-common.postinst | ||
1256 | 51 | /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-engine.config | ||
1257 | 52 | /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func heat-engine.postinst | ||
1259 | 53 | 26 | ||
1260 | 54 | override_dh_installman: | 27 | override_dh_installman: |
1264 | 55 | python setup.py build | 28 | python setup.py build_sphinx |
1262 | 56 | make -C doc man | ||
1263 | 57 | dh_installman | ||
1265 | 58 | 29 | ||
1266 | === modified file 'debian/watch' | |||
1267 | --- debian/watch 2013-05-29 17:36:41 +0000 | |||
1268 | +++ debian/watch 2013-06-10 18:48:25 +0000 | |||
1269 | @@ -1,2 +1,4 @@ | |||
1270 | 1 | version=3 | 1 | version=3 |
1272 | 2 | https://github.com/openstack/heat/tags .*/(\d[\d\.]+)\.tar\.gz | 2 | opts="uversionmangle=s/\.([a-zA-Z])/~$1/;s/%7E/~/" \ |
1273 | 3 | https://launchpad.net/heat/+download https://launchpad.net/heat/.*/.*/.*/heat-(.*)\.tar\.gz | ||
1274 | 4 |