Skip to content

LWRPs!

Latest
Compare
Choose a tag to compare
@dave-shawley dave-shawley released this 07 Dec 15:44
· 14 commits to master since this release

This release is a pretty serious rewrite of the initial versions. Instead of trying to accomplish everything, I'm going to concentrate on a simple cookbook that installs and configures a devpi-server. I've removed the recipes that configured the service (e.g., using supervisor, upstart, whatever) since that made the cookbook either opinionated or very broad - neither of which I want.

I've also switched away from using an embedded template for the nginx site to letting devpi-server --gen-config create the site. This is the approach that I intend to take when adding future "support" features -- lean on devpi-server to generate configuration files. This will make a more stable/reliable cookbook.

Usage

If you favor an attribute driven environment, then use the devpi::server and devpi::nginx recipes. Configuration is handled by setting attributes in node['devpiserver'].

If you favor using LWRPs, then include this cookbook in your dependency list and use the devpi_server and devpi_nginx_site resources to configure your server.