2020-04-07 14:14:01 +02:00
|
|
|
From 6df4cef549665aad5b9e2af50eb06124a2bb0997 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
|
|
|
|
|
|
|
|
---
|
|
|
|
salt/minion.py | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/salt/minion.py b/salt/minion.py
|
2020-04-07 14:14:01 +02:00
|
|
|
index 6a77d90185..457f485b0a 100644
|
2018-01-26 14:46:21 +01:00
|
|
|
--- a/salt/minion.py
|
|
|
|
+++ b/salt/minion.py
|
2020-04-07 14:14:01 +02:00
|
|
|
@@ -483,7 +483,7 @@ class MinionBase(object):
|
2018-01-26 14:46:21 +01:00
|
|
|
the pillar or grains changed
|
|
|
|
'''
|
|
|
|
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'])
|
|
|
|
if b_conf:
|
|
|
|
return self.beacons.process(b_conf, self.opts['grains']) # pylint: disable=no-member
|
|
|
|
return []
|
|
|
|
--
|
2019-11-28 16:41:55 +01:00
|
|
|
2.16.4
|
2018-01-26 14:46:21 +01:00
|
|
|
|
|
|
|
|