puppetlabs/puppetlabs-peadm

PEADM Incompatible with FIPS Image

helloitszak opened this issue · 1 comments

Describe the Bug

PEADM isn't able to install the FIPS Image of PE.

The logic in peadm that determines the version in https://github.com/puppetlabs/puppetlabs-peadm/blob/main/tasks/precheck.sh doesn't account for FIPS

The PE Installer script uses different logic to determine which version is valid and they don't match

Expected Behavior

PEADM accurately detects the host is FIPS and deploys the FIPS image of PE.

Steps to Reproduce

  1. Attempt to install PE on a RHEL 7 FIPS Image
  2. PEADM Downloads the non-FIPS RHEL Image
  3. PE Installer refuses to install a non-FIPS Image on a FIPS system

Environment

  • RHEL 7 FIPS