summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDanilo Sousa <dsgoncalves@uoldiveo.com>2016-04-12 11:07:59 -0300
committerDanilo Sousa <dsgoncalves@uoldiveo.com>2016-04-12 11:07:59 -0300
commit8eecd89aab0546a65ade91929cfe6f7985165180 (patch)
tree24eb212387234b036a4e92d572b327101ea7be29 /README.md
parent525b1fe5f56b91082172cbbcaba90290118e5590 (diff)
fix the docs for groups repositories
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files 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.