aboutsummaryrefslogtreecommitdiff
path: root/manifests/worker_key.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/worker_key.pp')
-rw-r--r--manifests/worker_key.pp13
1 files changed, 12 insertions, 1 deletions
diff --git a/manifests/worker_key.pp b/manifests/worker_key.pp
index 320bba1..be32a01 100644
--- a/manifests/worker_key.pp
+++ b/manifests/worker_key.pp
@@ -1,7 +1,18 @@
+# @summary A worker (public) key for a given cluster.
+#
+# This resource is supposed to be created and exported by the worker
+# resource, and then collected by the web resource.
+#
+# It should however be fine to create manual instances of this resource.
+#
+# @param content
+# Complete content of the key, as it appears on disk.
+# @param cluster
+# Which cluster this key is part of.
# @api private
define concourse::worker_key (
- String $content,
String $cluster,
+ String $content,
) {
concat::fragment { $name:
content => $content,