2021-01-08 13:41:50 +01:00
|
|
|
From c44b897eb1305c6b9c341fc16f729d2293ab24e4 Mon Sep 17 00:00:00 2001
|
2018-01-26 14:46:21 +01:00
|
|
|
From: Bo Maryniuk <bo@suse.de>
|
|
|
|
Date: Tue, 17 Oct 2017 16:52:33 +0200
|
|
|
|
Subject: [PATCH] Activate all beacons sources: config/pillar/grains
|
|
|
|
|
|
|
|
---
|
2021-01-08 13:41:50 +01:00
|
|
|
salt/minion.py | 4 +---
|
|
|
|
1 file changed, 1 insertion(+), 3 deletions(-)
|
2018-01-26 14:46:21 +01:00
|
|
|
|
|
|
|
diff --git a/salt/minion.py b/salt/minion.py
|
2021-01-08 13:41:50 +01:00
|
|
|
index c255f37c26..4da665a130 100644
|
2018-01-26 14:46:21 +01:00
|
|
|
--- a/salt/minion.py
|
|
|
|
+++ b/salt/minion.py
|
2021-01-08 13:41:50 +01:00
|
|
|
@@ -508,9 +508,7 @@ class MinionBase:
|
2018-01-26 14:46:21 +01:00
|
|
|
the pillar or grains changed
|
2021-01-08 13:41:50 +01:00
|
|
|
"""
|
|
|
|
if "config.merge" in functions:
|
|
|
|
- b_conf = functions["config.merge"](
|
|
|
|
- "beacons", self.opts["beacons"], omit_opts=True
|
|
|
|
- )
|
|
|
|
+ b_conf = functions["config.merge"]("beacons", self.opts["beacons"])
|
2018-01-26 14:46:21 +01:00
|
|
|
if b_conf:
|
2021-01-08 13:41:50 +01:00
|
|
|
return self.beacons.process(
|
|
|
|
b_conf, self.opts["grains"]
|
2018-01-26 14:46:21 +01:00
|
|
|
--
|
2021-01-08 13:41:50 +01:00
|
|
|
2.29.2
|
2018-01-26 14:46:21 +01:00
|
|
|
|
|
|
|
|