mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
add cpub to raet event for compat
This commit is contained in:
parent
a2eae208c5
commit
8e52f425e4
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@ class RAETEvent(object):
|
|||
self.stack = None
|
||||
self.ryn = 'manor' # remote yard name
|
||||
self.connected = False
|
||||
self.cpub = False
|
||||
self.__prep_stack(listen)
|
||||
|
||||
def __prep_stack(self, listen):
|
||||
|
@ -132,6 +133,7 @@ class RAETEvent(object):
|
|||
self.stack.transmit(msg, self.stack.nameRemotes[self.ryn].uid)
|
||||
self.stack.serviceAll()
|
||||
self.connected = True
|
||||
self.cpub = True
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue