taskd

pdk
Installs and configures the taskwarrior taskd

Tobias Wolter

towo

4,294 downloads

4,189 latest version

5.0 quality score

Version information

  • 1.0.2 (latest)
  • 1.0.1
  • 1.0.0
released May 3rd 2018
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0
  • Debian
    ,
    Ubuntu

Start using this module

Documentation

towo/taskd — version 1.0.2 May 3rd 2018

taskd

Build Status Coverage Status

Table of Contents

  1. Description
  2. Setup - The basics of getting started with taskd
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

This module will install the Taskwarrior "taskserver" (taskd).

It will take of installing the software and generating self-signed server-client certificates.

Setup

Beginning with taskd

First, some basic details for certificate generation need to be set (with hiera):

taskd::pki_vars:
  organization: 'My Cool Org'
  country: 'DE'
  state: 'North Rhine-Westphalia'
  locality: 'Cologne'

Additional variables have defined defaults:

Variable Default value
cn $fqdn
bits 4096
expiration_days 365

Then simply include the taskd class on whatever node you want it to be set up:

include taskd

This will install taskd, make it listen on the default port (53589) on your node's FQDN, and generate the default self-signed certificates.

Usage

Creating users

A defined type taskd::user facilitates creating users. Example:

taskd::user { 'towo': }

You can specify the actual name of the user used as well as the org:

taskd::user { 'Tobias Wolter':
  name => 'towo',
  org  => 'My cool Org'
}

Reference

Markdown documentation is available in REFERENCE.md. HTML documentation is available in doc/.

Limitations

This module has only been tested with Debian stretch (9.0). It should work with jessie using backports.

Testing

A Vagrantfile is provided to test the working state of the module. Using the Vagrantfile requires vagrant-puppet-install. Just execute it with vagrant up.

Development

Feel free to open issues.

Use the standard GitHub approach of forking, pull request, etc. to submit code modifications.