t3c support non-yum/rpm systems #6205
Labels
cache-config
Cache config generation
improvement
The functionality exists but it could be improved in some way.
low difficulty
the estimated level of effort to resolve this issue is low
low impact
affects only a small portion of a CDN, and cannot itself break one
This Improvement request (usability, performance, tech debt, etc.) affects these Traffic Control components:
Current behavior:
Currently, t3c uses
rpm
on allapply
runs (even in report mode or with-a
/--service-action
set to none and-k
/--install-packages
not given) to check if ATS is installed. If/bin/rpm
does not exist, this will cause the run to fail. Likewise-k
/--install-packages
will fail if/usr/bin/yum
does not exist.New behavior:
Ideally, t3c would support the most popular package managers (and look in PATH instead of a hard-coded file path):
That would allow it to more easily support more platforms. The system to use could be determined at runtime, or it could be configured on the cache server's Profile, since the format of version strings vary between these systems, and the Parameters are where those version strings are specified. It could also try to convert from a standard format to whatever the system's package management system uses, but that sounds much harder.
The text was updated successfully, but these errors were encountered: