~robert-ayres/charms/precise/tomcat/trunk

« back to all changes in this revision

Viewing changes to config.yaml

  • Committer: Robert Ayres
  • Date: 2012-06-19 16:33:01 UTC
  • Revision ID: robert.ayres@canonical.com-20120619163301-b93pltpw5ukbdcg3
*Refactored tomcat charm based on 'tomcat6' and 'tomcat7' charms
*Connectors configuration
*JMX
*HTTPS support
*Datasources
*JNDI resources

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
options:
 
2
  # Tomcat configuration
 
3
  tomcat_version:
 
4
    type: string
 
5
    default: tomcat7
 
6
    description: "The version of Tomcat to deploy ('tomcat6' or 'tomcat7')"
 
7
  http_port:
 
8
    type: int
 
9
    default: 8080
 
10
    description: HTTP port
 
11
  http_connector:
 
12
    type: string
 
13
    default: bio
 
14
    description: "HTTP connector type ('bio' or 'nio')"
 
15
  https_enabled:
 
16
    type: boolean
 
17
    default: False
 
18
    description: Enable HTTPS connector
 
19
  https_port:
 
20
    type: int
 
21
    default: 8443
 
22
    description: HTTPS port
 
23
  keystore:
 
24
    type: string
 
25
    description: PKCS12 keystore containing private key and X.509 certificate (base64 encoded)
 
26
  keystore_password:
 
27
    type: string
 
28
    description: Keystore password
 
29
  # Manager
 
30
  manager_enabled:
 
31
    type: boolean
 
32
    default: True
 
33
    description: Enable management applications
 
34
  admin_username:
 
35
    type: string
 
36
    default: admin
 
37
    description: Admin username
 
38
  admin_password:
 
39
    type: string
 
40
    description: Admin password
 
41
  status_username:
 
42
    type: string
 
43
    default: status
 
44
    description: Status username
 
45
  status_password:
 
46
    type: string
 
47
    description: Status password
 
48
  # Java options
 
49
  java_opts:
 
50
    type: string
 
51
    default: -Xms768M -Xmx1024M
 
52
    description: Java options for JVM
 
53
  debug_enabled:
 
54
    type: boolean
 
55
    default: False
 
56
    description: Enable JDWP debugger on port 8000 for remote debugging
 
57
  # JMX
 
58
  jmx_enabled:
 
59
    type: boolean
 
60
    default: False
 
61
    description: Enable JMX monitoring
 
62
  jmx_localhost:
 
63
    type: boolean
 
64
    default: True
 
65
    description: Use localhost over LAN hostname in connections.  Useful for SSH tunnels.
 
66
  jmx_control_password:
 
67
    type: string
 
68
    description: JMX control password
 
69
  jmx_monitor_password:
 
70
    type: string
 
71
    description: JMX monitor password
 
72
  jmx_jar_url:
 
73
    type: string
 
74
    default: http://archive.apache.org/dist/tomcat/tomcat-7/v7.0.26/bin/extras/catalina-jmx-remote.jar
 
75
    description: Catalina JMX JAR distribution URL (only required if using Tomcat 7+)
 
76
  jmx_jar_md5:
 
77
    type: string
 
78
    default: 82763603dc177d9aabd17d39cef7dcbb
 
79
    description: Catalina JMX JAR MD5 distribution hash (only required if using Tomcat 7+)
 
80
  # JNDI resources
 
81
  jndi_db_config:
 
82
    type: string
 
83
    description: JNDI database relation configuration
 
84
  jndi_memcached_config:
 
85
    type: string
 
86
    description: JNDI Memcached relation configuration
 
87
  jndi_terracotta_config:
 
88
    type: string
 
89
    description: JNDI Terracotta relation configuration
 
90
  # Session clustering
 
91
  cluster_enabled:
 
92
    type: boolean
 
93
    default: False
 
94
    description: Enable session clustering
 
95
  multicast:
 
96
    type: boolean
 
97
    default: False
 
98
    description: Use multicast networking for clustering
 
99
  multicast_address:
 
100
    type: string
 
101
    default: 228.0.0.4
 
102
    description: Multicast network address for clustering
 
103
  multicast_port:
 
104
    type: int
 
105
    default: 34569
 
106
    description: Multicast network port for clustering
 
107
  # Terracotta
 
108
  terracotta_url:
 
109
    type: string
 
110
    default: http://d2zwv9pap9ylyd.cloudfront.net/terracotta-3.6.2.tar.gz
 
111
    description: Terracotta distribution URL
 
112
  terracotta_md5:
 
113
    type: string
 
114
    default: 92c6456f1641b7662b4dedec15eaf3f4
 
115
    description: Terracotta MD5 distribution hash