This work:
- is part of Debian integration effort.
- affect Debian only
- will allow puppet manifests to be applied on worker node at
unlock/reboot time.
This specific commit:
- allows controllerconfig and workerconfig-standalone packages
to coexist on the same iso by letting files be selected at runtime
- lets workerconfig service be installed by systemd
- drops the Makefile usage for workerconfig-standalone to simplify
debian packaging.
Future work will account for storageconfig package to coexist with
controllerconfig and workerconfig.
Tests on Debian:
PASS: controllers unlocked on Standard
PASS: workerconfig started puppet manifest apply on worker node
PASS: controllers unlocked on AIO-DX
PASS: controllerconfig is running on AIO-DX,
controllerconfig is running on Standard,
workerconfig is not running on controller node AIO-DX & Standard,
workerconfig is running on worker node
Depends-On: https://review.opendev.org/c/starlingx/metal/+/852170/
Story: 2010211
Task: 45951
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: I308c7a10767c09c4781fd435d8192b250a8dba7b
23 lines
509 B
Desktop File
23 lines
509 B
Desktop File
[Unit]
|
|
Description=workerconfig service
|
|
After=syslog.target network.service remote-fs.target
|
|
After=sw-patch.service
|
|
After=affine-platform.sh.service
|
|
After=opt-platform.service
|
|
After=sysinv-agent.service
|
|
After=network-online.target
|
|
Before=config.service worker-config-gate.service
|
|
Before=goenabled.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/etc/init.d/worker_config start
|
|
ExecStop=
|
|
ExecReload=
|
|
StandardOutput=syslog+console
|
|
StandardError=syslog+console
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|