:truck: A puppet module to install devpi-server behind a NginX proxy
Table of Contents
This is a Puppet module to install devpi-server behind a NginX proxy.
See also debianized-devpi
for building the required devpi
package.
On non-Debian platforms, you can use fpm or similar tools to build such a package.
Screenshot of the ‘default’ theme |
---|
![]() |
If you just want a working ‘devpi-server’ on your machine proxied by NginX on port 31415
and watched by supervisord
, then call these commands, after either installing
the devpi
package via dpkg -i
, or providing it in a source registered with APT:
git clone "https://github.com/jhermann/devpi-puppet.git"
cd devpi-puppet
sudo ./apply.sh
You can also pass --noop
and other Puppet options to the script.
It installs Puppet if that’s missing, and then applies the node definition contained in site.pp
.
All the possible parameters are documented in
init.pp and
nginx.pp.
For creating a simple HTML rendering, use this command:
rdoc -q -SN1 -E pp=rb >doc/index.html manifests/init.pp manifests/nginx.pp
If for whatever reason you don’t want to use tools like
the puppet module command
or librarian-puppet,
the following shows how to use git subtree
(as opposed to git submodule
)
to import this repository into your modules
directory.
First, and once only, add devpi-puppet
to your remotes and add a subtree named modules/devpi
:
git remote add -f devpi-puppet "https://github.com/jhermann/devpi-puppet.git"
git remote update && git subtree add --prefix modules/devpi devpi-puppet master --squash
Then to later update the subtree, use this:
git remote update && git subtree pull --prefix modules/devpi devpi-puppet master --squash
You can also use a tag name instead of master
, to get a specific release.
This module is known to work on:
devpi
that contains all dependencies and extensions in a virtualenv.devpi
Puppet module.devpi-server
.devpi
server by Doug Hellmann.devpi
published to the public Docker registry.devpi
the easy way.devpi-server
on localhost.