Actions
Issue #9139
closedpulp_installer fails when symlinking webserver snippets
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 101
Quarter:
Description
This appears to be because our check_snippet.py script sometimes produces the following output: "stdout_lines": ["/home/vagrant/devel/pulp_python/pulp_python/app/webserver_snippets/nginx.conf", "\u001b[0m"]
The 2nd line appears to be a color code: https://gist.github.com/mgumiero9/665ab5f0e5e7e46cb049c1544a00e29f
It does not happen all the time, I think it is system-configuration dependent (environment variables for colored output?)
Actions
Fix pulp_installer failing to symlink snippets
By operating on the 1st line of output from check_snippet.py, rather than the last.
fixes: #9139