mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Add log message to masterapi minion runner
This commit is contained in:
parent
11224456eb
commit
c4b7a5fd13
@ -573,6 +573,13 @@ class RemoteFuncs(object):
|
||||
if re.match(perm, load['fun']):
|
||||
good = True
|
||||
if not good:
|
||||
# The minion is not who it says it is!
|
||||
# We don't want to listen to it!
|
||||
log.warn(
|
||||
'Minion id {0} is not who it says it is!'.format(
|
||||
load['id']
|
||||
)
|
||||
)
|
||||
return {}
|
||||
# Prepare the runner object
|
||||
opts = {'fun': load['fun'],
|
||||
|
Loading…
Reference in New Issue
Block a user