def set_template(path, template, context, defaults, saltenv='base', **kwargs):
 path = __salt__['cp.get_template'](path=path, dest=None, template=template, saltenv=saltenv, context=context, defaults=defaults, **kwargs)
 return set_file(path, saltenv, **kwargs)

def set_template ( path , template , context , defaults , saltenv = 'base' , ** kwargs ) : path = __salt__ [ 'cp.get_template' ] ( path = path , dest = None , template = template , saltenv = saltenv , context = context , defaults = defaults , ** kwargs ) return set_file ( path , saltenv , ** kwargs )
set answers to debconf questions from a template .