Merge lp:~adri2000/horizon/rename-apache-config-file into lp:~ubuntu-server-dev/horizon/essex

Proposed by Adrien Cunin
Status: Merged
Merge reported by: Chuck Short
Merged at revision: not available
Proposed branch: lp:~adri2000/horizon/rename-apache-config-file
Merge into: lp:~ubuntu-server-dev/horizon/essex
Diff against target: 75 lines (+29/-1)
5 files modified
debian/changelog (+8/-0)
debian/openstack-dashboard.postinst (+5/-0)
debian/openstack-dashboard.postrm (+5/-0)
debian/openstack-dashboard.preinst (+10/-0)
debian/rules (+1/-1)
To merge this branch: bzr merge lp:~adri2000/horizon/rename-apache-config-file
Reviewer Review Type Date Requested Status
Ubuntu Server Developers Pending
Review via email: mp+99574@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 2012-03-20 18:49:27 +0000
3+++ debian/changelog 2012-03-27 17:42:20 +0000
4@@ -1,3 +1,11 @@
5+horizon (2012.1~rc1-0ubuntu2) precise; urgency=low
6+
7+ * Renamed Apache config file from dashboard.conf to openstack-dashboard.conf
8+ (LP: #965410)
9+ - Updated post{inst,rm} and added preinst to handle correctly the rename
10+
11+ -- Adrien Cunin <adri2000@ubuntu.com> Mon, 26 Mar 2012 18:01:49 +0200
12+
13 horizon (2012.1~rc1-0ubuntu1) precise; urgency=low
14
15 * New upstream release.
16
17=== modified file 'debian/openstack-dashboard.postinst'
18--- debian/openstack-dashboard.postinst 2012-01-03 19:13:36 +0000
19+++ debian/openstack-dashboard.postinst 2012-03-27 17:42:20 +0000
20@@ -3,6 +3,11 @@
21 set -e
22
23 if [ "$1" = "configure" ]; then
24+ # /etc/apache2/conf.d/dashboard.conf -> /etc/apache2/conf.d/openstack-dashboard.conf
25+ dpkg-maintscript-helper mv_conffile \
26+ /etc/apache2/conf.d/dashboard.conf /etc/apache2/conf.d/openstack-dashboard.conf \
27+ 2012.1~rc1-0ubuntu1 -- "$@"
28+
29 if [ -x /etc/init.d/apache2 ]; then
30 invoke-rc.d --quiet apache2 reload
31 fi
32
33=== modified file 'debian/openstack-dashboard.postrm'
34--- debian/openstack-dashboard.postrm 2012-01-20 18:33:09 +0000
35+++ debian/openstack-dashboard.postrm 2012-03-27 17:42:20 +0000
36@@ -2,6 +2,11 @@
37
38 set -e
39
40+# /etc/apache2/conf.d/dashboard.conf -> /etc/apache2/conf.d/openstack-dashboard.conf
41+dpkg-maintscript-helper mv_conffile \
42+ /etc/apache2/conf.d/dashboard.conf /etc/apache2/conf.d/openstack-dashboard.conf \
43+ 2012.1~rc1-0ubuntu1 -- "$@"
44+
45 if [ -x "`which invoke-rc.d 2>/dev/null`" -a -x "/etc/init.d/apache2" ] ; then
46 invoke-rc.d --quiet apache2 reload
47 fi
48
49=== added file 'debian/openstack-dashboard.preinst'
50--- debian/openstack-dashboard.preinst 1970-01-01 00:00:00 +0000
51+++ debian/openstack-dashboard.preinst 2012-03-27 17:42:20 +0000
52@@ -0,0 +1,10 @@
53+#!/bin/sh
54+
55+set -e
56+
57+# /etc/apache2/conf.d/dashboard.conf -> /etc/apache2/conf.d/openstack-dashboard.conf
58+dpkg-maintscript-helper mv_conffile \
59+ /etc/apache2/conf.d/dashboard.conf /etc/apache2/conf.d/openstack-dashboard.conf \
60+ 2012.1~rc1-0ubuntu1 -- "$@"
61+
62+#DEBHELPER#
63
64=== modified file 'debian/rules'
65--- debian/rules 2012-03-07 16:30:00 +0000
66+++ debian/rules 2012-03-27 17:42:20 +0000
67@@ -19,7 +19,7 @@
68
69 touch $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/quantum/__init__.py
70 touch $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/quantum/client.py
71- cp -a $(CURDIR)/debian/dashboard.conf $(CURDIR)/debian/tmp/etc/apache2/conf.d
72+ cp -a $(CURDIR)/debian/openstack-dashboard.conf $(CURDIR)/debian/tmp/etc/apache2/conf.d
73 cp $(CURDIR)/openstack_dashboard/local/local_settings.py.example \
74 $(CURDIR)/debian/tmp/etc/openstack-dashboard/local_settings.py
75 cp $(CURDIR)/manage.py \

Subscribers

People subscribed via source and target branches