Skip to content
This repository has been archived by the owner on Oct 5, 2018. It is now read-only.

armstrong/puppet-pip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

pip for puppet

This is a puppet module for using Python's pip. Puppet has a built-in pip provider, but it's implementation leaves out a few pieces:

  • No ability to install from requirements file.
  • No ability to add extra arguments
  • No support for using mirrors or specifying alternate indexes.

This module fixes this.

Usage

Make sure this module is available by adding this repository's contents in a directory called pip inside your Puppet's moduledir.

Boostrap pip (optional):

Once the module is installed and accessible, you can bootstrap your pip environment by adding this to your manifest:

pip::bootstrap{ "pip-bootstrap": }

You only need to do this on machines that do not already have pip installed. This installs the latest version of pip and distribute

Installing Packages:

To install a package, simply provide the name of the package you want to install like this:

pip::install { "armstrong": }

The name is passed to pip::install, so you can include version requirements and so on using the name.

Configuration

TODO

About

Adding pip to your puppet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published