Merge pull request #19531 from cachedout/log_refresh

Let's get more debug info about how often refreshes are happening
This commit is contained in:
Mike Place 2015-01-08 11:09:16 -07:00
commit 432776ef61

View File

@ -1447,6 +1447,7 @@ class Minion(MinionBase):
'''
Refresh the functions and returners.
'''
log.debug('Refreshing modules')
self.functions, self.returners, _ = self._load_modules(force_refresh)
self.schedule.functions = self.functions
self.schedule.returners = self.returners
@ -1455,6 +1456,7 @@ class Minion(MinionBase):
'''
Refresh the pillar
'''
log.debug('Refreshing pillar')
self.opts['pillar'] = salt.pillar.get_pillar(
self.opts,
self.opts['grains'],