Flip sense of test for grains load at end of regular minion startup

This commit is contained in:
C. R. Oldham 2015-10-09 18:51:46 -06:00
parent 37c145bcd5
commit b15083d719

View file

@ -703,8 +703,9 @@ class Minion(MinionBase):
'upgrade your ZMQ!'
)
# Late setup the of the opts grains, so we can log from the grains
# module
if salt.utils.is_proxy():
# module. If this is a proxy, however, we need to init the proxymodule
# before we can get the grains.
if not salt.utils.is_proxy():
self.opts['grains'] = salt.loader.grains(opts)
# TODO: remove?