Skip to content

Issue with installing cryptsetup on RHEL7 #10

@adam-ah

Description

@adam-ah

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions