def _get_values(profile=None):
 profile = (profile or {})
 serializers = salt.loader.serializers(__opts__)
 ret = {}
 for fname in profile.get('files', []):
  try:
   with salt.utils.flopen(fname) as f:
    contents = serializers.yaml.deserialize(f)
    ret = salt.utils.dictupdate.merge(ret, contents, **profile.get('merge', {}))
  except IOError:
   log.error("File not found '{0}'".format(fname))
  except TypeError:
   log.error("Error deserializing sdb file '{0}'".format(fname))
 return ret

def _get_values ( profile = None ) : profile = ( profile or { } ) serializers = salt . loader . serializers ( __opts__ ) ret = { } for fname in profile . get ( 'files' , [ ] ) : try : with salt . utils . flopen ( fname ) as f : contents = serializers . yaml . deserialize ( f ) ret = salt . utils . dictupdate . merge ( ret , contents , ** profile . get ( 'merge' , { } ) ) except IOError : log . error ( "File not found '{0}'" . format ( fname ) ) except TypeError : log . error ( "Error deserializing sdb file '{0}'" . format ( fname ) ) return ret
retrieve all the referenced files .