sys::Luks would want to install cryptsetup-luks:
class sys::luks::params {
case $::osfamily {
debian: {
$package = 'cryptsetup'
}
redhat: {
$package = 'cryptsetup-luks'
}
default: {
fail("Do not know how to install LUKS on ${::osfamily}.\n")
}
}
}
It works for RHEL6 but for RHEL7 it should be "cryptsetup" instead of "cryptsetup-luks" because puppet doesn't do "yum install cryptsetup-luks" which redirects to "cryptsetup" but does a list first (/bin/yum -d 0 -e 0 -y list cryptsetup-luks) which does not redirect just fails as there is no package called "cryptsetup-luks" any more.
sys::Luks would want to install cryptsetup-luks:
It works for RHEL6 but for RHEL7 it should be "cryptsetup" instead of "cryptsetup-luks" because puppet doesn't do "yum install cryptsetup-luks" which redirects to "cryptsetup" but does a list first (/bin/yum -d 0 -e 0 -y list cryptsetup-luks) which does not redirect just fails as there is no package called "cryptsetup-luks" any more.