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