Merge lp:~andreserl/maas/packaging_rm_templates into lp:~maas-maintainers/maas/packaging

Proposed by Andres Rodriguez
Status: Merged
Approved by: Andres Rodriguez
Approved revision: 466
Merged at revision: 465
Proposed branch: lp:~andreserl/maas/packaging_rm_templates
Merge into: lp:~maas-maintainers/maas/packaging
Diff against target: 75 lines (+18/-11)
5 files modified
debian/changelog (+7/-0)
debian/maas-rack-controller.install (+0/-2)
debian/maas-rack-controller.maintscript (+0/-9)
debian/maas-rack-controller.postrm (+1/-0)
debian/maas-rack-controller.preinst (+10/-0)
To merge this branch: bzr merge lp:~andreserl/maas/packaging_rm_templates
Reviewer Review Type Date Requested Status
Andres Rodriguez (community) Approve
Review via email: mp+290116@code.launchpad.net

This proposal supersedes a proposal from 2016-03-25.

Commit message

Fix packaging to address templates that no longer exist

To post a comment you must log in.
466. By Andres Rodriguez

fix typo

Revision history for this message
Andres Rodriguez (andreserl) wrote :

selfie!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2016-03-21 18:59:17 +0000
+++ debian/changelog 2016-03-25 14:13:38 +0000
@@ -1,3 +1,10 @@
1maas (2.0.0~alpha4+bzr4834-0ubuntu1) UNRELEASED; urgency=medium
2
3 * New upstream release, 2.0.0 alpha 4 bzr4834 (Standing FFe LP: #1553261)
4 * Ensure /etc/maas/templates/power gets removed on upgrade
5
6 -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 23 Mar 2016 12:27:27 -0400
7
1maas (2.0.0~alpha3+bzr4810-0ubuntu1) xenial; urgency=medium8maas (2.0.0~alpha3+bzr4810-0ubuntu1) xenial; urgency=medium
29
3 * New upstream release, 2.0.0 bzr 4810 (Standing FFe LP: #1553261)10 * New upstream release, 2.0.0 bzr 4810 (Standing FFe LP: #1553261)
411
=== modified file 'debian/maas-rack-controller.install'
--- debian/maas-rack-controller.install 2016-03-22 17:07:45 +0000
+++ debian/maas-rack-controller.install 2016-03-25 14:13:38 +0000
@@ -1,6 +1,4 @@
1# Install templates1# Install templates
2debian/tmp/etc/maas/templates/dhcp
3debian/tmp/etc/maas/templates/power
4debian/tmp/etc/maas/templates/pxe2debian/tmp/etc/maas/templates/pxe
5debian/tmp/etc/maas/templates/uefi3debian/tmp/etc/maas/templates/uefi
64
75
=== modified file 'debian/maas-rack-controller.maintscript'
--- debian/maas-rack-controller.maintscript 2016-02-10 15:56:10 +0000
+++ debian/maas-rack-controller.maintscript 2016-03-25 14:13:38 +0000
@@ -5,14 +5,5 @@
5rm_conffile /etc/init/maas-cluster.conf 1.7.0~beta6+bzr3231-0ubuntu15rm_conffile /etc/init/maas-cluster.conf 1.7.0~beta6+bzr3231-0ubuntu1
6rm_conffile /etc/init/maas-cluster-register.conf 1.7.0~beta6+bzr3231-0ubuntu16rm_conffile /etc/init/maas-cluster-register.conf 1.7.0~beta6+bzr3231-0ubuntu1
7rm_conffile /etc/maas/maas-cluster-http.conf 1.8.0~alpha1+bzr3522-0ubuntu17rm_conffile /etc/maas/maas-cluster-http.conf 1.8.0~alpha1+bzr3522-0ubuntu1
8rm_conffile /etc/maas/templates/power/apc.template 1.9.0~alpha1+bzr4184-0ubuntu1
9rm_conffile /etc/maas/templates/power/mscm.template 1.9.0~alpha1+bzr4184-0ubuntu1
10rm_conffile /etc/maas/templates/power/msftocs.template 1.9.0~alpha1+bzr4184-0ubuntu1
11rm_conffile /etc/maas/templates/power/sm15k.template 1.9.0~alpha1+bzr4184-0ubuntu1
12rm_conffile /etc/maas/templates/power/ucsm.template 1.9.0~alpha1+bzr4184-0ubuntu1
13rm_conffile /etc/maas/templates/power/virsh.template 1.9.0~alpha1+bzr4184-0ubuntu1
14rm_conffile /etc/maas/templates/power/vmware.template 1.9.0~alpha1+bzr4184-0ubuntu1
15rm_conffile /etc/maas/templates/power/ipmi.conf 1.9.0~alpha1+bzr4221-0ubuntu1
16rm_conffile /etc/maas/templates/power/ipmi.template 1.9.0~alpha1+bzr4221-0ubuntu1
17rm_conffile /etc/init/maas-clusterd.conf 2.0.0~alpha1+bzr4635-0ubuntu18rm_conffile /etc/init/maas-clusterd.conf 2.0.0~alpha1+bzr4635-0ubuntu1
18rm_conffile /lib/systemd/system/maas-clusterd.service 2.0.0~alpha1+bzr4635-0ubuntu19rm_conffile /lib/systemd/system/maas-clusterd.service 2.0.0~alpha1+bzr4635-0ubuntu1
1910
=== modified file 'debian/maas-rack-controller.postrm'
--- debian/maas-rack-controller.postrm 2016-02-04 10:08:48 +0000
+++ debian/maas-rack-controller.postrm 2016-03-25 14:13:38 +0000
@@ -30,6 +30,7 @@
30 # Deleting old/new config files30 # Deleting old/new config files
31 rm -rf /etc/maas/pserv.yaml.maas-old31 rm -rf /etc/maas/pserv.yaml.maas-old
32 rm -rf /etc/maas/maas_cluster.conf.maas-old32 rm -rf /etc/maas/maas_cluster.conf.maas-old
33 rm -rf /etc/maas/templates/dhcp.maas-old
33 rm -rf /etc/maas/rackd.conf34 rm -rf /etc/maas/rackd.conf
3435
35esac36esac
3637
=== modified file 'debian/maas-rack-controller.preinst'
--- debian/maas-rack-controller.preinst 2016-02-16 15:43:48 +0000
+++ debian/maas-rack-controller.preinst 2016-03-25 14:13:38 +0000
@@ -43,4 +43,14 @@
4343
44fi44fi
4545
46if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then
47 if [ -d /etc/maas/templates/power ]; then
48 rm -rf /etc/maas/templates/power
49 fi
50
51 if [ -d /etc/maas/templates/dhcp ]; then
52 mv /etc/maas/templates/dhcp /etc/maas/templates/dhcp.maas-old
53 fi
54fi
55
46#DEBHELPER#56#DEBHELPER#

Subscribers

People subscribed via source and target branches

to all changes: