summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-04-12 20:33:29 +0300
committerytti <saku@ytti.fi>2016-04-12 20:33:29 +0300
commit4aad5448801925fd0b26c92f5e69b53751334d6e (patch)
tree24eb212387234b036a4e92d572b327101ea7be29
parent525b1fe5f56b91082172cbbcaba90290118e5590 (diff)
parent8eecd89aab0546a65ade91929cfe6f7985165180 (diff)
Merge pull request #390 from danilopopeye/fix-git-groups-docs
fix the docs for groups repositories
-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.