Merge ~alemar99/maas:lp-2060277-merge into maas:3.5

Proposed by Alessandro Marcolini
Status: Merged
Approved by: Alessandro Marcolini
Approved revision: 41037f2088b34e6dd2088476cbf0b77417b233a4
Merge reported by: MAAS Lander
Merged at revision: not available
Proposed branch: ~alemar99/maas:lp-2060277-merge
Merge into: maas:3.5
Diff against target: 27 lines (+5/-0)
2 files modified
debian/maas-common.postrm (+2/-0)
debian/maas-rack-controller.postrm (+3/-0)
Reviewer Review Type Date Requested Status
MAAS Lander Needs Fixing
Alessandro Marcolini Approve
Review via email: mp+464001@code.launchpad.net

Commit message

 fix: bug lp#2060277
https://bugs.launchpad.net/maas/+bug/2060277

(cherry-picked from e7cbf290608a8c7b25268424f43b706bd8de4ae8)

To post a comment you must log in.
Revision history for this message
Alessandro Marcolini (alemar99) wrote :

Self-approving backport

review: Approve
Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b lp-2060277-merge lp:~alemar99/maas/+git/maas into -b 3.5 lp:~maas-committers/maas

STATUS: FAILED
LOG: http://maas-ci.internal:8080/job/maas-tester/5259/console
COMMIT: 41037f2088b34e6dd2088476cbf0b77417b233a4

review: Needs Fixing

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/maas-common.postrm b/debian/maas-common.postrm
2index 2fcac5e..292bc62 100755
3--- a/debian/maas-common.postrm
4+++ b/debian/maas-common.postrm
5@@ -24,6 +24,8 @@ case "$1" in
6 rm -rf /var/lib/maas/certificates
7 rm -rf /var/lib/maas/http
8 rm -f /run/lock/maas:*
9+ # clean-up /etc/maas/certificates
10+ rm -rf /etc/maas/certificates
11 esac
12
13 rm -f /etc/rsyslog.d/99-maas.conf
14diff --git a/debian/maas-rack-controller.postrm b/debian/maas-rack-controller.postrm
15index ffabaa5..fff196b 100755
16--- a/debian/maas-rack-controller.postrm
17+++ b/debian/maas-rack-controller.postrm
18@@ -35,6 +35,9 @@ case "$1" in
19 # Remove rackd.conf file
20 rm -rf /etc/maas/rackd.conf
21
22+ # Remove agent.yaml file
23+ rm -rf /etc/maas/agent.yaml
24+
25 # Deleting old config files if they exist
26 if [ -f /etc/maas/pserv.yaml.maas-old ]; then
27 rm -rf /etc/maas/pserv.yaml.maas-old

Subscribers

People subscribed via source and target branches