-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
194 lines (139 loc) · 5.73 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
File: README
— Documentation by YARD 0.9.12
</title>
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
<script type="text/javascript" charset="utf-8">
pathId = "";
relpath = '';
</script>
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="puppet_class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="_index.html">Index</a> »
<span class="title">File: README</span>
</div>
<div id="search">
<a class="full_list_link" id="puppet_class_list_link"
href="puppet_class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><div id='filecontents'><h1>taskd</h1>
<p><a href="https://travis-ci.org/towo/puppet-taskd/builds"><img src="https://travis-ci.org/towo/puppet-taskd.svg?branch=master" alt="Build Status" /></a>
<a href="https://coveralls.io/github/towo/puppet-taskd?branch=master"><img src="https://coveralls.io/repos/github/towo/puppet-taskd/badge.svg?branch=master" alt="Coverage Status" /></a></p>
<h4>Table of Contents</h4>
<ol>
<li><a href="#description">Description</a></li>
<li><a href="#setup">Setup - The basics of getting started with taskd</a>
<ul>
<li><a href="#what-taskd-affects">What taskd affects</a></li>
<li><a href="#setup-requirements">Setup requirements</a></li>
<li><a href="#beginning-with-taskd">Beginning with taskd</a></li>
</ul>
</li>
<li><a href="#usage">Usage - Configuration options and additional functionality</a></li>
<li><a href="#reference">Reference - An under-the-hood peek at what the module is doing and how</a></li>
<li><a href="#limitations">Limitations - OS compatibility, etc.</a></li>
<li><a href="#development">Development - Guide for contributing to the module</a></li>
</ol>
<h2>Description</h2>
<p>This module will install the <a href="https://taskwarrior.org">Taskwarrior</a> "taskserver" (taskd).</p>
<p>It will take of installing the software and generating self-signed server-client certificates.</p>
<h2>Setup</h2>
<h3>Beginning with taskd</h3>
<p>First, some basic details for certificate generation need to be set (with hiera):</p>
<pre class="code yaml"><code class="yaml">taskd::pki_vars:
organization: 'My Cool Org'
country: 'DE'
state: 'North Rhine-Westphalia'
locality: 'Cologne'
</code></pre>
<p>Additional variables have defined defaults:</p>
<table>
<thead>
<tr>
<th> Variable </th>
<th> Default value </th>
</tr>
</thead>
<tbody>
<tr>
<td> cn </td>
<td> <code>$fqdn</code> </td>
</tr>
<tr>
<td> bits </td>
<td> 4096 </td>
</tr>
<tr>
<td> expiration_days </td>
<td> 365 </td>
</tr>
</tbody>
</table>
<p>Then simply include the taskd class on whatever node you want it to be set up:</p>
<pre class="code puppet"><code class="puppet">include taskd
</code></pre>
<p>This will install taskd, make it listen on the default port (53589) on your node's FQDN, and generate the default self-signed certificates.</p>
<h2>Usage</h2>
<h3>Creating users</h3>
<p>A defined type <code>taskd::user</code> facilitates creating users. Example:</p>
<pre class="code puppet"><code class="puppet">taskd::user { 'towo': }
</code></pre>
<p>You can specify the actual name of the user used as well as the org:</p>
<pre class="code puppet"><code class="puppet">taskd::user { 'Tobias Wolter':
name => 'towo',
org => 'My cool Org'
}
</code></pre>
<h2>Reference</h2>
<p>FIXME
Users need a complete list of your module's classes, types, defined types providers, facts, and functions, along with the parameters for each. You can provide this list either via Puppet Strings code comments or as a complete list in the README Reference section.</p>
<ul>
<li><p>If you are using Puppet Strings code comments, this Reference section should include Strings information so that your users know how to access your documentation.</p></li>
<li><p>If you are not using Puppet Strings, include a list of all of your classes, defined types, and so on, along with their parameters. Each element in this listing should include:</p>
<ul>
<li>The data type, if applicable.</li>
<li>A description of what the element does.</li>
<li>Valid values, if the data type doesn't make it obvious.</li>
<li>Default value, if any.</li>
</ul>
</li>
</ul>
<h2>Limitations</h2>
<p>This module has only been tested with Debian <code>stretch</code> (9.0). It should work with <code>jessie</code> using backports.</p>
<h2>Testing</h2>
<p>A Vagrantfile is provided to test the working state of the module. Using the
Vagrantfile requires <code>vagrant-puppet-install</code>. Just execute it with <code>vagrant
up</code>.</p>
<h2>Development</h2>
<p>FIXME
Since your module is awesome, other users will want to play with it. Let them know what the ground rules for contributing are.</p>
</div></div>
<div id="footer">
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
</div>
</div>
</body>
</html>