1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# File 'manifests/features/performance.pp', line 1
class iis::features::performance {
case $::kernelmajversion {
'6.0','6.1': {
ensure_resource('windowsfeature', 'IIS-HttpCompressionStatic' )
ensure_resource('windowsfeature', 'IIS-HttpCompressionDynamic' )
}
'6.2','6.3','10.0': {
ensure_resource('windowsfeature', 'Web-Stat-Compression' )
ensure_resource('windowsfeature', 'Web-Dyn-Compression' )
}
default: {
fail("Do not know how to install iis windows features for ${::kernelmajversion}")
}
}
}
|