forked from saltstack-formulas/tomcat-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pillar.example
53 lines (53 loc) · 1.54 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
tomcat:
version: 7
security: 'no'
connector:
port: 8443
protocol: 'org.apache.coyote.http11.Http11Protocol'
connectionTimeout: 20000
URIEncoding: 'UTF-8'
redirectPort: 8443
maxHttpHeaderSize: 8192
maxThreads: 150
minSpareThreads: 25
enableLookups: 'false'
disableUploadTimeout: 'true'
acceptCount: 100
scheme: https
secure: 'true'
SSLEnabled: 'true'
clientAuth: 'false'
sslProtocol: TLS
keystoreFile: '/path/to/keystoreFile'
keystorePass: 'somerandomtext'
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
manager:
user: saltuser
passwd: RfgpE2iQwD
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