Comment 4 for bug 1796830

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

The problem is in charm-helpers, specifically in charmhelpers.contrib.charmsupport.nrpe.copy_nrpe_checks(). It assumes that the charmhelpers directory will always be in hooks, which (probably) was a good assumption until the PY3 work makes it very hard in some charms to not root the python path in the charmdir.

The solution is to change copy_nrpe_checks so that it works out where the files are and copies them.