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