From 8eecd89aab0546a65ade91929cfe6f7985165180 Mon Sep 17 00:00:00 2001 From: Danilo Sousa Date: Tue, 12 Apr 2016 11:07:59 -0300 Subject: fix the docs for groups repositories --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7dc8514..b08f03f 100644 --- a/README.md +++ b/README.md @@ -403,9 +403,23 @@ output: git: user: Oxidized email: o@example.com - repo: - first: "/var/lib/oxidized/first.git" - second: "/var/lib/oxidized/second.git" + repo: "/var/lib/oxidized/git-repos/default.git" +``` + +Oxidized will create a repository for each group in the same directory as the `default.git`. For +example: + +``` csv +host1:ios:first +host2:nxos:second +``` + +This will generate the following repositories: + +``` bash +$ ls /var/lib/oxidized/git-repos + +default.git first.git second.git ``` If you would like to use groups and a single repository, you can force this with the `single_repo` config. -- cgit v1.2.1