<s> '''<STR_LIT>''' <EOL> import logging <EOL> import mc_states . api <EOL> from mc_states import saltapi <EOL> from salt . utils . odict import OrderedDict <EOL> _errmsg = saltapi . _errmsg <EOL> __name = '<STR_LIT>' <EOL> log = logging . getLogger ( __name__ ) <EOL> VT = '<STR_LIT>' <EOL> PREFIX = '<STR_LIT>' . format ( VT ) <EOL> def vt ( ) : <EOL> return __salt__ [ '<STR_LIT>' ] ( VT ) <EOL> def is_kvm ( ) : <EOL> """<STR_LIT>""" <EOL> try : <EOL> with open ( '<STR_LIT>' ) as fic : <EOL> kvm = '<STR_LIT>' in fic . read ( ) . lower ( ) <EOL> except Exception : <EOL> kvm = False <EOL> return kvm <EOL> def vt_default_settings ( cloudSettings , imgSettings ) : <EOL> '''<STR_LIT>''' <EOL> _s = __salt__ <EOL> vmSettings = _s [ '<STR_LIT>' ] ( <EOL> _s [ '<STR_LIT>' ] ( cloudSettings , imgSettings ) , { <EOL> '<STR_LIT>' : VT , <EOL> '<STR_LIT>' : { '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' } } ) <EOL> return vmSettings <EOL> def vt_extpillar ( target , data , ** kw ) : <EOL> '''<STR_LIT>''' <EOL> return data <EOL> def vm_extpillar ( vm , data , * args , ** kw ) : <EOL> '''<STR_LIT>''' <EOL> return data </s>
