def dot_vals(value):
 ret = {}
 for (key, val) in six.iteritems(__pillar__.get('master', {})):
  if key.startswith('{0}.'.format(value)):
   ret[key] = val
 for (key, val) in six.iteritems(__opts__):
  if key.startswith('{0}.'.format(value)):
   ret[key] = val
 return ret

def dot_vals ( value ) : ret = { } for ( key , val ) in six . iteritems ( __pillar__ . get ( 'master' , { } ) ) : if key . startswith ( '{0}.' . format ( value ) ) : ret [ key ] = val for ( key , val ) in six . iteritems ( __opts__ ) : if key . startswith ( '{0}.' . format ( value ) ) : ret [ key ] = val return ret
pass in a configuration value that should be preceded by the module name and a dot .