summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDanilo Sousa <dsgoncalves@uoldiveo.com>2016-02-22 14:16:29 -0300
committerDanilo Sousa <dsgoncalves@uoldiveo.com>2016-02-22 14:16:29 -0300
commit69210c7ddf7d77cc9eb7b78f0bc00ad2f1475955 (patch)
tree4872e339aacfe6aa75bad26718dc3489b6cacfe9 /README.md
parentc098f57f5dfc4588673ac62083611736c8a75136 (diff)
follow the hook remotes config also for groups repositories
ref.: https://github.com/ytti/oxidized/pull/326/files#r53557892
Diffstat (limited to 'README.md')
-rw-r--r--README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3c1a41e..1dcc426 100644
--- a/README.md
+++ b/README.md
@@ -354,13 +354,40 @@ output:
This uses the rugged/libgit2 interface. So you should remember that normal Git hooks will not be executed.
+
+For a single repositories for all devices:
+
+``` yaml
+output:
+ default: git
+ git:
+ user: Oxidized
+ email: o@example.com
+ repo: "/var/lib/oxidized/devices.git"
```
+
+And for groups repositories:
+
+``` yaml
output:
default: git
git:
user: Oxidized
email: o@example.com
+ repo:
+ first: "/var/lib/oxidized/first.git"
+ second: "/var/lib/oxidized/second.git"
+```
+
+If you would like to use groups and a single repository, you can force this with the `single_repo` config.
+
+``` yaml
+output:
+ default: git
+ git:
+ single_repo: true
repo: "/var/lib/oxidized/devices.git"
+
```
### Output types