Puppet Class: iis::features::health_and_diagnostics

Defined in:
manifests/features/health_and_diagnostics.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'manifests/features/health_and_diagnostics.pp', line 1

class iis::features::health_and_diagnostics {

  case $::kernelmajversion {
    '6.0','6.1': {
      ensure_resource('windowsfeature', 'IIS-HttpLogging' )
      ensure_resource('windowsfeature', 'IIS-RequestMonitor' )
    }
    '6.2','6.3','10.0': {
      ensure_resource('windowsfeature', 'Web-Http-Logging' )
      ensure_resource('windowsfeature', 'Web-Request-Monitor' )
    }
    default: {
      fail("Do not know how to install iis windows features for ${::kernelmajversion}")
    }
  }
}