forked from saltstack-formulas/tomcat-formula
/
pillar.example
34 lines (34 loc) · 1.01 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
tomcat:
version: 7
security: 'no'
sites:
example.com: # must be unique; used as an ID declaration in Salt; also passed to the template context as {{ id }}
appBase: ../webapps/myapp
path: ''
docBase: '/var/lib/tomcat7/webapps/myapp'
alias: {{ id }}
unpackWARs: "true"
autoDeploy: "true"
reloadable: "true"
debug: 0
example.net:
appBase: ../webapps/myapp2
path: ''
docBase: '/var/lib/tomcat7/webapps/myapp2'
alias: {{ id }}
unpackWARs: "true"
autoDeploy: "true"
reloadable: "true"
debug: 0
java:
home: '/usr/lib/jvm/java-7-oracle'
Xmx: 3G # TODO: Need to do a calculation based on the available memory on the machine.
MaxPermSize: 256m
UseConcMarkSweepGC: '-XX:+UseConcMarkSweepGC'
CMSIncrementalMode: '-XX:+CMSIncrementalMode'
limit:
soft: 64000
hard: 64000
tomcat-manager:
user: saltuser
passwd: RfgpE2iQwD