Puppet Class: psquared::agent_installers

Defined in:
manifests/agent_installers.pp

Overview

Psquared::Agent_installers

Download all known puppet agent installers

Parameters:

  • install (Any) (defaults to: true)

    True to install all known agent installers except for OSX otherwise do not install anything

  • install_osx_agents

    True to also install OSX agent installers otherwise do nothing



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'manifests/agent_installers.pp', line 9

class psquared::agent_installers(
    $install                = true,
){

  # prevent timeout errors
  Pe_staging::File {
    timeout => 1800, # 30 mins
  }

  if $install {
    $platform_classes = psquared::list_agent_platforms()
    $platform_classes.each |$platform_class| {
      include $platform_class
    }
  }
}