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

Proposed by Andres Rodriguez
Status: Merged
Approved by: Andres Rodriguez
Approved revision: 436
Merged at revision: 436
Proposed branch: lp:~andreserl/maas/packaging_install_twisted_plugins
Merge into: lp:~maas-maintainers/maas/packaging
Diff against target: 65 lines (+9/-8)
5 files modified
debian/changelog (+1/-1)
debian/control (+2/-1)
debian/maas-cluster-controller.install (+0/-3)
debian/maas-region-controller-min.install (+0/-3)
debian/rules (+6/-0)
To merge this branch: bzr merge lp:~andreserl/maas/packaging_install_twisted_plugins
Reviewer Review Type Date Requested Status
Andres Rodriguez (community) Approve
Review via email: mp+281043@code.launchpad.net

This proposal supersedes a proposal from 2015-12-20.

Commit message

Install twisted plugins based on python3 version.

To post a comment you must log in.
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
1=== modified file 'debian/changelog'
2--- debian/changelog 2015-12-11 15:49:59 +0000
3+++ debian/changelog 2015-12-20 21:33:04 +0000
4@@ -1,4 +1,4 @@
5-maas (1.10.0~alpha1+bzr4550-0ubuntu1) UNRELEASED; urgency=medium
6+maas (1.10.0~alpha1+bzr4569-0ubuntu1) UNRELEASED; urgency=medium
7
8 * UNRELEASED
9 - Remove all Upstart related services.
10
11=== modified file 'debian/control'
12--- debian/control 2015-12-15 17:02:54 +0000
13+++ debian/control 2015-12-20 21:33:04 +0000
14@@ -9,7 +9,8 @@
15 po-debconf,
16 python3-all,
17 python3-django,
18- python3-setuptools
19+ python3-setuptools,
20+ python3-twisted
21 Standards-Version: 3.9.6
22 X-Python3-Version: >= 3.5
23 Homepage: https://launchpad.net/maas
24
25=== modified file 'debian/maas-cluster-controller.install'
26--- debian/maas-cluster-controller.install 2015-12-09 19:48:31 +0000
27+++ debian/maas-cluster-controller.install 2015-12-20 21:33:04 +0000
28@@ -1,6 +1,3 @@
29-# Install twisted plugins
30-twisted/plugins/maasclusterd.py usr/lib/python3/dist-packages/twisted/plugins
31-
32 # Install templates
33 debian/tmp/etc/maas/templates/dhcp
34 debian/tmp/etc/maas/templates/power
35
36=== modified file 'debian/maas-region-controller-min.install'
37--- debian/maas-region-controller-min.install 2015-12-09 19:48:31 +0000
38+++ debian/maas-region-controller-min.install 2015-12-20 21:33:04 +0000
39@@ -20,9 +20,6 @@
40 # Install winrm certificate generation script
41 debian/tmp/usr/bin/maas-generate-winrm-cert
42
43-# Install twisted plugins
44-twisted/plugins/maasregiond.py usr/lib/python3/dist-packages/twisted/plugins
45-
46 # Install all other stuff
47 debian/extras/maas-region-admin usr/sbin
48 debian/extras/20-maas.conf etc/rsyslog.d
49
50=== modified file 'debian/rules'
51--- debian/rules 2015-12-11 15:49:59 +0000
52+++ debian/rules 2015-12-20 21:33:04 +0000
53@@ -64,6 +64,12 @@
54 install -m 644 $(CURDIR)/debian/maas-dhcp.apparmor \
55 $(CURDIR)/debian/tmp/etc/apparmor.d/dhcpd.d/maas
56
57+ # install python3 twisted plugins
58+ set -ex; for python in $(PYTHON3); do \
59+ dh_install twisted/plugins/maasregiond.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-region-controller-min; \
60+ dh_install twisted/plugins/maasclusterd.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-cluster-controller; \
61+ done
62+
63 dh_install --list-missing
64
65 override_dh_auto_clean:

Subscribers

People subscribed via source and target branches

to all changes: