config/workerconfig/workerconfig/Makefile
Bin Qian 6acd2e3564 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
2021-04-14 22:05:55 -04:00

17 lines
534 B
Makefile

#
# SPDX-License-Identifier: Apache-2.0
#
INITDDIR ?= /etc/init.d/
GOENABLEDDIR ?= /etc/goenabled.d/
SYSTEMDDIR ?= /etc/systemd/system/
install:
install -d -m 755 $(INITDDIR)
install -d -m 755 $(GOENABLEDDIR)
install -d -m 755 $(SYSTEMDDIR)
install -d -m 755 $(SYSTEMDDIR)/config
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