Ensure tht pillar have freshest grains (#33910)

This commit is contained in:
Mike Place 2016-06-09 11:13:10 -07:00 committed by Nicole Thomas
parent 00e016ecfc
commit 261baeb5b5

View file

@ -837,7 +837,7 @@ class Minion(MinionBase):
# module. If this is a proxy, however, we need to init the proxymodule
# before we can get the grains. We do this for proxies in the
# post_master_init
if not salt.utils.is_proxy() and not self.opts.get('grains'):
if not salt.utils.is_proxy():
self.opts['grains'] = salt.loader.grains(opts)
log.info('Creating minion process manager')