~charmers/charms/precise/mongodb/trunk

« back to all changes in this revision

Viewing changes to config.yaml

  • Committer: Juan L. Negron
  • Date: 2013-12-11 22:03:08 UTC
  • mfrom: (35.1.5 logrotate)
  • Revision ID: juan.negron@canonical.com-20131211220308-udz0nxuimm66ds99
Merging bac's changes MP:198633

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
    default: True
12
12
    type: boolean
13
13
    description: Append log entries to existing log file
 
14
  logrotate-frequency:
 
15
    default: daily
 
16
    type: string
 
17
    description: How often should the logs be rotated.  Use values from logrotate.
 
18
  logrotate-rotate:
 
19
    default: 5
 
20
    type: int
 
21
    description: Number of log files to keep.
 
22
  logrotate-maxsize:
 
23
    default: 500M
 
24
    type: string
 
25
    description: Maximum log size before rotating.
14
26
  bind_ip:
15
27
    default: "all"
16
28
    type: string
154
166
  backup_copies_kept:
155
167
    default: 7
156
168
    type: int
157
 
    description: Number of backups to keep. Keeps one week's worth by default.
 
169
    description: "Number of backups to keep. Keeps one week's worth by default."
158
170
  #------------------------------------------------------------------------
159
171
  # Volume management
160
172
  #   volume-map, volume-dev_regexp are only used 
177
189
    description: >
178
190
      YAML map as e.g. "{ mongodb/0: vol-0000010, mongodb/1: vol-0000016 }".
179
191
      Service units will raise a "configure-error" condition if no volume-map
180
 
      value is set for it - it's expected a human to set it properly to resolve it.
 
192
      value is set for it - it expects a human to set it properly to resolve it.
181
193
  volume-dev-regexp:
182
194
    type: string
183
195
    default: "/dev/vd[b-z]"