https://github.com/voxpupuli/puppet-python
Puppet module for installing and managing Python, pip, virtualenvs and Gunicorn virtual hosts.
https://github.com/voxpupuli/puppet-python
bsd-puppet-module centos-puppet-module debian-puppet-module freebsd-puppet-module gentoo-puppet-module hacktoberfest linux-puppet-module puppet sles-puppet-module ubuntu-puppet-module
Last synced: 7 days ago
JSON representation
Puppet module for installing and managing Python, pip, virtualenvs and Gunicorn virtual hosts.
- Host: GitHub
- URL: https://github.com/voxpupuli/puppet-python
- Owner: voxpupuli
- License: apache-2.0
- Created: 2012-09-09T22:36:58.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2025-03-19T19:10:52.000Z (about 1 month ago)
- Last Synced: 2025-04-07T18:43:17.477Z (13 days ago)
- Topics: bsd-puppet-module, centos-puppet-module, debian-puppet-module, freebsd-puppet-module, gentoo-puppet-module, hacktoberfest, linux-puppet-module, puppet, sles-puppet-module, ubuntu-puppet-module
- Language: Ruby
- Homepage: https://forge.puppetlabs.com/puppet/python
- Size: 1.06 MB
- Stars: 200
- Watchers: 55
- Forks: 374
- Open Issues: 77
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# puppet-python
[](https://github.com/voxpupuli/puppet-python/actions?query=workflow%3ACI)
[](https://github.com/voxpupuli/puppet-python/actions/workflows/release.yml)
[](https://forge.puppetlabs.com/puppet/python)
[](https://forge.puppetlabs.com/puppet/python)
[](https://forge.puppetlabs.com/puppet/python)
[](https://forge.puppetlabs.com/puppet/python)
[](http://www.puppetmodule.info/m/puppet-python)
[](https://github.com/voxpupuli/puppet-python/blob/master/LICENSE)Puppet module for installing and managing python, pip, virtualenvs and Gunicorn virtual hosts.
**Please note:** The module [stankevich/python](https://forge.puppet.com/stankevich/python) has been deprecated and is now available under Vox Pupuli: [puppet/python](https://forge.puppet.com/puppet/python).
## Usage
For class usage refer to the [Reference]("https://github.com/voxpupuli/puppet-python/blob/master/REFERENCE.md). If contributing, this is updated with
```shell
bundle exec rake strings:generate\[',,,,false,true']
```### hiera configuration
This module supports configuration through hiera. The following example
creates two python3 virtualenvs. The configuration also pip installs a
package into each environment.```yaml
python::python_pyvenvs:
"/opt/env1":
version: "system"
"/opt/env2":
version: "system"
python::python_pips:
"nose":
virtualenv: "/opt/env1"
"coverage":
virtualenv: "/opt/env2"
python::python_dotfiles:
"/var/lib/jenkins/.pip/pip.conf":
config:
global:
index-url: "https://mypypi.acme.com/simple/"
extra-index-url: "https://pypi.risedev.at/simple/"
```### Using SCL packages from RedHat or CentOS
To use this module with Linux distributions in the Red Hat family and python distributions
from softwarecollections.org, set python::provider to 'rhscl' and python::version to the name
of the collection you want to use (e.g., 'python27', 'python33', or 'rh-python34').## Release Notes
See [Changelog](https://github.com/voxpupuli/puppet-python/blob/master/CHANGELOG.md)
## Contributors
Check out [Github contributors](https://github.com/voxpupuli/puppet-python/graphs/contributors).