Giter Site home page Giter Site logo

pidydx / chef-radicale Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cmur2/chef-radicale

0.0 2.0 0.0 13 KB

Installs Radicale (the complete CalDAV and CardDAV server) via pip and configures it

License: Apache License 2.0

Ruby 87.42% Shell 12.58%

chef-radicale's Introduction

chef-radicale

Build Status

Description

Installs Radicale (a complete CalDAV and CardDAV server) via pip (and therefore python and pip) and configures it from node['radicale'].

Usage

Use recipe[radicale::default] for installing and configuring Radicale including a Debian init script and logging setup. The default configuration with no attributes set should produce a running Radicale. Advanced setups with authentication and custom rules are supported as well as logrotate support.

No support for SSL key and cert handling yet, use a proxy or write an issue.

No support for installing additionally needed modules yet.

Requirements

Platform

It should work on all systems providing Python and pip.

For supported Chef/Ruby version see Travis.

Recipes

default

The Radicale main configuration will be generated to INI format from node['radicale']['config'] and ships with settings for an example server that you should change for production use.

The Radicale authentication configuration happens in the [auth] section of the main configuration and is transformed in the same manner. Special feature: if you specify a username->password or username->passwordhash mapping in ´node['radicale']['users']´ a htpasswd file will automatically be created at node['radicale']['config']['auth']['htpasswd_filename'] (which defaults to /opt/radicale/users) containing those. You have to declare at least one user for this file to be created.

The Radicale rights configuration happens in the [rights] section of the main configuration and is transformed in the same manner. Special feature: if you specify a hash with the necessary rights information a rights file will automatically be created at node['radicale']['config']['rights']['file'] (which defaults to /opt/radicale/rights) containing those. You have to declare at least one rights section for this file to be created.

The Radicale logging configuration will be generated to INI format from node['radicale']['logging'] and ships with sane production settings that you should not change. These default settings are required for logrotate support.

logrotate

Adds a Radicale specific logrotate configuration when logrotate cookbook is found. No attributes needed.

Example configuration

todo

License

chef-radicale is licensed under the Apache License, Version 2.0. See LICENSE for more information.

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.