camptocamp/puppet-tomcat — pull request #13 by ckaenzig (2012-01-13 17:00:31+00:00)
Title: tomcat: tomcat.init.erb - remove sourcing of setenv.sh

setenv.sh is already sourced by catalina.sh which is used by the init script,
which caused it to be sourced twice. This is a problem when variables are only
appended to.

I tested it on a Debian server were tomcat is installed by packages and a RedHat server where it's installed from source. I hope there's no corner cases which would break with this.