Giter VIP home page Giter VIP logo

chef.cb.devpi's Introduction

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

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

chef.cb.devpi's People

Contributors

edupo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.