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