Resource Type: venv
- Defined in:
- lib/puppet/type/venv.rb
- Providers:
-
virtualenv
Overview
A resource type for managing a Python virtual environment.
Properties
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
group
The group of the virtual environment.
-
owner
The owner of the virtual environment.
Parameters
-
distribute
Use distribute instead of setuptools.
-
path
The path to the virtualenv to manage, must be fully qualified.
-
provider
The specific backend to use for this ‘venv` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.
-
python
The Python interpreter to use.
-
setuptools
Use setuptools instead of distribute.
-
symlinks
Try to use symlinks rather than copies when not platform default.
-
system_site_packages
Give access to the global site-packages dir to the venv.
-
unzip_setuptools
Unzip Setuptools or Distribute when installing it.
Features
-
virtualenv
—
Uses ‘virtualenv` to manage environments.
-
pyvenv
—
Uses ‘pyvenv` to manage environments (3.3+).