Forge Home


Python Module


18,208 latest version

5.0 quality score

Version information

  • 6.2.1 (latest)
  • 6.2.0
  • 6.1.0
  • 6.0.0
  • 5.0.0
  • 4.1.1
  • 4.1.0
  • 4.0.0
  • 3.0.1
  • 2.2.2
  • 2.2.1-rc0
  • 2.1.1
  • 2.1.0
  • 2.0.0
released Dec 10th 2021
This version is compatible with:
  • Puppet Enterprise 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x
  • Puppet >= 6.1.0 < 8.0.0
  • , , , , Gentoo, ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'puppet-python', '6.2.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppet-python
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppet-python --version 6.2.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



puppet/python — version 6.2.1 Dec 10th 2021


Build Status Release Puppet Forge Puppet Forge - downloads Puppet Forge - endorsement Puppet Forge - scores docs License

Puppet module for installing and managing python, pip, virtualenvs and Gunicorn virtual hosts.

Please note: The module stankevich/python has been deprecated and is now available under Vox Pupuli: puppet/python.


For class usage refer to the Reference. If contributing, this is updated with

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.

    version: "system"
    version: "system"
    virtualenv: "/opt/env1"
    virtualenv: "/opt/env2"
        index-url: ""
        extra-index-url: ""

Using SCL packages from RedHat or CentOS

To use this module with Linux distributions in the Red Hat family and python distributions from, 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


Check out Github contributors.