Puppet Class: pipelines::agent
- Defined in:
- manifests/agent.pp
Overview
Install the Puppet Pipelines agent
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'manifests/agent.pp', line 12
class pipelines::agent (
Sensitive[String[1]] $access_token,
Sensitive[String[1]] $secret_key,
Boolean $start_agent = true,
Optional[String[1]] $data_dir = undef,
Optional[String[1]] $install_dir = undef,
String[1] $download_url = 'https://pipelines.puppet.com/download/client',
Optional[String[1]] $version = undef,
Optional[Array[String[1]]] $environments = undef,
) {
if 'windows' == $facts['kernel'] {
contain pipelines::agent::windows
} else {
contain pipelines::agent::unix
}
}
|