Puppet Class: nsclient::params

Inherited by:
nsclient
Defined in:
manifests/params.pp

Overview

Class nsclient::params

This privaye class is meant to be called from ‘nsclient` It sets variables according to platform



10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'manifests/params.pp', line 10

class nsclient::params {
  $allowed_hosts              = []
  $service_state              = 'running'
  $service_enable             = true
  $package_source_location    = 'https://github.com/mickem/nscp/releases/download/0.5.1.28'
  $package_name               = 'NSClient++ (x64)'
  $package_source             = 'NSCP-0.5.1.28-x64.msi'
  $download_destination       = 'c:/temp'
  $config_template            = 'nsclient/nsclient.ini.epp'
  $install_path               = 'C:\Program Files\NSClient++'
  $proxy_url                  = undef
  $password                   = undef
  $chocolatey_provider        = false
  $chocolatey_package_name    = 'nscp'

  if $chocolatey_provider {
    $package_version = '0.5.2.39'
  } else {
    $package_version = '0.5.1.28'
  }
}