counsyl / counsyl/puppet-sys

Issue with installing cryptsetup on RHEL7

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Puppet
Stars
11
Forks
22
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.