saltstack/salt — pull request #2821 by tristanhands (2012-12-06 20:49:37+00:00)
Title: Modified the tomcat.py module's search for CATALINA_HOME

The search for the install location of tomcat was written to statically look in /usr/share/ and /opt/ however it is set to statically look for tomcat6. This was already problematic on my system were we are running tomcat7. I changed the search from is.directory to glob which allows the use of wild-cards. I then check for tomcat* rather than tomcat6.