Add cluster join functionality and Kaspersky agent configuration to PMG. Updated Makefile for cluster bootstrap command, enhanced README with new service details, and modified pillar states for KESL and KLN agent integration. Added verification and management for cluster-only services in Salt states.
This commit is contained in:
@@ -7,8 +7,10 @@ YAMLLINT ?= yamllint
|
||||
STATE_ROOT ?= .
|
||||
PILLAR_ROOT ?= ./pillar
|
||||
MINION_ID ?= p-mailgw-x2-01.lmru.tech
|
||||
MASTER_IP ?= 10.80.38.152
|
||||
MASTER_HOST ?= p-mailgw-x1-01.lmru.tech
|
||||
|
||||
.PHONY: lint check apply verify update-check update
|
||||
.PHONY: lint check apply verify update-check update cluster-bootstrap
|
||||
|
||||
lint:
|
||||
>@if command -v $(SALT_LINT) >/dev/null 2>&1; then \
|
||||
@@ -36,3 +38,6 @@ update-check:
|
||||
|
||||
update:
|
||||
>sudo $(SALT_CALL) --local --id $(MINION_ID) --file-root=$(STATE_ROOT) --pillar-root=$(PILLAR_ROOT) state.apply pmg.update
|
||||
|
||||
cluster-bootstrap:
|
||||
>bash "./scripts/cluster-bootstrap.sh" "$(MINION_ID)" "$(MASTER_HOST)" "$(MASTER_IP)"
|
||||
|
||||
Reference in New Issue
Block a user