~jjo/charms/precise/apache2/support-apache24-config-setup

1 by Liam Young
First draft of apache2 charm
1
options:
2
  servername:
3
    type: string
29.2.8 by David Britton
- default servername to $(unit-get public-address)
4
    default: ''
5
    description: ServerName for vhost, defaults to the units public-address
1 by Liam Young
First draft of apache2 charm
6
  vhost_http_template:
7
    type: string
8
    default: ''
19.2.5 by Haw Loeung (hloeung)
[hloeung] Use > to let program displaying to do the wrapping.
9
    description: Apache vhost template (base64 encoded).
1 by Liam Young
First draft of apache2 charm
10
  vhost_https_template:
11
    type: string
12
    default: ''
19.2.5 by Haw Loeung (hloeung)
[hloeung] Use > to let program displaying to do the wrapping.
13
    description: Apache vhost template (base64 encoded).
1 by Liam Young
First draft of apache2 charm
14
  enable_modules:
15
    type: string
16
    default: ''
17
    description: List of modules to enable
18
  disable_modules:
19
    type: string
20
    default: 'status autoindex'
2 by Liam Young
Fixed typo in config.yaml
21
    description: List of modules to disable
34 by David Ames
Add config variable to use 'restart' or 'reload' in the config_changed hook
22
  config_change_command:
23
    type: string
24
    default: "reload"
25
    description: |
26
       The command to run whenever config has changed. Accepted values are
27
       "reload" or "restart" - any other value will mean neither is executed
28
       after a config change (which may be desired, if you're running a
29
       production server and would rather handle these out of band). Note:
30
       some variables like the mpm settings require a restart to go into effect.
15.1.2 by Webops prodstack U1
Added mpm worker tuning config
31
  mpm_type:
32
    type: string
33
    default: 'worker'
34
    description: worker or prefork
1 by Liam Young
First draft of apache2 charm
35
  ssl_keylocation:
36
    type: string
3 by Liam Young
Added config for retrieving ssl chain file
37
    default: ''
29.2.6 by David Britton
- Fixed case of certname handled incorrectly
38
    description: |
39
        Name and location of ssl keyfile in charm/data directory.
40
        If not found, will ignore.  Basename of this file will be used
41
        as the basename of the key rooted at /etc/ssl/private.  Can
42
        be used in conjuntion with the ssl_key parameter to specify
43
        the key as a configuration setting.
1 by Liam Young
First draft of apache2 charm
44
  ssl_certlocation:
45
    type: string
3 by Liam Young
Added config for retrieving ssl chain file
46
    default: ''
29.2.6 by David Britton
- Fixed case of certname handled incorrectly
47
    description: |
48
        Name and location of ssl certificate in charm/data directory.
49
        If not found, will ignore.  Basename of this file will be used
50
        as the basename of the cert rooted at /etc/ssl/certs.  Can
51
        be used in conjunction with the ssl_cert parameter to specify
52
        the cert as a configuration setting.
3 by Liam Young
Added config for retrieving ssl chain file
53
  ssl_chainlocation:
54
    type: string
55
    default: ''
29.2.6 by David Britton
- Fixed case of certname handled incorrectly
56
    description: |
57
        Name and location of the ssl chain file.  Basename of this file
58
        will be used as the basename of the chain file rooted at
59
        /etc/ssl/certs.
15.1.3 by Webops prodstack U1
Added config for configuring lb_balancer_timeout
60
  lb_balancer_timeout:
61
    type: int
62
    default: 60
19.2.5 by Haw Loeung (hloeung)
[hloeung] Use > to let program displaying to do the wrapping.
63
    description: >
15.1.3 by Webops prodstack U1
Added config for configuring lb_balancer_timeout
64
       How long the backends in mod_proxy_balancer will timeout, in seconds
15.1.2 by Webops prodstack U1
Added mpm worker tuning config
65
  mpm_startservers:
66
    type: int
67
    default: 2
68
    description: Add desc
69
  mpm_minsparethreads:
70
    type: int
71
    default: 25
72
    description: Add desc
73
  mpm_maxsparethreads:
74
    type: int
75
    default: 75
76
    description: Add desc
77
  mpm_threadlimit:
78
    type: int
79
    default: 64
80
    description: Add desc
81
  mpm_threadsperchild:
82
    type: int
83
    default: 64
84
    description: Add desc
85
  mpm_serverlimit:
86
    type: int
87
    default: 128
88
    description: Add desc
89
  mpm_maxclients:
90
    type: int
91
    default: 2048
92
    description: Add desc
93
  mpm_maxrequestsperchild:
94
    type: int
