Puppet Class: crypto_win::ciphers::des_56_56

Defined in:
manifests/ciphers/des_56_56.pp

Overview

Class: crypto_win::ciphers::des_56_56



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/ciphers/des_56_56.pp', line 2

class crypto_win::ciphers::des_56_56 {

  if $crypto_win::des_56_56 {
    $des_56_56_enabled = 0xFFFFFFFF
  } else {
    $des_56_56_enabled = 0
  }

  registry_key { 'des_56_56':
    ensure => present,
    path   => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\DES 56/56',
  }
  registry_value { 'des_56_56_enabled':
    ensure  => present,
    path    => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\DES 56/56\Enabled',
    type    => dword,
    data    => $des_56_56_enabled,
    require => Registry_key['des_56_56'],
  }

}