Actions
Issue #6956
closedpulp_installer doesn't install webserver snippets when pulp_install_dir is changed
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
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 75
Quarter:
Description
Looking at the code, pulp_installer not detect webserver snippets when pulp_install_dir is changed from the default /usr/local/lib/pulp/ to any other value. This is because the script to find the snippets is called with /usr/local/lib/pulp/bin/python hardcoded.
The task will not fail either, it misbehaves, because failed_when: false
Actions
Problem: pulp_installer doesn't install webserver snippets
when pulp_install_dir is changed
Solution: Use pulp_install_dir rather than hardcode the path.
Also fail the task if the python intepreter is not found.
fixes: #6956