Class: PoisePython::Resources::PythonVirtualenv::Resource
- Inherits:
-
PoisePython::Resources::PythonRuntime::Resource
- Object
- Chef::Resource
- PoisePython::Resources::PythonRuntime::Resource
- PoisePython::Resources::PythonVirtualenv::Resource
- Includes:
- PythonCommandMixin
- Defined in:
- lib/poise_python/resources/python_virtualenv.rb
Overview
A python_virtualenv
resource to manage Python virtual environments.
Instance Attribute Summary collapse
-
#group ⇒ String, ...
System group to create the virtualenv.
-
#path ⇒ String
Path to create the environment at.
-
#system_site_packages ⇒ Boolean
Enable or disable visibilty of system packages in the environment.
-
#user ⇒ String, ...
System user to create the virtualenv.
Instance Attribute Details
#group ⇒ String, ...
System group to create the virtualenv.
49 |
# File 'lib/poise_python/resources/python_virtualenv.rb', line 49 attribute(:group, kind_of: [String, Integer, NilClass]) |
#path ⇒ String
Path to create the environment at.
45 |
# File 'lib/poise_python/resources/python_virtualenv.rb', line 45 attribute(:path, kind_of: String, name_attribute: true) |
#system_site_packages ⇒ Boolean
Enable or disable visibilty of system packages in the environment.
53 |
# File 'lib/poise_python/resources/python_virtualenv.rb', line 53 attribute(:system_site_packages, equal_to: [true, false], default: false) |
#user ⇒ String, ...
System user to create the virtualenv.
57 |
# File 'lib/poise_python/resources/python_virtualenv.rb', line 57 attribute(:user, kind_of: [String, Integer, NilClass]) |