# @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 $cluster, String $content, ) { concat::fragment { $name: content => $content, target => "authorized_worker_keys - ${cluster}", } }