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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
options:
sync-host:
default: archive.ubuntu.com
type: string
description: |
The DNS or IP of the site you want to mirror.
Default is archive.ubuntu.com.
mirror-series:
default: ""
type: string
description: |
A space-separated list of ubuntu series metadata to mirror. An empty
or blank string will mirror everything.
path-base:
default: ubuntu
type: string
description: |
The base URI path of the site you want to mirror. At the moment, this
may only be a single-level base (no directory slashes).
Default is ubuntu.
rsync-module:
default: ubuntu
type: string
description: |
The rsync module to sync from on sync-host, normally the same as
path-base. Default is ubuntu.
display-host:
default: archive.ubuntu.com
type: string
description: |
The hostname displayed in certain contexts, for example Apache
directory listings. This is not required to be exactly the same as
the logical hostname of the deployment (for example,
region.cloud.archive.ubuntu.com can use the default
archive.ubuntu.com), but should be changed if the archive type is
non-default (e.g. ports.ubuntu.com).
update-unit-apt-sources:
default: true
type: boolean
description: |
Whether to configure the units' sources.list to point to upstream
sync-host directly, to avoid chicken/egg problems when bootstrapping
a cloud. Default is true; disable if mirrored distro or archive type
does not match the unit host.
sync-on-start:
default: true
type: boolean
description: |
Pull data from the sync-host during inital charm deployment. This
should be true if deploying a single unit and false if deploying
multiple units to reduce initial startup time.
sync-age-crit:
default: 21600
type: int
description: |
Age (in seconds) of CRITICAL level in Nagios check for cache sync.
sync-age-warn:
default: 10800
type: int
description: |
Age (in seconds) of WARNING level in Nagios check for cache sync.
ephemeral-devices:
default: ''
type: string
description: |
Provide a comma-separated list of storages devices to use for
metadata and squid cache storage. Leave this empty if only
the root disk will be used. the device(s) will be formatted
and mounted during charm installation. This option must be set
at in itial charm deployment. Changes after deployment will not
effect running units, only newly added units. An example would be
'/dev/xvdb,/dev/xvdc' to specify two ephemeral disks for cache
storage.
cache-memory-size:
default: 0
type: int
description: |
Configurable option (in MBytes) to tune/override memory used by
squid cache. If 0 or unset, then auto-calculate.
cache-storage-size:
default: 0
type: int
description: |
Configurable option (in MBytes) to tune/override storage used by
squid cache. If 0 or unset, then auto-calculate.
nagios_context:
default: 'juju'
type: string
description: |
A string that will be prepended to instance name to set the host name
in nagios. So for instance the hostname would be something like:
juju-myservice-0
If you're running multiple environments with the same services in them
this allows you to differentiate between them.
nagios_servicegroups:
default: ""
type: string
description: |
A comma-separated list of nagios servicegroups.
If left empty, the nagios_context will be used as the servicegroup
apache2_server_tokens:
type: string
description: |
Security setting. Set to one of Full OS Minimal Minor Major Prod
default: 'OS'
apache2_server_signature:
type: string
description: Security setting. Set to one of On Off EMail
default: 'On'
apache2_trace_enabled:
type: string
description: Security setting. Set to one of On Off extended
default: 'Off'
apache2_mpm_type:
type: string
default: 'worker'
description: Select the worker or prefork multi-processing module
apache2_mpm_startservers:
type: int
default: 0
description: Initial number of server processes to start (0 means auto calculate)
apache2_mpm_minsparethreads:
type: int
default: 0
description: Minimum number of worker threads which are kept spare (0 means auto calculate)
apache2_mpm_maxsparethreads:
type: int
default: 0
description: Maximum number of worker threads which are kept spare (0 means auto calculate)
apache2_mpm_threadlimit:
type: int
default: 0
description: |
Sets the upper limit on the configurable number of threads per
child process (0 means autocalculate)
apache2_mpm_threadsperchild:
type: int
default: 0
description: Constant number of worker threads in each server process (0 means autocalculate)
apache2_mpm_serverlimit:
type: int
default: 0
description: Upper limit on configurable number of processes (0 means autocalculate)
apache2_mpm_maxrequestworkers:
type: int
default: 0
description: Maximum number of simultaneous client connections (0 means autocalculate)
apache2_mpm_maxconnectionsperchild:
type: int
default: 10000
description: Maximum number of requests a server process serves
logrotate_rotate:
type: string
description: daily, weekly, monthly, or yearly?
default: "daily"
logrotate_count:
type: int
description: The number of days we want to retain logs for
default: 21
logrotate_dateext:
type: boolean
description: >
Use daily extension like YYYMMDD instead of simply adding a number
default: True
squid_snmp:
type: boolean
description: >
Enable SNMP for Squid (bound on localhost:3401, community "public")
default: False
remoteip_logging:
type: boolean
description: |
Enables configuration that treats incoming connections to Apache from
RFC1918 addresses as proxy connections and logs the contents of the
X-Forwarded-For header (if any) to the Apache logs.
default: False
|