Bad base directory for logginf library in source case

The other solution was to define tomcat::home in the source class, but I'm not sure that's a good thing to have tomcat in /opt/apache-tomcat-NNN and the logging library in /var/lib/tomcatN/. And it may not work (case not tested).
This solution isn't that pretty, so 3rd solution welcome. Comment&idea too!