Single puppet manifest for AIO controllers

Create a single puppet manifest for AIO controllers.
This change includes:
1. remove workerconfig from an AIO controller deployment
2. running puppet based on subfunctions of the nodes

Depends-on: https://review.opendev.org/c/starlingx/stx-puppet/+/780600
Partial-Bug: 1918139
Signed-off-by: Bin Qian <bin.qian@windriver.com>
Change-Id: Ie3693219e3c19460ac5b617cc216cbc809ec2403
This commit is contained in:
Bin Qian
2021-02-23 12:59:28 -05:00
parent a40a3bd892
commit 6acd2e3564
6 changed files with 1 additions and 68 deletions

View File

@@ -14,4 +14,3 @@ install:
install -p -D -m 700 worker_config $(INITDDIR)/worker_config
install -p -D -m 755 config_goenabled_check.sh $(GOENABLEDDIR)/config_goenabled_check.sh
install -p -D -m 664 workerconfig.service $(SYSTEMDDIR)/config/workerconfig-standalone.service
install -p -D -m 664 workerconfig-combined.service $(SYSTEMDDIR)/config/workerconfig-combined.service

View File

@@ -1,21 +0,0 @@
[Unit]
Description=workerconfig service
After=syslog.target network.service remote-fs.target
After=sw-patch.service
After=affine-platform.sh.service
After=controllerconfig.service config.service
After=goenabled.service
After=sysinv-agent.service
After=network-online.target
[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