Page MenuHomeDevCentral

Deploy nasqueron-reports
ClosedPublic

Authored by dereckson on Sep 13 2025, 15:18.
Tags
None
Referenced Files
F27203985: D3669.id9570.diff
Fri, May 1, 00:43
Unknown Object (File)
Wed, Apr 29, 18:45
Unknown Object (File)
Fri, Apr 24, 18:28
Unknown Object (File)
Wed, Apr 22, 07:18
Unknown Object (File)
Tue, Apr 21, 17:51
Unknown Object (File)
Sun, Apr 19, 13:48
Unknown Object (File)
Sat, Apr 18, 07:26
Unknown Object (File)
Fri, Apr 17, 22:02
Subscribers
None

Details

Summary

Ref T2124

Test Plan

Deployed on WindRiver, generated report

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Actually, if we use pip to install the package globally for all users, it will take care creating /usr/local/bin/<utilities> following this entry in setup.cfg:

scripts =
    bin/run-report
    bin/sql-result-to-mediawiki-table

Also, /opt/nasqueron-reports/dist/.package-installed is tricky if we remove the package to reinstall it but forget to remove this file.

Improve package installation and detection. A module is required with cumbersome Python invoke and discovery logic, because Salt can internally report about /opt/saltstack Python installation on Linux OSes, not about the global system default interpreter.

This revision is now accepted and ready to land.Oct 6 2025, 05:53
This revision was automatically updated to reflect the committed changes.