Add log message to masterapi minion runner

This commit is contained in:
Mike Place 2014-06-19 13:20:01 -06:00
parent 11224456eb
commit c4b7a5fd13

View File

@ -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'],