Skip to main content

A Django implementation of the Puppet Forge web API.

Project description

Quickstart

For those with short attention spans, the following creates a full mirror of Puppet Forge:

$ pip install Django $ pip install semantic_version $ git clone https://github.com/jbronn/django-forge $ cd django-forge $ ./manage.py syncdb –noinput $ ./manage.py mirror_forge $ FORGE_DEBUG=1 ./manage.py runserver

Point your Puppet configuration file (/etc/puppet.conf or ~/.puppet/puppet.conf) to the forge:

[main]
module_repository = http://localhost:8000

You should now be able search and install with puppet module.

Publishing can be done with interface at /admin/ – create an account with:

$ ./manage.py createsuperuser

Background

The Puppet Forge (https://forge.puppetlabs.com/) is a central authority for finding and installing Puppet modules. This package implements the first version (v1) of the JSON web services necessary to house (or mirror) a private, stand-alone version of the Forge.

The Puppet Forge “standard” is undocumented, and the resources here were reverse-engineered from the behavior of the current API endpoints (which are buried in the Puppet module tool source code). Care is taken to try and imitate the behavior of the Forge whenever possible.

Simplicity and ease-of-use are the goals of this package.

Project details


Release history Release notifications

History Node

0.7.1

History Node

0.6.0

History Node

0.5.1

This version
History Node

0.5.0

History Node

0.4.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-forge-0.5.0.tar.gz (13.3 kB) Copy SHA256 hash SHA256 Source None Jun 27, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page