aboutsummaryrefslogtreecommitdiff
path: root/manifests/conf/worker.pp
blob: f703ee96cd738b738c02b515203645944ab240d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# @summary A environment file for a worker node.
# @param env
#   Contents of the configuration file.
# @param ensure
# @api private
define concourse::conf::worker (
  Hash[String, Any] $env,
  Enum['absent', 'present'] $ensure = 'present',
) {
  concourse::conf { $name:
    ensure  => $ensure,
    env     => $env,
    service => $concourse::worker::service,
  }
}