Description of problem: save_to_file does cat <<EOF >$file $content EOF but if `$content` contains a heredoc terminated with `EOF`, it terminates the heredoc that save_to_file creates. Version-Release number of selected component (if applicable): Satellite 6.12 snap 11 How reproducible: always Additional info: First found upstream by aruzicka
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35530 has been resolved.
Based upon discussion with QE and Eng (Adam), this bugzilla is needed in order to support the solution for bug 2127934. For this reason, we are aligning it to 6.12.
Verified on Sat 6.12 snap 14 using satqe automation.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.12 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:8506