Merge lp:~andreserl/maas/fix_packaging_1.10_rules into lp:~maas-maintainers/maas/packaging-1.10

Proposed by Andres Rodriguez
Status: Merged
Approved by: Andres Rodriguez
Approved revision: 441
Merged at revision: 440
Proposed branch: lp:~andreserl/maas/fix_packaging_1.10_rules
Merge into: lp:~maas-maintainers/maas/packaging-1.10
Diff against target: 86 lines (+22/-27)
3 files modified
debian/changelog (+9/-2)
debian/maas-region-controller-min.maas-regiond-worker@.service (+0/-2)
debian/rules (+13/-23)
To merge this branch: bzr merge lp:~andreserl/maas/fix_packaging_1.10_rules
Reviewer Review Type Date Requested Status
Andres Rodriguez (community) Approve
Review via email: mp+284546@code.launchpad.net

Commit message

* debian/maas-region-controller-min.maas-regiond-worker@.service: Don't
  depend on postgresql.service anymore, as it would prevent regiond
  to run on machines with a remote PostgreSQL.
* debian/rules: Refactor installation of init scripts so that they are
  correctly handled, and maas-regiond is not started on install.

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
=== modified file 'debian/changelog'
--- debian/changelog 2016-01-26 23:35:50 +0000
+++ debian/changelog 2016-01-31 23:48:44 +0000
@@ -1,6 +1,8 @@
1maas (1.10.0~alpha1+bzr4570-0ubuntu1) UNRELEASED; urgency=medium1maas (1.10.0+bzr4570-0ubuntu1) xenial; urgency=medium
22
3 * UNRELEASED3 * New upstram release, 1.10.0 bzr 4570:
4 - Support python3, drop support for python2.
5 - Support django 1.8+.
4 * debian/control:6 * debian/control:
5 - Remove all Upstart related services.7 - Remove all Upstart related services.
6 - Remove python-django16 dependency.8 - Remove python-django16 dependency.
@@ -9,6 +11,11 @@
9 - Depends on dbconfig-pgsql instead of dbconfig-common.11 - Depends on dbconfig-pgsql instead of dbconfig-common.
10 * debian/maas-region-controller.config:12 * debian/maas-region-controller.config:
11 - Preseed dbconfig common to not ask for PG server to use.13 - Preseed dbconfig common to not ask for PG server to use.
14 * debian/maas-region-controller-min.maas-regiond-worker@.service: Don't
15 depend on postgresql.service anymore, as it would prevent regiond
16 to run on machines with a remote PostgreSQL.
17 * debian/rules: Refactor installation of init scripts so that they are
18 correctly handled, and maas-regiond is not started on install.
1219
13 -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 13 Nov 2015 13:13:42 +000020 -- Andres Rodriguez <andreserl@ubuntu.com> Fri, 13 Nov 2015 13:13:42 +0000
1421
1522
=== modified file 'debian/maas-region-controller-min.maas-regiond-worker@.service'
--- debian/maas-region-controller-min.maas-regiond-worker@.service 2015-12-09 02:18:13 +0000
+++ debian/maas-region-controller-min.maas-regiond-worker@.service 2016-01-31 23:48:44 +0000
@@ -3,8 +3,6 @@
3Documentation=https://maas.ubuntu.com/3Documentation=https://maas.ubuntu.com/
4Requires=network-online.target4Requires=network-online.target
5After=network-online.target5After=network-online.target
6Requires=postgresql.service
7After=postgresql.service
8PartOf=maas-regiond.service6PartOf=maas-regiond.service
9# This will go away one we support new config files.7# This will go away one we support new config files.
10ConditionPathExists=/etc/maas/regiond.conf8ConditionPathExists=/etc/maas/regiond.conf
119
=== modified file 'debian/rules'
--- debian/rules 2015-12-21 23:32:10 +0000
+++ debian/rules 2016-01-31 23:48:44 +0000
@@ -13,29 +13,19 @@
13 # internet access13 # internet access
1414
15override_dh_installinit:15override_dh_installinit:
16 # maas-clusterd16 dh_installinit --name=maas-regiond --no-start
17 dh_systemd_enable --name maas-clusterd17 dh_installinit --name=maas-regiond-worker@ --no-start
18 dh_installinit --name maas-clusterd18 dh_installinit --name=maas-clusterd
19 dh_systemd_start --name maas-clusterd19 dh_installinit --name=maas-dhcpd
20 # maas-regiond20 dh_installinit --name=maas-dhcpd6
21 dh_systemd_enable --name maas-regiond21 dh_installinit --name=maas-proxy
22 dh_installinit --name maas-regiond22
23 dh_systemd_start --name maas-regiond23override_dh_systemd_start:
24 # maas-regiond-worker24 dh_systemd_start -p maas-region-controller-min --no-start maas-regiond.service
25 dh_installinit --no-start --name maas-regiond-worker # Upstart25 dh_systemd_start -p maas-cluster-controller maas-clusterd.service
26 dh_installinit --no-start --name maas-regiond-worker@ # systemd26 dh_systemd_start -p maas-dhcpd maas-dhcpd.service
27 # maas-dhcpd27 dh_systemd_start -p maas-dhcpd6 maas-dhcpd6.service
28 dh_systemd_enable --name maas-dhcpd28 dh_systemd_start -p maas-proxy maas-proxy.service
29 dh_installinit --name maas-dhcpd
30 dh_systemd_start --name maas-dhcpd
31 # maas-dhcpd6
32 dh_systemd_enable --name maas-dhcpd6
33 dh_installinit --name maas-dhcpd6
34 dh_systemd_start --name maas-dhcpd6
35 # maas-proxy
36 dh_systemd_enable --name maas-proxy
37 dh_installinit --name maas-proxy
38 dh_systemd_start --name maas-proxy
3929
40override_dh_auto_build:30override_dh_auto_build:
41 dh_auto_build31 dh_auto_build

Subscribers

People subscribed via source and target branches