]> git.openstreetmap.org Git - chef.git/blob - cookbooks/oxidized/templates/default/config.erb
Run a monthly reindex of the smaller database tables
[chef.git] / cookbooks / oxidized / templates / default / config.erb
1 ---
2 # DO NOT EDIT - This file is being maintained by Chef
3 rest: false
4 timeout: 60
5 vars:
6   remove_secret: true
7 pid: "/run/oxidized/oxidized.pid"
8 crash:
9   directory: /var/lib/oxidized/crashes
10 input:
11   default: ssh
12 output:
13   default: git
14   git:
15     single_repo: true
16     user: oxidized
17     email: oxidized@openstreetmap.org
18     repo: "/var/lib/oxidized/configs.git"
19 hooks:
20   push_to_remote:
21     type: githubrepo
22     events: [post_store]
23     remote_repo: git@github.com:openstreetmap/oxidized-configs.git
24     privatekey: /opt/oxidized/.ssh/id_ed25519
25 source:
26   default: csv
27   csv:
28     file: "/etc/oxidized/routers.db"
29     delimiter: !ruby/regexp /:/
30     map:
31       name: 0
32       model: 1
33       input: 2
34       username: 3
35       password: 4
36 model_map:
37   juniper: junos
38   apc: apc_aos
39   ciscocmb: ciscosmb