From 3e509985724e957a0422e9baf021976c4a2accce Mon Sep 17 00:00:00 2001 From: me Date: Sun, 10 Dec 2017 14:48:44 +0330 Subject: [PATCH] change beacons.enable_job to beacons.enable_beacon --- salt/states/beacon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/states/beacon.py b/salt/states/beacon.py index c134bfce05..b1681e97af 100644 --- a/salt/states/beacon.py +++ b/salt/states/beacon.py @@ -173,7 +173,7 @@ def enabled(name, **kwargs): result = __salt__['beacons.enable_beacon'](name, **kwargs) ret['comment'].append(result['comment']) else: - result = __salt__['beacons.enable_job'](name, **kwargs) + result = __salt__['beacons.enable_beacon'](name, **kwargs) if not result['result']: ret['result'] = result['result'] ret['comment'] = result['comment']