Skip to content
This repository was archived by the owner on Apr 4, 2018. It is now read-only.

alphagov/puppet-python

 
 

Python Puppet Module for Boxen

Build Status

Install Python versions using pyenv. Module based off of puppet-nodejs.

Usage

include python::2_7_3
include python::3_3_0

# Install any arbitrary Python version
python { '2.6.8': }

# Install a Python package
python::package { 'virtualenv':
  python_version => '2.7.3',
}

# Set the global version of Python
class { 'python::global': version => '2.7.3' }

# Set version of Python within a specific directory
python::local { '/path/to/directory': version => '3.3.0' }

Required Puppet Modules

  • boxen
  • repository
  • stdlib

Development

Write code. Run script/cibuild to test it. Check the script directory for other useful tools.

About

Mange Python with Boxen and pyenv

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 66.9%
  • Puppet 30.2%
  • Shell 2.9%