]> git.openstreetmap.org Git - chef.git/blob - cookbooks/oxidized/templates/default/config.erb
25dee602221c72dbdcc149dbe1fc1bb58a948d76
[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   auth_methods: [ "password" ]
7 pid: "/run/oxidized/oxidized.pid"
8 input:
9   default: ssh
10 output:
11   default: git
12   git:
13     single_repo: true
14     user: oxidized
15     email: oxidized@openstreetmap.org
16     repo: "/var/lib/oxidized/configs.git"
17 hooks:
18   push_to_remote:
19     type: githubrepo
20     events: [post_store]
21     remote_repo: git@github.com:openstreetmap/oxidized-configs.git
22     privatekey: /opt/oxidized/.ssh/id_rsa
23 source:
24   default: csv
25   csv:
26     file: "/etc/oxidized/routers.db"
27     delimiter: !ruby/regexp /:/
28     map:
29       name: 0
30       model: 1
31       input: 2
32       username: 3
33       password: 4
34 model_map:
35   juniper: junos
36   apc: apc_aos
37   ciscocmb: ciscosmb