#NEWLINE# def _expand_matching( self , auth_entry ) : #NEWLINE# #INDENT# ref = { #NEWLINE# #INDENT# 'G' : 'grain' , #NEWLINE# 'P' : 'grain_pcre' , #NEWLINE# 'I' : 'pillar' , #NEWLINE# 'J' : 'pillar_pcre' , #NEWLINE# 'L' : 'list' , #NEWLINE# 'S' : 'ipcidr' , #NEWLINE# 'E' : 'pcre' , #NEWLINE# 'N' : 'node' , #NEWLINE# None : 'glob' , #NEWLINE# #UNINDENT# } #NEWLINE# target_info = parse_target ( auth_entry ) #NEWLINE# if ( not target_info ) : #NEWLINE# #INDENT# log . error ( 'Failed to parse valid target "{0}"' . format ( target_info ) ) #NEWLINE# #UNINDENT# v_matcher = ref . get ( target_info [ 'engine' ] ) #NEWLINE# v_expr = target_info [ 'pattern' ] #NEWLINE# return set ( self . check_minions ( v_expr , v_matcher ) )