diff options
author | ytti <saku@ytti.fi> | 2016-04-12 20:33:29 +0300 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2016-04-12 20:33:29 +0300 |
commit | 4aad5448801925fd0b26c92f5e69b53751334d6e (patch) | |
tree | 24eb212387234b036a4e92d572b327101ea7be29 | |
parent | 525b1fe5f56b91082172cbbcaba90290118e5590 (diff) | |
parent | 8eecd89aab0546a65ade91929cfe6f7985165180 (diff) |
Merge pull request #390 from danilopopeye/fix-git-groups-docs
fix the docs for groups repositories
-rw-r--r-- | README.md | 20 |
1 files changed, 17 insertions, 3 deletions
@@ -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. |