Puppet Class: clevis
- Defined in:
- manifests/init.pp
Overview
Class: clevis
Main class that includes all other classes for the clevis module.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'manifests/init.pp', line 12
class clevis (
String $package_ensure = 'present',
Array $package_name = [ 'clevis', 'clevis-dracut', 'clevis-luks', ],
Boolean $service_enable = true,
Enum['running', 'stopped'] $service_ensure = 'running',
String $service_name = 'clevis-luks-askpass.path',
) {
case $::osfamily {
'RedHat': {
contain clevis::install
contain clevis::config
contain clevis::service
Class['clevis::install']
-> Class['clevis::config']
~> Class['clevis::service']
}
default: {
fail("${::osfamily} not supported")
}
}
}
|