Puppet Class: te_agent::install
- Inherits:
 - te_agent
 
- Defined in:
 - manifests/install.pp
 
Overview
Installs the TE Agent. Private class.
        3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18  | 
      
        # File 'manifests/install.pp', line 3
class te_agent::install inherits te_agent {
  if $te_agent::package_manage {
    $install_options = $facts['kernel'] ? {
      windows => ['/qn', te_agent::msi_install_args()],
      default => ['--silent', te_agent::agent_bin_args()],
    }
    package { 'Tripwire Enterprise Agent':
      ensure          => $te_agent::package_ensure,
      source          => $te_agent::package_source,
      name            => $te_agent::package_name,
      provider        => $te_agent::package_provider,
      install_options => $install_options,
    }
  }
}
       |