Forge Home

taskd

Installs and configures the taskwarrior taskd

5,863 downloads

5,591 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

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
  • ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'towo-taskd', '1.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add towo-taskd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install towo-taskd --version 1.0.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

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.