コード例 #1
0
ファイル: master.py プロジェクト: bryson/salt
 def run(self):
     '''
     Gather currently connected minions and update the cache
     '''
     new_mins = list(salt.utils.minions.CkMinions(self.opts).connected_ids())
     cc = cache_cli(self.opts)
     cc.get_cached()
     cc.put_cache([new_mins])
     log.debug('ConCache CacheWorker update finished')
コード例 #2
0
 def run(self):
     '''
     Gather currently connected minions and update the cache
     '''
     new_mins = list(salt.utils.minions.CkMinions(self.opts).connected_ids())
     cc = cache_cli(self.opts)
     cc.get_cached()
     cc.put_cache([new_mins])
     log.debug('ConCache CacheWorker update finished')