Merge lp:~andreserl/maas/packaging_to-daemon into lp:~maas-maintainers/maas/packaging
- packaging_to-daemon
- Merge into packaging
Proposed by
Andres Rodriguez
Status: | Rejected |
---|---|
Rejected by: | Blake Rouse |
Proposed branch: | lp:~andreserl/maas/packaging_to-daemon |
Merge into: | lp:~maas-maintainers/maas/packaging |
Diff against target: |
603 lines (+84/-81) 22 files modified
debian/changelog (+4/-1) debian/control (+5/-5) debian/extras/99-maas-sudoers (+3/-3) debian/extras/maas-relay (+1/-1) debian/maas-common.templates (+3/-3) debian/maas-dhcp.maas-dhcpd.service (+1/-1) debian/maas-dhcp.maas-dhcpd6.service (+1/-1) debian/maas-region-api.apport (+4/-4) debian/maas-region-controller.postinst (+2/-2) debian/maas-relay-udeb.postinst (+11/-11) debian/maas-relay-udeb.templates (+8/-8) debian/maas-relay.config (+4/-4) debian/maas-relay.install (+1/-1) debian/maas-relay.links (+1/-1) debian/maas-relay.lintian-overrides (+1/-1) debian/maas-relay.logrotate (+1/-1) debian/maas-relay.maas-relayd.service (+4/-4) debian/maas-relay.postinst (+18/-18) debian/maas-relay.postrm (+3/-3) debian/maas-relay.preinst (+1/-1) debian/maas-relay.templates (+3/-3) debian/rules (+4/-4) |
To merge this branch: | bzr merge lp:~andreserl/maas/packaging_to-daemon |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
MAAS Maintainers | Pending | ||
Review via email: mp+301850@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Unmerged revisions
- 510. By Andres Rodriguez
-
* New upstream release, 2.0.0 RC4 bzr :
- Rename MAAS Rack Controller to MAAS Relay.
* debian/*: update all packaging to replace anything that references
maas-rack to maas-relay.
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 2016-07-28 02:27:13 +0000 | |||
3 | +++ debian/changelog 2016-08-02 23:56:26 +0000 | |||
4 | @@ -1,6 +1,9 @@ | |||
5 | 1 | maas (2.0.0~rc4+bzr5180-0ubuntu1) UNRELEASED; urgency=medium | 1 | maas (2.0.0~rc4+bzr5180-0ubuntu1) UNRELEASED; urgency=medium |
6 | 2 | 2 | ||
8 | 3 | * UNRELEASED | 3 | * New upstream release, 2.0.0 RC4 bzr : |
9 | 4 | - Rename MAAS Rack Controller to MAAS Relay. | ||
10 | 5 | * debian/*: update all packaging to replace anything that references | ||
11 | 6 | maas-rack to maas-relay. | ||
12 | 4 | 7 | ||
13 | 5 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 27 Jul 2016 22:26:55 -0400 | 8 | -- Andres Rodriguez <andreserl@ubuntu.com> Wed, 27 Jul 2016 22:26:55 -0400 |
14 | 6 | 9 | ||
15 | 7 | 10 | ||
16 | === modified file 'debian/control' | |||
17 | --- debian/control 2016-06-16 15:27:18 +0000 | |||
18 | +++ debian/control 2016-08-02 23:56:26 +0000 | |||
19 | @@ -17,7 +17,7 @@ | |||
20 | 17 | 17 | ||
21 | 18 | Package: maas | 18 | Package: maas |
22 | 19 | Architecture: all | 19 | Architecture: all |
24 | 20 | Depends: maas-rack-controller (= ${binary:Version}), | 20 | Depends: maas-relay (= ${binary:Version}), |
25 | 21 | maas-region-controller (= ${binary:Version}), | 21 | maas-region-controller (= ${binary:Version}), |
26 | 22 | python3-django-maas (= ${binary:Version}), | 22 | python3-django-maas (= ${binary:Version}), |
27 | 23 | ${misc:Depends} | 23 | ${misc:Depends} |
28 | @@ -179,7 +179,7 @@ | |||
29 | 179 | . | 179 | . |
30 | 180 | This package contains Python 3 modules. | 180 | This package contains Python 3 modules. |
31 | 181 | 181 | ||
33 | 182 | Package: maas-rack-controller | 182 | Package: maas-relay |
34 | 183 | Architecture: all | 183 | Architecture: all |
35 | 184 | Depends: authbind, | 184 | Depends: authbind, |
36 | 185 | bind9utils, | 185 | bind9utils, |
37 | @@ -209,9 +209,9 @@ | |||
38 | 209 | Replaces: python-maas-provisioningserver, | 209 | Replaces: python-maas-provisioningserver, |
39 | 210 | maas-cluster-controller | 210 | maas-cluster-controller |
40 | 211 | Description: Rack Controller for MAAS | 211 | Description: Rack Controller for MAAS |
42 | 212 | The MAAS rack controller (maas-rackd) provides highly available, fast | 212 | The MAAS Relay (maas-relayd) provides highly available, fast |
43 | 213 | and local broadcast services to the machines provisioned by MAAS. You | 213 | and local broadcast services to the machines provisioned by MAAS. You |
45 | 214 | need a MAAS rack controller attached to each fabric (which is a set of | 214 | need a MAAS Relay attached to each fabric (which is a set of |
46 | 215 | trunked switches). You can attach multiple rack controllers to these | 215 | trunked switches). You can attach multiple rack controllers to these |
47 | 216 | physical networks for high availability, with secondary rack controllers | 216 | physical networks for high availability, with secondary rack controllers |
48 | 217 | automatically stepping to provide these services if the primary rack | 217 | automatically stepping to provide these services if the primary rack |
49 | @@ -284,7 +284,7 @@ | |||
50 | 284 | XB-Installer-Menu-Item: 2350 | 284 | XB-Installer-Menu-Item: 2350 |
51 | 285 | Description: Install a MAAS server (installer integration) | 285 | Description: Install a MAAS server (installer integration) |
52 | 286 | 286 | ||
54 | 287 | Package: maas-rack-udeb | 287 | Package: maas-relay-udeb |
55 | 288 | Package-Type: udeb | 288 | Package-Type: udeb |
56 | 289 | Section: debian-installer | 289 | Section: debian-installer |
57 | 290 | Architecture: all | 290 | Architecture: all |
58 | 291 | 291 | ||
59 | === modified file 'debian/extras/99-maas-sudoers' | |||
60 | --- debian/extras/99-maas-sudoers 2016-06-10 18:57:41 +0000 | |||
61 | +++ debian/extras/99-maas-sudoers 2016-08-02 23:56:26 +0000 | |||
62 | @@ -8,7 +8,7 @@ | |||
63 | 8 | maas ALL= NOPASSWD: /bin/systemctl stop maas-dhcpd6 | 8 | maas ALL= NOPASSWD: /bin/systemctl stop maas-dhcpd6 |
64 | 9 | maas ALL= NOPASSWD: /bin/systemctl status tgt | 9 | maas ALL= NOPASSWD: /bin/systemctl status tgt |
65 | 10 | maas ALL= NOPASSWD: /bin/systemctl start tgt | 10 | maas ALL= NOPASSWD: /bin/systemctl start tgt |
69 | 11 | maas ALL= NOPASSWD: /bin/systemctl disable maas-rackd | 11 | maas ALL= NOPASSWD: /bin/systemctl disable maas-relayd |
70 | 12 | maas ALL= NOPASSWD: /bin/systemctl stop maas-rackd | 12 | maas ALL= NOPASSWD: /bin/systemctl stop maas-relayd |
71 | 13 | maas ALL= NOPASSWD: /usr/sbin/maas-rack | 13 | maas ALL= NOPASSWD: /usr/sbin/maas-relay |
72 | 14 | maas ALL= NOPASSWD: SETENV: /usr/sbin/tgt-admin, /usr/bin/uec2roottar | 14 | maas ALL= NOPASSWD: SETENV: /usr/sbin/tgt-admin, /usr/bin/uec2roottar |
73 | 15 | 15 | ||
74 | === renamed file 'debian/extras/maas-rack' => 'debian/extras/maas-relay' | |||
75 | --- debian/extras/maas-rack 2016-03-17 17:14:49 +0000 | |||
76 | +++ debian/extras/maas-relay 2016-08-02 23:56:26 +0000 | |||
77 | @@ -54,7 +54,7 @@ | |||
78 | 54 | if 'maas-provision' in sys.argv[0]: | 54 | if 'maas-provision' in sys.argv[0]: |
79 | 55 | sys.stderr.write( | 55 | sys.stderr.write( |
80 | 56 | "WARNING: The maas-provision command is deprecated and will be " | 56 | "WARNING: The maas-provision command is deprecated and will be " |
82 | 57 | "removed in a future version. From now on please use 'maas-rack' " | 57 | "removed in a future version. From now on please use 'maas-relay' " |
83 | 58 | "instead.\n") | 58 | "instead.\n") |
84 | 59 | 59 | ||
85 | 60 | # Allow dhcpd user to call dhcp-notify. | 60 | # Allow dhcpd user to call dhcp-notify. |
86 | 61 | 61 | ||
87 | === modified file 'debian/maas-common.templates' | |||
88 | --- debian/maas-common.templates 2016-06-02 16:34:32 +0000 | |||
89 | +++ debian/maas-common.templates 2016-08-02 23:56:26 +0000 | |||
90 | @@ -37,7 +37,7 @@ | |||
91 | 37 | . | 37 | . |
92 | 38 | Please provide the password for the MAAS account. | 38 | Please provide the password for the MAAS account. |
93 | 39 | 39 | ||
95 | 40 | Template: maas-rack-controller/maas-url | 40 | Template: maas-relay/maas-url |
96 | 41 | Type: string | 41 | Type: string |
97 | 42 | _Description: Ubuntu MAAS API address: | 42 | _Description: Ubuntu MAAS API address: |
98 | 43 | The MAAS cluster controller and nodes need to contact the MAAS region | 43 | The MAAS cluster controller and nodes need to contact the MAAS region |
99 | @@ -46,9 +46,9 @@ | |||
100 | 46 | Since nodes must be able to access this URL, localhost or 127.0.0.1 are not | 46 | Since nodes must be able to access this URL, localhost or 127.0.0.1 are not |
101 | 47 | useful values here. | 47 | useful values here. |
102 | 48 | 48 | ||
104 | 49 | Template: maas-rack-controller/shared-secret | 49 | Template: maas-relay/shared-secret |
105 | 50 | Type: password | 50 | Type: password |
106 | 51 | _Description: MAAS Rack Controller Shared Secret: | 51 | _Description: MAAS Rack Controller Shared Secret: |
108 | 52 | The MAAS rack controller needs to contact the MAAS region controller | 52 | The MAAS Relay needs to contact the MAAS region controller |
109 | 53 | with the shared secret found in /var/lib/maas/secret on the region controller. | 53 | with the shared secret found in /var/lib/maas/secret on the region controller. |
110 | 54 | Set the shared secret here. | 54 | Set the shared secret here. |
111 | 55 | 55 | ||
112 | === modified file 'debian/maas-dhcp.maas-dhcpd.service' | |||
113 | --- debian/maas-dhcp.maas-dhcpd.service 2016-03-22 17:07:45 +0000 | |||
114 | +++ debian/maas-dhcp.maas-dhcpd.service 2016-08-02 23:56:26 +0000 | |||
115 | @@ -4,7 +4,7 @@ | |||
116 | 4 | Wants=network-online.target | 4 | Wants=network-online.target |
117 | 5 | After=network-online.target | 5 | After=network-online.target |
118 | 6 | After=time-sync.target | 6 | After=time-sync.target |
120 | 7 | BindsTo=maas-rackd.service | 7 | BindsTo=maas-relayd.service |
121 | 8 | ConditionPathExists=/var/lib/maas/dhcpd.conf | 8 | ConditionPathExists=/var/lib/maas/dhcpd.conf |
122 | 9 | ConditionPathExists=/var/lib/maas/dhcpd-interfaces | 9 | ConditionPathExists=/var/lib/maas/dhcpd-interfaces |
123 | 10 | 10 | ||
124 | 11 | 11 | ||
125 | === modified file 'debian/maas-dhcp.maas-dhcpd6.service' | |||
126 | --- debian/maas-dhcp.maas-dhcpd6.service 2016-04-22 23:27:40 +0000 | |||
127 | +++ debian/maas-dhcp.maas-dhcpd6.service 2016-08-02 23:56:26 +0000 | |||
128 | @@ -4,7 +4,7 @@ | |||
129 | 4 | Wants=network-online.target | 4 | Wants=network-online.target |
130 | 5 | After=network-online.target | 5 | After=network-online.target |
131 | 6 | After=time-sync.target | 6 | After=time-sync.target |
133 | 7 | BindsTo=maas-rackd.service | 7 | BindsTo=maas-relayd.service |
134 | 8 | ConditionPathExists=/var/lib/maas/dhcpd6.conf | 8 | ConditionPathExists=/var/lib/maas/dhcpd6.conf |
135 | 9 | ConditionPathExists=/var/lib/maas/dhcpd6-interfaces | 9 | ConditionPathExists=/var/lib/maas/dhcpd6-interfaces |
136 | 10 | 10 | ||
137 | 11 | 11 | ||
138 | === modified file 'debian/maas-region-api.apport' | |||
139 | --- debian/maas-region-api.apport 2016-03-25 18:26:49 +0000 | |||
140 | +++ debian/maas-region-api.apport 2016-08-02 23:56:26 +0000 | |||
141 | @@ -36,7 +36,7 @@ | |||
142 | 36 | 36 | ||
143 | 37 | def add_info(report, ui): | 37 | def add_info(report, ui): |
144 | 38 | response = ui.yesno( | 38 | response = ui.yesno( |
146 | 39 | "The contents of /etc/maas/regiond.conf and /etc/maas/rackd.conf " | 39 | "The contents of /etc/maas/regiond.conf and /etc/maas/relayd.conf " |
147 | 40 | "may help developers diagnose your bug more quickly. However, it may " | 40 | "may help developers diagnose your bug more quickly. However, it may " |
148 | 41 | "contain sensitive information. Do you want to include it in your bug " | 41 | "contain sensitive information. Do you want to include it in your bug " |
149 | 42 | "report?") | 42 | "report?") |
150 | @@ -50,7 +50,7 @@ | |||
151 | 50 | attach_file_if_exists( | 50 | attach_file_if_exists( |
152 | 51 | report, '/etc/maas/regiond.conf', 'MAASRegionConfig') | 51 | report, '/etc/maas/regiond.conf', 'MAASRegionConfig') |
153 | 52 | attach_file_if_exists( | 52 | attach_file_if_exists( |
155 | 53 | report, '/etc/maas/rackd.conf', 'MAASClusterConfig') | 53 | report, '/etc/maas/relayd.conf', 'MAASClusterConfig') |
156 | 54 | else: | 54 | else: |
157 | 55 | # The user declined to include the configuration files. | 55 | # The user declined to include the configuration files. |
158 | 56 | pass | 56 | pass |
159 | @@ -59,14 +59,14 @@ | |||
160 | 59 | attach_file_if_exists( | 59 | attach_file_if_exists( |
161 | 60 | report, '/var/log/maas/regiond.log', 'MAASRegionLog') | 60 | report, '/var/log/maas/regiond.log', 'MAASRegionLog') |
162 | 61 | attach_file_if_exists( | 61 | attach_file_if_exists( |
164 | 62 | report, '/var/log/maas/rackd.log', 'MAASClusterLog') | 62 | report, '/var/log/maas/relayd.log', 'MAASClusterLog') |
165 | 63 | 63 | ||
166 | 64 | # Attaching log files (systemd). These will overwrite the logs above on a | 64 | # Attaching log files (systemd). These will overwrite the logs above on a |
167 | 65 | # system where systemd is available. | 65 | # system where systemd is available. |
168 | 66 | attach_journal_logs( | 66 | attach_journal_logs( |
169 | 67 | report, "MAASRegionLog", "maas-regiond", "maas-regiond-worker@*") | 67 | report, "MAASRegionLog", "maas-regiond", "maas-regiond-worker@*") |
170 | 68 | attach_journal_logs( | 68 | attach_journal_logs( |
172 | 69 | report, "MAASClusterLog", "maas-rackd") | 69 | report, "MAASClusterLog", "maas-relayd") |
173 | 70 | 70 | ||
174 | 71 | # Attaching related packages info | 71 | # Attaching related packages info |
175 | 72 | attach_related_packages(report, ['python-django-maas', 'apparmor']) | 72 | attach_related_packages(report, ['python-django-maas', 'apparmor']) |
176 | 73 | 73 | ||
177 | === modified file 'debian/maas-region-controller.postinst' | |||
178 | --- debian/maas-region-controller.postinst 2016-07-28 02:25:35 +0000 | |||
179 | +++ debian/maas-region-controller.postinst 2016-08-02 23:56:26 +0000 | |||
180 | @@ -165,8 +165,8 @@ | |||
181 | 165 | systemctl restart maas-regiond >/dev/null || true | 165 | systemctl restart maas-regiond >/dev/null || true |
182 | 166 | invoke-rc.d apache2 restart || true | 166 | invoke-rc.d apache2 restart || true |
183 | 167 | 167 | ||
186 | 168 | if [ -f /lib/systemd/system/maas-rackd.service ]; then | 168 | if [ -f /lib/systemd/system/maas-relayd.service ]; then |
187 | 169 | systemctl restart maas-rackd >/dev/null || true | 169 | systemctl restart maas-relayd >/dev/null || true |
188 | 170 | fi | 170 | fi |
189 | 171 | 171 | ||
190 | 172 | db_stop | 172 | db_stop |
191 | 173 | 173 | ||
192 | === renamed file 'debian/maas-rack-udeb.postinst' => 'debian/maas-relay-udeb.postinst' | |||
193 | --- debian/maas-rack-udeb.postinst 2016-04-07 21:14:09 +0000 | |||
194 | +++ debian/maas-relay-udeb.postinst 2016-08-02 23:56:26 +0000 | |||
195 | @@ -27,20 +27,20 @@ | |||
196 | 27 | 1) | 27 | 1) |
197 | 28 | # This is a confirmation that we want to install MAAS. If we don't | 28 | # This is a confirmation that we want to install MAAS. If we don't |
198 | 29 | # then we exit the MAAS installation process | 29 | # then we exit the MAAS installation process |
200 | 30 | db_input high maas-rack-udeb/rack-confirmation || true | 30 | db_input high maas-relay-udeb/relay-confirmation || true |
201 | 31 | ;; | 31 | ;; |
202 | 32 | 2) | 32 | 2) |
203 | 33 | #Ask for MAAS url | 33 | #Ask for MAAS url |
205 | 34 | db_get maas-rack-udeb/rack-confirmation | 34 | db_get maas-relay-udeb/relay-confirmation |
206 | 35 | if [ "$RET" != "true" ]; then | 35 | if [ "$RET" != "true" ]; then |
207 | 36 | break | 36 | break |
208 | 37 | fi | 37 | fi |
210 | 38 | db_input critical maas-rack-udeb/maas-url || true | 38 | db_input critical maas-relay-udeb/maas-url || true |
211 | 39 | ;; | 39 | ;; |
212 | 40 | 40 | ||
213 | 41 | 3) | 41 | 3) |
214 | 42 | # Ask for Shared Secret | 42 | # Ask for Shared Secret |
216 | 43 | db_input critical maas-rack-udeb/shared-secret || true | 43 | db_input critical maas-relay-udeb/shared-secret || true |
217 | 44 | ;; | 44 | ;; |
218 | 45 | 45 | ||
219 | 46 | esac | 46 | esac |
220 | @@ -53,25 +53,25 @@ | |||
221 | 53 | done | 53 | done |
222 | 54 | db_capb | 54 | db_capb |
223 | 55 | 55 | ||
225 | 56 | db_get maas-rack-udeb/rack-confirmation | 56 | db_get maas-relay-udeb/relay-confirmation |
226 | 57 | if [ "$RET" != "true" ]; then | 57 | if [ "$RET" != "true" ]; then |
228 | 58 | # MAAS rack controller won't be installed | 58 | # MAAS Relay won't be installed |
229 | 59 | exit 0 | 59 | exit 0 |
230 | 60 | fi | 60 | fi |
231 | 61 | 61 | ||
233 | 62 | db_get maas-rack-udeb/maas-url | 62 | db_get maas-relay-udeb/maas-url |
234 | 63 | url="$RET" | 63 | url="$RET" |
235 | 64 | if [ -n "$url" ]; then | 64 | if [ -n "$url" ]; then |
237 | 65 | set_question maas-rack-controller maas-rack-controller/maas-url string "$url" | 65 | set_question maas-relay maas-relay/maas-url string "$url" |
238 | 66 | fi | 66 | fi |
239 | 67 | 67 | ||
241 | 68 | db_get maas-rack-udeb/shared-secret | 68 | db_get maas-relay-udeb/shared-secret |
242 | 69 | secret="$RET" | 69 | secret="$RET" |
243 | 70 | if [ -n "$secret" ]; then | 70 | if [ -n "$secret" ]; then |
245 | 71 | set_question maas-rack-controller maas-rack-controller/shared-secret password "$secret" | 71 | set_question maas-relay maas-relay/shared-secret password "$secret" |
246 | 72 | fi | 72 | fi |
247 | 73 | 73 | ||
248 | 74 | # Tell the package manager that we will be installing MAAS Rack Controller | 74 | # Tell the package manager that we will be installing MAAS Rack Controller |
250 | 75 | db_set pkgsel/include maas-rack-controller | 75 | db_set pkgsel/include maas-relay |
251 | 76 | set_question tasksel tasksel/first multiselect "standard, server" | 76 | set_question tasksel tasksel/first multiselect "standard, server" |
252 | 77 | exit 0 | 77 | exit 0 |
253 | 78 | 78 | ||
254 | === renamed file 'debian/maas-rack-udeb.templates' => 'debian/maas-relay-udeb.templates' | |||
255 | --- debian/maas-rack-udeb.templates 2016-06-02 16:34:32 +0000 | |||
256 | +++ debian/maas-relay-udeb.templates 2016-08-02 23:56:26 +0000 | |||
257 | @@ -1,13 +1,13 @@ | |||
259 | 1 | Template: debian-installer/maas-rack-udeb/title | 1 | Template: debian-installer/maas-relay-udeb/title |
260 | 2 | Type: text | 2 | Type: text |
261 | 3 | _Description: Install your Metal as a Service (MAAS) Rack Controller | 3 | _Description: Install your Metal as a Service (MAAS) Rack Controller |
262 | 4 | 4 | ||
264 | 5 | Template: maas-rack-udeb/rack-confirmation | 5 | Template: maas-relay-udeb/relay-confirmation |
265 | 6 | Type: boolean | 6 | Type: boolean |
266 | 7 | _Description: Would you like to proceed with the installation of your MAAS Rack Controller? | 7 | _Description: Would you like to proceed with the installation of your MAAS Rack Controller? |
268 | 8 | The MAAS rack controller (maas-rackd) provides highly available, fast | 8 | The MAAS Relay (maas-relayd) provides highly available, fast |
269 | 9 | and local broadcast services to the machines provisioned by MAAS. You | 9 | and local broadcast services to the machines provisioned by MAAS. You |
271 | 10 | need a MAAS rack controller attached to each fabric (which is a set of | 10 | need a MAAS Relay attached to each fabric (which is a set of |
272 | 11 | trunked switches). You can attach multiple rack controllers to these | 11 | trunked switches). You can attach multiple rack controllers to these |
273 | 12 | physical networks for high availability, with secondary rack controllers | 12 | physical networks for high availability, with secondary rack controllers |
274 | 13 | automatically stepping to provide these services if the primary rack | 13 | automatically stepping to provide these services if the primary rack |
275 | @@ -16,19 +16,19 @@ | |||
276 | 16 | By choosing to install a MAAS Rack controller, you will have to connect | 16 | By choosing to install a MAAS Rack controller, you will have to connect |
277 | 17 | it to a Region controller to service your machines. | 17 | it to a Region controller to service your machines. |
278 | 18 | 18 | ||
280 | 19 | Template: maas-rack-udeb/maas-url | 19 | Template: maas-relay-udeb/maas-url |
281 | 20 | Type: string | 20 | Type: string |
282 | 21 | _Description: Ubuntu MAAS Region API address: | 21 | _Description: Ubuntu MAAS Region API address: |
284 | 22 | The MAAS rack controller and nodes need to contact the MAAS region | 22 | The MAAS Relay and nodes need to contact the MAAS region |
285 | 23 | controller API. Set the URL at which they can reach the MAAS API remotely, | 23 | controller API. Set the URL at which they can reach the MAAS API remotely, |
286 | 24 | e.g. "http://192.168.1.1:5240/MAAS". | 24 | e.g. "http://192.168.1.1:5240/MAAS". |
287 | 25 | . | 25 | . |
288 | 26 | Since nodes must be able to access this URL, localhost or 127.0.0.1 are not | 26 | Since nodes must be able to access this URL, localhost or 127.0.0.1 are not |
289 | 27 | useful values here. | 27 | useful values here. |
290 | 28 | 28 | ||
292 | 29 | Template: maas-rack-udeb/shared-secret | 29 | Template: maas-relay-udeb/shared-secret |
293 | 30 | Type: password | 30 | Type: password |
294 | 31 | _Description: MAAS Rack Controller shared secret: | 31 | _Description: MAAS Rack Controller shared secret: |
296 | 32 | The MAAS rack controller needs to contact the MAAS region controller | 32 | The MAAS Relay needs to contact the MAAS region controller |
297 | 33 | with the shared secret found in /var/lib/maas/secret on the region controller. | 33 | with the shared secret found in /var/lib/maas/secret on the region controller. |
298 | 34 | Set the shared secret here. | 34 | Set the shared secret here. |
299 | 35 | 35 | ||
300 | === renamed file 'debian/maas-rack-controller.config' => 'debian/maas-relay.config' | |||
301 | --- debian/maas-rack-controller.config 2016-03-07 22:01:56 +0000 | |||
302 | +++ debian/maas-relay.config 2016-08-02 23:56:26 +0000 | |||
303 | @@ -9,7 +9,7 @@ | |||
304 | 9 | # XXX Fix to not ask when installing from the CD. | 9 | # XXX Fix to not ask when installing from the CD. |
305 | 10 | if ([ "$1" = "configure" ] && [ -z "$2" ]); then | 10 | if ([ "$1" = "configure" ] && [ -z "$2" ]); then |
306 | 11 | 11 | ||
308 | 12 | db_get maas-rack-controller/maas-url || true | 12 | db_get maas-relay/maas-url || true |
309 | 13 | if [ -z "$RET" ]; then | 13 | if [ -z "$RET" ]; then |
310 | 14 | # Attempt to pre-populate if installing on the region controller. | 14 | # Attempt to pre-populate if installing on the region controller. |
311 | 15 | if [ -f /usr/sbin/maas-region ]; then | 15 | if [ -f /usr/sbin/maas-region ]; then |
312 | @@ -19,18 +19,18 @@ | |||
313 | 19 | if ! echo $url | grep -qs "/MAAS$"; then | 19 | if ! echo $url | grep -qs "/MAAS$"; then |
314 | 20 | url="${url}/MAAS" | 20 | url="${url}/MAAS" |
315 | 21 | fi | 21 | fi |
317 | 22 | db_set maas-rack-controller/maas-url "$url" | 22 | db_set maas-relay/maas-url "$url" |
318 | 23 | else | 23 | else |
319 | 24 | # Will only get here if dbconf value not already set, or | 24 | # Will only get here if dbconf value not already set, or |
320 | 25 | # /etc/maas/regiond.conf doesn't exist. | 25 | # /etc/maas/regiond.conf doesn't exist. |
322 | 26 | db_input medium maas-rack-controller/maas-url || true | 26 | db_input medium maas-relay/maas-url || true |
323 | 27 | db_go | 27 | db_go |
324 | 28 | fi | 28 | fi |
325 | 29 | fi | 29 | fi |
326 | 30 | fi | 30 | fi |
327 | 31 | 31 | ||
328 | 32 | if [ "$1" = "reconfigure" ]; then | 32 | if [ "$1" = "reconfigure" ]; then |
330 | 33 | db_input high maas-rack-controller/maas-url || true | 33 | db_input high maas-relay/maas-url || true |
331 | 34 | db_go | 34 | db_go |
332 | 35 | fi | 35 | fi |
333 | 36 | #DEBHELPER# | 36 | #DEBHELPER# |
334 | 37 | 37 | ||
335 | === renamed file 'debian/maas-rack-controller.dirs' => 'debian/maas-relay.dirs' | |||
336 | === renamed file 'debian/maas-rack-controller.install' => 'debian/maas-relay.install' | |||
337 | --- debian/maas-rack-controller.install 2016-03-25 14:09:59 +0000 | |||
338 | +++ debian/maas-relay.install 2016-08-02 23:56:26 +0000 | |||
339 | @@ -11,4 +11,4 @@ | |||
340 | 11 | # Install all other stuff | 11 | # Install all other stuff |
341 | 12 | debian/extras/99-maas-sudoers etc/sudoers.d | 12 | debian/extras/99-maas-sudoers etc/sudoers.d |
342 | 13 | debian/extras/maas-probe-dhcp usr/sbin | 13 | debian/extras/maas-probe-dhcp usr/sbin |
344 | 14 | debian/extras/maas-rack usr/sbin | 14 | debian/extras/maas-relay usr/sbin |
345 | 15 | 15 | ||
346 | === renamed file 'debian/maas-rack-controller.links' => 'debian/maas-relay.links' | |||
347 | --- debian/maas-rack-controller.links 2016-03-07 22:01:56 +0000 | |||
348 | +++ debian/maas-relay.links 2016-08-02 23:56:26 +0000 | |||
349 | @@ -1,1 +1,1 @@ | |||
351 | 1 | usr/sbin/maas-rack usr/sbin/maas-provision | 1 | usr/sbin/maas-relay usr/sbin/maas-provision |
352 | 2 | 2 | ||
353 | === renamed file 'debian/maas-rack-controller.lintian-overrides' => 'debian/maas-relay.lintian-overrides' | |||
354 | --- debian/maas-rack-controller.lintian-overrides 2016-03-22 17:07:45 +0000 | |||
355 | +++ debian/maas-relay.lintian-overrides 2016-08-02 23:56:26 +0000 | |||
356 | @@ -1,1 +1,1 @@ | |||
358 | 1 | maas-rack-controller: binary-without-manpage usr/bin/uec2roottar usr/sbin/maas-dhcp-helper | 1 | maas-relay: binary-without-manpage usr/bin/uec2roottar usr/sbin/maas-dhcp-helper |
359 | 2 | 2 | ||
360 | === renamed file 'debian/maas-rack-controller.logrotate' => 'debian/maas-relay.logrotate' | |||
361 | --- debian/maas-rack-controller.logrotate 2016-02-04 10:08:48 +0000 | |||
362 | +++ debian/maas-relay.logrotate 2016-08-02 23:56:26 +0000 | |||
363 | @@ -1,4 +1,4 @@ | |||
365 | 1 | /var/log/maas/rackd.log { | 1 | /var/log/maas/relayd.log { |
366 | 2 | rotate 5 | 2 | rotate 5 |
367 | 3 | weekly | 3 | weekly |
368 | 4 | compress | 4 | compress |
369 | 5 | 5 | ||
370 | === renamed file 'debian/maas-rack-controller.maas-rackd.service' => 'debian/maas-relay.maas-relayd.service' | |||
371 | --- debian/maas-rack-controller.maas-rackd.service 2016-03-31 21:53:56 +0000 | |||
372 | +++ debian/maas-relay.maas-relayd.service 2016-08-02 23:56:26 +0000 | |||
373 | @@ -9,19 +9,19 @@ | |||
374 | 9 | Group=maas | 9 | Group=maas |
375 | 10 | Restart=always | 10 | Restart=always |
376 | 11 | RestartSec=10s | 11 | RestartSec=10s |
379 | 12 | Environment="LOGFILE=/var/log/maas/rackd.log" | 12 | Environment="LOGFILE=/var/log/maas/relayd.log" |
380 | 13 | # Prevent maas-dhcpd and maas-dhcpd6 from starting until maas-rackd | 13 | # Prevent maas-dhcpd and maas-dhcpd6 from starting until maas-relayd |
381 | 14 | # has regenerated the configurations and told the services to start. | 14 | # has regenerated the configurations and told the services to start. |
382 | 15 | ExecStartPre=/bin/rm -f /var/lib/maas/dhcpd.sock | 15 | ExecStartPre=/bin/rm -f /var/lib/maas/dhcpd.sock |
383 | 16 | ExecStartPre=/bin/rm -f /var/lib/maas/dhcpd.conf | 16 | ExecStartPre=/bin/rm -f /var/lib/maas/dhcpd.conf |
384 | 17 | ExecStartPre=/bin/rm -f /var/lib/maas/dhcpd6.conf | 17 | ExecStartPre=/bin/rm -f /var/lib/maas/dhcpd6.conf |
385 | 18 | # Logs go to the journal; read them with | 18 | # Logs go to the journal; read them with |
387 | 19 | # journalctl -u maas-rackd | 19 | # journalctl -u maas-relayd |
388 | 20 | # Logs also go to $LOGFILE for backward compatibility. The journal | 20 | # Logs also go to $LOGFILE for backward compatibility. The journal |
389 | 21 | # should now be preferred as the $LOGFILE will be removed in MAAS 1.9. | 21 | # should now be preferred as the $LOGFILE will be removed in MAAS 1.9. |
390 | 22 | ExecStart=/bin/sh -c \ | 22 | ExecStart=/bin/sh -c \ |
391 | 23 | 'exec /usr/bin/authbind --deep /usr/bin/twistd3 --nodaemon --pidfile= \ | 23 | 'exec /usr/bin/authbind --deep /usr/bin/twistd3 --nodaemon --pidfile= \ |
393 | 24 | maas-rackd 2>&1 | tee -a $LOGFILE' | 24 | maas-relayd 2>&1 | tee -a $LOGFILE' |
394 | 25 | 25 | ||
395 | 26 | [Install] | 26 | [Install] |
396 | 27 | WantedBy=multi-user.target | 27 | WantedBy=multi-user.target |
397 | 28 | 28 | ||
398 | === renamed file 'debian/maas-rack-controller.maintscript' => 'debian/maas-relay.maintscript' | |||
399 | === renamed file 'debian/maas-rack-controller.postinst' => 'debian/maas-relay.postinst' | |||
400 | --- debian/maas-rack-controller.postinst 2016-04-07 01:22:47 +0000 | |||
401 | +++ debian/maas-relay.postinst 2016-08-02 23:56:26 +0000 | |||
402 | @@ -9,10 +9,10 @@ | |||
403 | 9 | 9 | ||
404 | 10 | configure_logging() { | 10 | configure_logging() { |
405 | 11 | # Give appropriate permissions | 11 | # Give appropriate permissions |
408 | 12 | if [ ! -f /var/log/maas/rackd.log ]; then | 12 | if [ ! -f /var/log/maas/relayd.log ]; then |
409 | 13 | touch /var/log/maas/rackd.log | 13 | touch /var/log/maas/relayd.log |
410 | 14 | fi | 14 | fi |
412 | 15 | chown maas:maas /var/log/maas/rackd.log | 15 | chown maas:maas /var/log/maas/relayd.log |
413 | 16 | } | 16 | } |
414 | 17 | 17 | ||
415 | 18 | configure_libdir() { | 18 | configure_libdir() { |
416 | @@ -73,7 +73,7 @@ | |||
417 | 73 | 73 | ||
418 | 74 | configure_cluster_uuid(){ | 74 | configure_cluster_uuid(){ |
419 | 75 | # This will configure a UUID if one has not previously been set. | 75 | # This will configure a UUID if one has not previously been set. |
421 | 76 | maas-rack config --init | 76 | maas-relay config --init |
422 | 77 | } | 77 | } |
423 | 78 | 78 | ||
424 | 79 | configure_cluster_authbind() { | 79 | configure_cluster_authbind() { |
425 | @@ -93,16 +93,16 @@ | |||
426 | 93 | 93 | ||
427 | 94 | configure_maas_url(){ | 94 | configure_maas_url(){ |
428 | 95 | # Get the MAAS URL on configure/reconfigure and write it to the conf files. | 95 | # Get the MAAS URL on configure/reconfigure and write it to the conf files. |
430 | 96 | db_get maas-rack-controller/maas-url || true | 96 | db_get maas-relay/maas-url || true |
431 | 97 | if [ -n "$RET" ]; then | 97 | if [ -n "$RET" ]; then |
433 | 98 | maas-rack config --region-url "$RET" | 98 | maas-relay config --region-url "$RET" |
434 | 99 | fi | 99 | fi |
435 | 100 | } | 100 | } |
436 | 101 | 101 | ||
437 | 102 | configure_shared_secret() { | 102 | configure_shared_secret() { |
439 | 103 | db_get maas-rack-controller/shared-secret || true | 103 | db_get maas-relay/shared-secret || true |
440 | 104 | if [ -n "$RET" ]; then | 104 | if [ -n "$RET" ]; then |
442 | 105 | echo "$RET" | maas-rack install-shared-secret | 105 | echo "$RET" | maas-relay install-shared-secret |
443 | 106 | chown maas:maas /var/lib/maas/secret | 106 | chown maas:maas /var/lib/maas/secret |
444 | 107 | chmod 0640 /var/lib/maas/secret | 107 | chmod 0640 /var/lib/maas/secret |
445 | 108 | fi | 108 | fi |
446 | @@ -114,10 +114,10 @@ | |||
447 | 114 | # it with the new configuration tool. | 114 | # it with the new configuration tool. |
448 | 115 | if [ -f /etc/maas/maas_cluster.conf ]; then | 115 | if [ -f /etc/maas/maas_cluster.conf ]; then |
449 | 116 | uuid=$(extract_cluster_uuid /etc/maas/maas_cluster.conf) | 116 | uuid=$(extract_cluster_uuid /etc/maas/maas_cluster.conf) |
451 | 117 | maas-rack config --uuid "$uuid" | 117 | maas-relay config --uuid "$uuid" |
452 | 118 | maas_url=$(extract_maas_url /etc/maas/maas_cluster.conf) | 118 | maas_url=$(extract_maas_url /etc/maas/maas_cluster.conf) |
455 | 119 | maas-rack config --region-url "$maas_url" | 119 | maas-relay config --region-url "$maas_url" |
456 | 120 | db_set maas-rack-controller/maas-url "$maas_url" | 120 | db_set maas-relay/maas-url "$maas_url" |
457 | 121 | mv /etc/maas/maas_cluster.conf /etc/maas/maas_cluster.conf.maas-old | 121 | mv /etc/maas/maas_cluster.conf /etc/maas/maas_cluster.conf.maas-old |
458 | 122 | mv /etc/maas/pserv.yaml /etc/maas/pserv.yaml.maas-old | 122 | mv /etc/maas/pserv.yaml /etc/maas/pserv.yaml.maas-old |
459 | 123 | fi | 123 | fi |
460 | @@ -125,15 +125,15 @@ | |||
461 | 125 | # the maas_url and set it to debconf. Otherwise, the config file used | 125 | # the maas_url and set it to debconf. Otherwise, the config file used |
462 | 126 | # is exactly the same. | 126 | # is exactly the same. |
463 | 127 | if [ -f /etc/maas/clusterd.conf.1.10 ]; then | 127 | if [ -f /etc/maas/clusterd.conf.1.10 ]; then |
467 | 128 | mv /etc/maas/clusterd.conf.1.10 /etc/maas/rackd.conf | 128 | mv /etc/maas/clusterd.conf.1.10 /etc/maas/relayd.conf |
468 | 129 | maas_url=$(extract_maas_url /etc/maas/rackd.conf) | 129 | maas_url=$(extract_maas_url /etc/maas/relayd.conf) |
469 | 130 | db_set maas-rack-controller/maas-url "$maas_url" | 130 | db_set maas-relay/maas-url "$maas_url" |
470 | 131 | fi | 131 | fi |
471 | 132 | } | 132 | } |
472 | 133 | 133 | ||
473 | 134 | # Unconditionally ensure that there is at least an empty configuration | 134 | # Unconditionally ensure that there is at least an empty configuration |
474 | 135 | # file. This does *not* overwrite any existing configuration. | 135 | # file. This does *not* overwrite any existing configuration. |
476 | 136 | maas-rack config | 136 | maas-relay config |
477 | 137 | 137 | ||
478 | 138 | if [ "$1" = "configure" ] && [ -z "$2" ]; then | 138 | if [ "$1" = "configure" ] && [ -z "$2" ]; then |
479 | 139 | configure_logging | 139 | configure_logging |
480 | @@ -142,7 +142,7 @@ | |||
481 | 142 | configure_maas_url | 142 | configure_maas_url |
482 | 143 | configure_cluster_uuid | 143 | configure_cluster_uuid |
483 | 144 | configure_cluster_authbind | 144 | configure_cluster_authbind |
485 | 145 | maas-rack upgrade-cluster | 145 | maas-relay upgrade-cluster |
486 | 146 | upgrade_from_cluster_controller | 146 | upgrade_from_cluster_controller |
487 | 147 | configure_shared_secret | 147 | configure_shared_secret |
488 | 148 | 148 | ||
489 | @@ -151,7 +151,7 @@ | |||
490 | 151 | # Only ask for a shared secret when the region is not installed | 151 | # Only ask for a shared secret when the region is not installed |
491 | 152 | # on the same system. | 152 | # on the same system. |
492 | 153 | if [ ! -f /usr/sbin/maas-region ]; then | 153 | if [ ! -f /usr/sbin/maas-region ]; then |
494 | 154 | db_input high maas-rack-controller/shared-secret | 154 | db_input high maas-relay/shared-secret |
495 | 155 | db_go | 155 | db_go |
496 | 156 | fi | 156 | fi |
497 | 157 | configure_shared_secret | 157 | configure_shared_secret |
498 | @@ -160,7 +160,7 @@ | |||
499 | 160 | configure_logging | 160 | configure_logging |
500 | 161 | configure_libdir | 161 | configure_libdir |
501 | 162 | configure_cluster_authbind | 162 | configure_cluster_authbind |
503 | 163 | maas-rack upgrade-cluster | 163 | maas-relay upgrade-cluster |
504 | 164 | fi | 164 | fi |
505 | 165 | 165 | ||
506 | 166 | db_stop | 166 | db_stop |
507 | 167 | 167 | ||
508 | === renamed file 'debian/maas-rack-controller.postrm' => 'debian/maas-relay.postrm' | |||
509 | --- debian/maas-rack-controller.postrm 2016-03-31 23:55:39 +0000 | |||
510 | +++ debian/maas-relay.postrm 2016-08-02 23:56:26 +0000 | |||
511 | @@ -9,7 +9,7 @@ | |||
512 | 9 | case "$1" in | 9 | case "$1" in |
513 | 10 | purge) | 10 | purge) |
514 | 11 | # remove logfile as it wasn't installed by packaging | 11 | # remove logfile as it wasn't installed by packaging |
516 | 12 | rm -rf /var/log/maas/rackd.log* | 12 | rm -rf /var/log/maas/relayd.log* |
517 | 13 | 13 | ||
518 | 14 | # remove var directories provided it will always have files | 14 | # remove var directories provided it will always have files |
519 | 15 | # not installed or tracked by packaging | 15 | # not installed or tracked by packaging |
520 | @@ -33,8 +33,8 @@ | |||
521 | 33 | rm -rf /etc/authbind/byuid/$MAAS_UID | 33 | rm -rf /etc/authbind/byuid/$MAAS_UID |
522 | 34 | fi | 34 | fi |
523 | 35 | 35 | ||
526 | 36 | # Remove rackd.conf file | 36 | # Remove relayd.conf file |
527 | 37 | rm -rf /etc/maas/rackd.conf | 37 | rm -rf /etc/maas/relayd.conf |
528 | 38 | 38 | ||
529 | 39 | # Deleting old config files if they exist | 39 | # Deleting old config files if they exist |
530 | 40 | if [ -f /etc/maas/pserv.yaml.maas-old ]; then | 40 | if [ -f /etc/maas/pserv.yaml.maas-old ]; then |
531 | 41 | 41 | ||
532 | === renamed file 'debian/maas-rack-controller.preinst' => 'debian/maas-relay.preinst' | |||
533 | --- debian/maas-rack-controller.preinst 2016-03-25 14:09:59 +0000 | |||
534 | +++ debian/maas-relay.preinst 2016-08-02 23:56:26 +0000 | |||
535 | @@ -38,7 +38,7 @@ | |||
536 | 38 | fi | 38 | fi |
537 | 39 | 39 | ||
538 | 40 | if [ -f /var/log/maas/clusterd.log ]; then | 40 | if [ -f /var/log/maas/clusterd.log ]; then |
540 | 41 | mv /var/log/maas/clusterd.log /var/log/maas/rackd.log | 41 | mv /var/log/maas/clusterd.log /var/log/maas/relayd.log |
541 | 42 | fi | 42 | fi |
542 | 43 | 43 | ||
543 | 44 | fi | 44 | fi |
544 | 45 | 45 | ||
545 | === renamed file 'debian/maas-rack-controller.templates' => 'debian/maas-relay.templates' | |||
546 | --- debian/maas-rack-controller.templates 2016-06-02 16:34:32 +0000 | |||
547 | +++ debian/maas-relay.templates 2016-08-02 23:56:26 +0000 | |||
548 | @@ -1,4 +1,4 @@ | |||
550 | 1 | Template: maas-rack-controller/maas-url | 1 | Template: maas-relay/maas-url |
551 | 2 | Type: string | 2 | Type: string |
552 | 3 | _Description: Ubuntu MAAS API address: | 3 | _Description: Ubuntu MAAS API address: |
553 | 4 | The MAAS cluster controller and nodes need to contact the MAAS region | 4 | The MAAS cluster controller and nodes need to contact the MAAS region |
554 | @@ -7,9 +7,9 @@ | |||
555 | 7 | Since nodes must be able to access this URL, localhost or 127.0.0.1 are not | 7 | Since nodes must be able to access this URL, localhost or 127.0.0.1 are not |
556 | 8 | useful values here. | 8 | useful values here. |
557 | 9 | 9 | ||
559 | 10 | Template: maas-rack-controller/shared-secret | 10 | Template: maas-relay/shared-secret |
560 | 11 | Type: password | 11 | Type: password |
561 | 12 | _Description: MAAS Rack Controller Shared Secret: | 12 | _Description: MAAS Rack Controller Shared Secret: |
563 | 13 | The MAAS rack controller needs to contact the MAAS region controller | 13 | The MAAS Relay needs to contact the MAAS region controller |
564 | 14 | with the shared secret found in /var/lib/maas/secret on the region controller. | 14 | with the shared secret found in /var/lib/maas/secret on the region controller. |
565 | 15 | Set the shared secret here. | 15 | Set the shared secret here. |
566 | 16 | 16 | ||
567 | === modified file 'debian/rules' | |||
568 | --- debian/rules 2016-07-06 13:49:52 +0000 | |||
569 | +++ debian/rules 2016-08-02 23:56:26 +0000 | |||
570 | @@ -15,21 +15,21 @@ | |||
571 | 15 | override_dh_installinit: | 15 | override_dh_installinit: |
572 | 16 | dh_installinit -p maas-region-api --name=maas-regiond --no-start | 16 | dh_installinit -p maas-region-api --name=maas-regiond --no-start |
573 | 17 | dh_installinit -p maas-region-api --name=maas-regiond-worker@ --no-start | 17 | dh_installinit -p maas-region-api --name=maas-regiond-worker@ --no-start |
575 | 18 | dh_installinit -p maas-rack-controller --name=maas-rackd | 18 | dh_installinit -p maas-relay --name=maas-relayd |
576 | 19 | dh_installinit -p maas-proxy --name=maas-proxy | 19 | dh_installinit -p maas-proxy --name=maas-proxy |
577 | 20 | dh_installinit -p maas-dhcp --name=maas-dhcpd | 20 | dh_installinit -p maas-dhcp --name=maas-dhcpd |
578 | 21 | dh_installinit -p maas-dhcp --name=maas-dhcpd6 | 21 | dh_installinit -p maas-dhcp --name=maas-dhcpd6 |
579 | 22 | 22 | ||
580 | 23 | override_dh_systemd_enable: | 23 | override_dh_systemd_enable: |
581 | 24 | dh_systemd_enable -p maas-region-api --name=maas-regiond | 24 | dh_systemd_enable -p maas-region-api --name=maas-regiond |
583 | 25 | dh_systemd_enable -p maas-rack-controller --name=maas-rackd | 25 | dh_systemd_enable -p maas-relay --name=maas-relayd |
584 | 26 | dh_systemd_enable -p maas-proxy --name=maas-proxy | 26 | dh_systemd_enable -p maas-proxy --name=maas-proxy |
585 | 27 | dh_systemd_enable -p maas-dhcp --name=maas-dhcpd | 27 | dh_systemd_enable -p maas-dhcp --name=maas-dhcpd |
586 | 28 | dh_systemd_enable -p maas-dhcp --name=maas-dhcpd6 | 28 | dh_systemd_enable -p maas-dhcp --name=maas-dhcpd6 |
587 | 29 | 29 | ||
588 | 30 | override_dh_systemd_start: | 30 | override_dh_systemd_start: |
589 | 31 | dh_systemd_start -p maas-region-api --no-start maas-regiond.service | 31 | dh_systemd_start -p maas-region-api --no-start maas-regiond.service |
591 | 32 | dh_systemd_start -p maas-rack-controller maas-rackd.service | 32 | dh_systemd_start -p maas-relay maas-relayd.service |
592 | 33 | dh_systemd_start -p maas-proxy maas-proxy.service | 33 | dh_systemd_start -p maas-proxy maas-proxy.service |
593 | 34 | dh_systemd_start -p maas-dhcp maas-dhcpd.service | 34 | dh_systemd_start -p maas-dhcp maas-dhcpd.service |
594 | 35 | dh_systemd_start -p maas-dhcp maas-dhcpd6.service | 35 | dh_systemd_start -p maas-dhcp maas-dhcpd6.service |
595 | @@ -64,7 +64,7 @@ | |||
596 | 64 | # install python3 twisted plugins | 64 | # install python3 twisted plugins |
597 | 65 | set -ex; for python in $(PYTHON3); do \ | 65 | set -ex; for python in $(PYTHON3); do \ |
598 | 66 | dh_install twisted/plugins/maasregiond.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-region-api; \ | 66 | dh_install twisted/plugins/maasregiond.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-region-api; \ |
600 | 67 | dh_install twisted/plugins/maasrackd.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-rack-controller; \ | 67 | dh_install twisted/plugins/maasrelayd.py usr/lib/$$python/dist-packages/twisted/plugins -pmaas-relay; \ |
601 | 68 | done | 68 | done |
602 | 69 | 69 | ||
603 | 70 | dh_install --list-missing | 70 | dh_install --list-missing |