code: def _clear_cache(tgt=None,
                   tgt_type='glob',
                   clear_pillar_flag=False,
                   clear_grains_flag=False,
                   clear_mine_flag=False,
                   clear_mine_func_flag=None):
      '''
      Clear the cached data/files for the targeted minions.
      '''
      if tgt is None:
          return False
      pillar_util = salt.utils.master.MasterPillarUtil(tgt, tgt_type,
                                                       use_cached_grains=True,
                                                       grains_fallback=False,
                                                       use_cached_pillar=True,
                                                       pillar_fallback=False,
                                                       opts=__opts__)
      return pillar_util.clear_cached_minion_data(clear_pillar=clear_pillar_flag,
                                                  clear_grains=clear_grains_flag,
                                                  clear_mine=clear_mine_flag,
                                                  clear_mine_func=clear_mine_func_flagf _clear_cache(tgt=None,
                   tgt_type='glob',
                   clear_pillar_flag=False,
                   clear_grains_flag=False,
                   clear_mine_flag=False,
                   clear_mine_func_flag=None):
      '''
      Clear the cached data/files for the targeted minions.
      '''
      if tgt is None:
          return False
      pillar_util = salt.utils.master.MasterPillarUtil(tgt, tgt_type,
                                                       use_cached_grains=True,
                                                       grains_fallback=False,
                                                       use_cached_pillar=True,
                                                       pillar_fallback=False,
                                                       opts=__opts__)
      return pillar_util.clear_cached_minion_data(clear_pillar=clear_pillar_flag,
                                                  clear_grains=clear_grains_flag,
                                                  clear_mine=clear_mine_flag,
                                                  clear_mine_func=clear_mine_func_flag)
docs: Clear the cached data/files for the targeted minions.