Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

devpio (5) Versions 0.3.0

Installs/Configures devpi server, client and users

Policyfile
Berkshelf
Knife
cookbook 'devpio', '= 0.3.0', :supermarket
cookbook 'devpio', '= 0.3.0'
knife supermarket install devpio
knife supermarket download devpio
README
Dependencies
Quality 20%

devpio status Build Status

Decription

  • Installs and configures a devpi server initializing it as a service for your most appropriate init script or daemon.
  • Installs devpi client.
  • Manages devpi users from a client.

There are other cookbooks you may take a look into before considering this
one as it is under development.
The aim of this cookbook is create a simple and readable cookbook minimizing
complexities
and maximizing quality.

Usage

Add recipe[devpi::server]

Requirements

Platforms

  • Debian >= 8
  • Ubuntu >= 14.04

Cookbook dependencies

Attributes

These attributes are under node['devpi']['server']

Attribute Description Type Default
host Devpi server Url to listen from String http://localhost
port Devpi server port where your boats will arrive Integer 3141
data_dir Devpi server data directory String /var/devpi

Resources

devpi_server

This resource installs a complete devpi server on the node.

Actions

  • :create
  • :remove

Properties

Property Description Type Default
user Devpi service system user String devpi
group Devpi service system group String devpi
home_dir Location where devpi binaries and virtualenv is installed String /home/#{user}
data_dir Data storage location String undefined (/var/devpi)
host IP to host the service String localhost (remember that you need to set this to 0.0.0.0 if you want to use devpi server in your network)
port Service's port Integer 3141
version Devpi server package version String undefined (latest)
package Devpi server package name String devpi-server

devpi_client

Actions

  • :create
  • :remove

Properties

Property Description Type Default
version Devpi client package version String undefined (latest)
package Devpi client package name String devpi-server

devpi_user

This resource manages devpi users.

Actions

  • :create
  • :remove

Properties

Property Description Type Default
resource name Will be used as the user's name String undefined
password User's password (This resource is considered sensitive so the password will not be logged) String Undefined (empty)
server_url Devpi server to manipulate. It should be listening on that interface) String localhost

Contributing

Please use Github issues/pull reuqests. You may use the provided .kitchen files
for testing with Vagrant or Docker. This repository is TravisCI-ready so please
make sure your branch is working before pull requesting.

Lincense

This software is licensed under Apache License, Version
2.0
.

Contributors

TODO

  • [x] Install devpi server
  • [x] Configure service for systemd and init.d
  • [x] Add devpi client
  • [x] Create users
  • [ ] Create indexes
  • [ ] Add mirror configuration
  • [ ] Add Nginx frontend

Dependent cookbooks

poise-python ~> 1.5.1

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.3.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.3.0 failed this metric

FC007: Ensure recipe dependencies are reflected in cookbook metadata: devpio/recipes/default.rb:19
FC007: Ensure recipe dependencies are reflected in cookbook metadata: devpio/recipes/default.rb:20
Run with Foodcritic Version 8.2.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.3.0 passed this metric

Testing File Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file