Description of problem: Every time do an import of the templates, it adds a newline to certain scripts.
Version-Release number of selected component (if applicable):
Configure Template sync in the satellite. Then configure GitHub link.
Export templates. Made some changes in templates. Export templates in satellite.
Now every next import and export add in new line in template.
Steps to Reproduce:
Actual results: New line getting added in templates.
Expected results: New lines should be added in templates.
I could not reproduce with 6.4, it seems like this issue could be fixed as a part of previous changes targeted for 6.4. Could QE verify if this is still present on 6.4?
This seems to happen only for specific template. The subject is misleading, this actually happens on export and only if template has "shebang", e.g. the bootdisk template.
it's a oneliner fix in foreman core. It would be reproducible via export/import API too
Created redmine issue https://projects.theforeman.org/issues/24672 from this bug
Upstream bug assigned to email@example.com
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.