A Django implementation of the Puppet Forge API.
Project description
Quickstart
For those with short attention spans, the following creates a full mirror of the Puppet Forge:
$ virtualenv forge $ source forge/bin/activate $ pip install django-forge $ django-admin.py migrate –noinput –settings=forge.settings.dev $ django-admin.py sync_forge –settings=forge.settings.dev $ django-admin.py runserver –settings=forge.settings.dev
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) and third version (v3) of the JSON web services necessary to house (or mirror) a private, stand-alone version of the Forge.
Simplicity and ease-of-use are goals of this package.
### v1
This version of the Puppet Forge 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 this API whenever possible.
### v3
Puppet Labs fully documented and shared the v3 standard with the community, see https://forgeapi.puppetlabs.com for further details. This package only implements the subset of this API necessary to talk to open source Puppet 3.6+ clients.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-forge-0.7.1.tar.gz
.
File metadata
- Download URL: django-forge-0.7.1.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76f3e5fab01952fd55444077aa2b8fa1fe247c6508c2f2848be72f36ea8dd440 |
|
MD5 | 05d4d07c73392ca0383f6f4b4d24defb |
|
BLAKE2b-256 | 69c900d277500c14ba0df6498ae970c517edb4f4033774319d4c1b4dece3aa67 |
File details
Details for the file django_forge-0.7.1-py2-none-any.whl
.
File metadata
- Download URL: django_forge-0.7.1-py2-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d5ff790c780981e96fe680d459188827d4471620d152e326f5e265248c9877c |
|
MD5 | 93b3b1896c85f698b805cfc51ba26828 |
|
BLAKE2b-256 | 9d42109c068c51f2ecc1d93f24b2443c17251cc162c41c36d13f0e13386e7e45 |