Permalink
Browse files

Added possibility to customize port for tomcat

  • Loading branch information...
gabrielbull committed May 13, 2014
1 parent 2cab161 commit a20820fff7c5906d8168eef131308ba42c88b86f
Showing with 6 additions and 2 deletions.
  1. +5 −1 manifests/init.pp
  2. +1 −1 templates/server.xml.erb
View
@@ -98,10 +98,14 @@
# Manage service
$service_manage = true,
$service_ensure = running,
-
+
+ # Tomcat
+ $tomcatPort = 8080,
+
# Tomcat Tunables
$tomcatMaxThreads = '150',
$tomcatAcceptCount = '100',
+
# Reverse https proxy
$proxy = {},
View
@@ -46,7 +46,7 @@
-->
<Service name="Catalina">
- <Connector port="8080"
+ <Connector port="<%= scope.lookupvar('jira::tomcatPort') %>"
maxThreads="<%= scope.lookupvar('jira::tomcatMaxThreads') %>"
minSpareThreads="25"

0 comments on commit a20820f

Please sign in to comment.