95
    default: 0
96
    description: Add desc
15.1.1 by Webops prodstack U1
Added in nrpe config
97
  nagios_context:
98
    default: "juju"
99
    type: string
19.2.5 by Haw Loeung (hloeung)
[hloeung] Use > to let program displaying to do the wrapping.
100
    description: >
15.1.1 by Webops prodstack U1
Added in nrpe config
101
        Used by the nrpe-external-master subordinate charm.
102
        A string that will be prepended to instance name to set the host name
103
        in nagios. So for instance the hostname would be something like:
104
            juju-postgresql-0
105
        If you're running multiple environments with the same services in them
106
        this allows you to differentiate between them.
107
  nagios_check_http_params:
108
     default: ""
109
     type: string
19.2.5 by Haw Loeung (hloeung)
[hloeung] Use > to let program displaying to do the wrapping.
110
     description: The parameters to pass to the nrpe plugin check_http.
19.2.3 by Haw Loeung (hloeung)
[hloeung] Added shipping out custom logrotate config.
111
  logrotate_rotate:
112
    type: string
19.2.5 by Haw Loeung (hloeung)
[hloeung] Use > to let program displaying to do the wrapping.
113
    description: daily, weekly, monthly, or yearly?
19.2.3 by Haw Loeung (hloeung)
[hloeung] Added shipping out custom logrotate config.
114
    default: "daily"
115
  logrotate_count:
116
    type: int
19.2.5 by Haw Loeung (hloeung)
[hloeung] Use > to let program displaying to do the wrapping.
117
    description: The number of days we want to retain logs for
19.2.3 by Haw Loeung (hloeung)
[hloeung] Added shipping out custom logrotate config.
118
    default: 365
119
  logrotate_dateext:
19.2.4 by Haw Loeung (hloeung)
[hloeung] Fixed typo.
120
    type: boolean
19.2.3 by Haw Loeung (hloeung)
[hloeung] Added shipping out custom logrotate config.
121
    description: >
122
      Use daily extension like YYYMMDD instead of simply adding a number
123
    default: True
29.5.8 by Paul Collins
define ensure_package_status and use it in the install and config-changed hooks for service-affecting packages
124
  package_status:
125
    default: "install"
126
    type: "string"
127
    description: >
128
      The status of service-affecting packages will be set to this value in the dpkg database.
129
      Useful valid values are "install" and "hold".
22.1.1 by Haw Loeung (hloeung)
[hloeung] Added incomplete support for logging via syslog.
130
  use_rsyslog:
131
    type: boolean
132
    description: >-
133
      Change logging behaviour to log both access and error logs via rsyslog
134
    default: False
29.2.4 by David Britton
Add self-signed cert generation
135
  ssl_cert:
136
    type: string
137
    description: |
29.2.6 by David Britton
- Fixed case of certname handled incorrectly
138
        base64 encoded server certificate.  If the keyword 'SELFSIGNED'
139
        is used, the certificate and key will be autogenerated as
140
        self-signed.
29.2.5 by David Britton
add default for ssl_cert and ssl_key params
141
    default: ''
29.2.4 by David Britton
Add self-signed cert generation
142
  ssl_key:
143
    type: string
144
    description: |
29.2.6 by David Britton
- Fixed case of certname handled incorrectly
145
        base64 encoded server certificate key.  If ssl_cert is
146
        specified as SELFSIGNED, this will be ignored.
29.2.5 by David Britton
add default for ssl_cert and ssl_key params
147
    default: ''
39.1.2 by Haw Loeung (hloeung)
[hloeung] Added option to provide chain certificates file as a config option.
148
  ssl_chain:
149
    type: string
150
    description: |
151
        base64 encoded chain certificates file.  If ssl_cert is
152
        specified as SELFSIGNED, this will be ignored.
153
    default: ''
32 by David Ames
Added conf.d/security settings
154
  server_tokens:
155
    type: string
156
    description: Security setting. Set to one of  Full  OS  Minimal  Minor  Major  Prod
157
    default: "OS"
158
  server_signature:
159
    type: string
160
    description: Security setting. Set to one of  On  Off  EMail
161
    default: "On"
162
  trace_enabled:
163
    type: string
164
    description: Security setting. Set to one of  On  Off  extended
165
    default: "On"
29.10.1 by Simon Davy
Add support for installed extra packages
166
  extra_packages:
167
    type: string
29.10.3 by Simon Davy
make extra_packages repsect packahe status config
168
    description: List of extra packages to be installed (e.g. commercial GeoIP package)
29.10.1 by Simon Davy
Add support for installed extra packages
169
    default: ""