aboutsummaryrefslogtreecommitdiff
path: root/manifests/worker_key.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-18 20:35:48 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-20 00:26:09 +0200
commit5e1032519189f3b6fa793cec81833a781a91d8f2 (patch)
tree51a5ba59974e61f7a56128afcb324d49c9f8b7c8 /manifests/worker_key.pp
parentInitial add. (diff)
downloadconcourse-5e1032519189f3b6fa793cec81833a781a91d8f2.tar.gz
concourse-5e1032519189f3b6fa793cec81833a781a91d8f2.tar.xz
Rewrote almost everything.
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,