crypto_policies
: Manage system-wide crypto policiescrypto_policies::config
: Manage the crypto-policies configuration
crypto_policies::install
: Manage crypto-policies installation
This class manages the system-wide crypto policies on the Red Hat operating system family. This will configure policies for which cryptographic algorithms to use in various parts of the operating system. See man:crypto-policies(7) for more information.
include crypto_policies
class { 'crypto_policies':
policy => 'DEFAULT:NO-SHA1',
}
The following parameters are available in the crypto_policies
class:
Data type: Crypto_policies::Policy
Which system crypto policy to use
Default value: 'DEFAULT'
Data type: Stdlib::Absolutepath
Which configuration file to manage
Default value: '/etc/crypto-policies/config'
Data type: Array[String]
Packages required for crypto-policies
Default value: ['crypto-policies']
Manage /etc/crypto-policies/config, and run update-crypto-policies if it changes
include crypto_policies::config
The following parameters are available in the crypto_policies::config
class:
Data type: Stdlib::Absolutepath
Default value: '/etc/crypto-policies/config'
Data type: Crypto_policies::Policy
Default value: 'DEFAULT'
The Crypto_policies::Policy data type.
Alias of
Pattern[/(?x:
\A
[A-Z0-9_-]+ # Policy name
(:[A-Z0-9_-]+)* # Zero or more policy modules, colon separated
\z
)/]