<s> '''<STR_LIT>''' <EOL> from __future__ import absolute_import <EOL> import logging <EOL> import yaml <EOL> log = logging . getLogger ( __name__ ) <EOL> def ext_pillar ( minion_id , <EOL> pillar , <EOL> command ) : <EOL> '''<STR_LIT>''' <EOL> try : <EOL> command = command . replace ( '<STR_LIT:%s>' , minion_id ) <EOL> return yaml . safe_load ( __salt__ [ '<STR_LIT>' ] ( '<STR_LIT>' . format ( command ) ) ) <EOL> except Exception : <EOL> log . critical ( <EOL> '<STR_LIT>' . format ( command ) <EOL> ) <EOL> return { } </s>
