Puppet Class: crypto_win::ciphers::rc2_128_128

Defined in:
manifests/ciphers/rc2_128_128.pp

Overview

Class: crypto_win::ciphers::rc2_128_128



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

class crypto_win::ciphers::rc2_128_128 {

  if $crypto_win::rc2_128_128 {
    $rc2_128_128_enabled = 0xFFFFFFFF
  } else {
    $rc2_128_128_enabled = 0
  }

  registry_key { 'rc2_128_128':
    ensure => present,
    path   => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 128/128',
  }
  registry_value { 'rc2_128_128_enabled':
    ensure  => present,
    path    => 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 128/128\Enabled',
    type    => dword,
    data    => $rc2_128_128_enabled,
    require => Registry_key['rc2_128_128'],
  }

}