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