def _get_cache_dir():
 cache_dir = os.path.join(__opts__['cachedir'], 'pillar_s3fs')
 if (not os.path.isdir(cache_dir)):
  log.debug('Initializing S3 Pillar Cache')
  os.makedirs(cache_dir)
 return cache_dir

def _get_cache_dir ( ) : cache_dir = os . path . join ( __opts__ [ 'cachedir' ] , 'pillar_s3fs' ) if ( not os . path . isdir ( cache_dir ) ) : log . debug ( 'Initializing S3 Pillar Cache' ) os . makedirs ( cache_dir ) return cache_dir
get pillar cache directory .