Small puppet issue, puppet appends a line every time it runs. Need that fixed.
file_line {
"java_opts":
path =>
"/opt/apache-tomcat/bin/[login to view URL]"
line => file("template/JAVA_OPTS"),
match
=>
"A#JAVA OPTS="
replace
=>
true,
}
the JAVA_OPTS is like this:
JAVA_OPTS="-Xms2048M -Xmx2048M -d64 -XX:NewRatio=3 -XX:PermSize=256M -XX:MaxPermSize=256M