Puppet Class: crypto_win::hashes::md5
- Defined in:
-
manifests/hashes/md5.pp
Overview
Class: crypto_win::hashes::md5
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'manifests/hashes/md5.pp', line 2
class crypto_win::hashes::md5 {
if $crypto_win::md5 {
$md5_enabled = 0xFFFFFFFF
} else {
$md5_enabled = 0
}
registry_key { 'md5':
ensure => present,
path => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\MD5',
}
registry_value { 'md5_enabled':
ensure => present,
path => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Hashes\MD5\Enabled',
type => dword,
data => $md5_enabled,
require => Registry_key['md5'],
}
}
|