def vagrant_settings(name='', *args, **kwargs):
 name = _name_or_host_string(name)
 config = ssh_config(name)
 extra_args = _settings_dict(config)
 kwargs.update(extra_args)
 return settings(*args, **kwargs)

def vagrant_settings ( name = '' , * args , ** kwargs ) : name = _name_or_host_string ( name ) config = ssh_config ( name ) extra_args = _settings_dict ( config ) kwargs . update ( extra_args ) return settings ( * args , ** kwargs )
context manager that sets a vagrant vm named name as the remote host .