Skip to content

Latest commit

 

History

History
90 lines (66 loc) · 3.13 KB

README.rst

File metadata and controls

90 lines (66 loc) · 3.13 KB

radicale-formula

A SaltStack formula to install and configure Radicale, a simple CalDAV/CardDAV-server licensed under GPLv3.

Note

This formula is still in beta.

Available states

Installs the package for Radicale, configures and starts the associated radicale service.

The configuration files are created using templates which are filled with data from Pillar below the key radicale (i.e. pillar[radicale:auth:type]).

Some known pillar-keys are:

  • radicale:disabled: Set this one to 'True' if you don't want radicale enabled as a service and started by default.

  • radicale:htpasswd: A dictionary mapping a username to a password hash. The type of hash Radicale expects can be set via pillar[radicale:auth:htpasswd_encryption] (see below).

    Empty by default.

  • radicale:auth:type: Authentication method. Valid choices are 'None' (BAD!), 'htpasswd', 'IMAP', 'LDAP', 'PAM', 'courier' and 'http' for radicale 0.8. Version 0.9 also knows 'remote_user' and 'custom'. See Authentication for some details.

    For now (2014-09-25) only 'htpasswd' is known to work with this formula. If you try anything else please report back.

  • radicale:auth:htpasswd_filename: The file where usernames and passwords for radicale:auth:type == htpasswd are stored. Location the formula defaults to depends on grains[os_family] (documentation on grains).

  • radicale:auth:htpasswd_encryption: Algorithm by which the passwords stored in pillar[radicale:auth:htpasswd_filename] are obfuscated. Valid choices for radicale 0.8 and 0.9 are 'plain', 'crypt' and 'sha1'.

    The formula defaults to 'sha1' which is not secure but better than the other choices. For better handling of credentials take a look at the other choices available for [auth] type (set via pillar[radicale:auth:type]) under Authentication in the Radicale User Documentation.

  • radicale:rights:type: Valid choices are 'None' (BAD!), 'owner_only', 'owner_write', 'from_file' in radicale 0.8. Version 0.9 also knows 'authenticated' and 'custom'. See Rights Management in the Radicale User Documentation for details.

    If no value is set in Pillar the formula defaults to 'owner_only'.