salt.modules.virtualenv

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin execution modules »

# salt.modules.virtualenv

Create virtualenv environments

`salt.modules.virtualenv.` `create`(path, venv_bin=None, no_site_packages=False, system_site_packages=False, distribute=False, clear=False, python='', extra_search_dir='', never_download=False, prompt='', runas=None)

  Create a virtualenv

  path
    The path to create the virtualenv
  venv_bin : 'virtualenv'
    The name (and optionally path) of the virtualenv command. This can also be set globally in the minion config file as `virtualenv.venv_bin`.
  no_site_packages : False
    Passthrough argument given to virtualenv
  system_site_packages : False
    Passthrough argument given to virtualenv
  distribute : False
    Passthrough argument given to virtualenv
  clear : False
    Passthrough argument given to virtualenv
  python : (default)
    Passthrough argument given to virtualenv
  extra_search_dir : (default)
    Passthrough argument given to virtualenv
  never_download : (default)
    Passthrough argument given to virtualenv
  prompt : (default)
    Passthrough argument given to virtualenv
  runas : None
    Set ownership for the virtualenv

  CLI Example:

      salt '*' virtualenv.create /path/to/new/virtualenv

## Comments

comments powered by Disqus

### Navigation

- index
- modules |
- next |
- previous |
- « SaltStack.org |
- Documentation home
- Full list of builtin execution modules »