1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00
Files
github-octodns/tests/config/simple-split.yaml
Christian Funkhouser 98dacd2dde Add proper tests for SplitYamlProvider
The SplitYamlProvider itself now requires a directory matching the
zone name under its directory to contain all YAML files. This doesn't
actually change the intended usage at all, just how the configuration
file is laid out.

Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
2019-04-08 13:59:45 -04:00

38 lines
781 B
YAML

manager:
max_workers: 2
providers:
in:
class: octodns.provider.yaml.SplitYamlProvider
directory: tests/config/split
dump:
class: octodns.provider.yaml.SplitYamlProvider
directory: env/YAML_TMP_DIR
# This is sort of ugly, but it shouldn't hurt anything. It'll just write out
# the target file twice where it and dump are both used
dump2:
class: octodns.provider.yaml.SplitYamlProvider
directory: env/YAML_TMP_DIR
simple:
class: helpers.SimpleProvider
geo:
class: helpers.GeoProvider
nosshfp:
class: helpers.NoSshFpProvider
zones:
unit.tests.:
sources:
- in
targets:
- dump
subzone.unit.tests.:
sources:
- in
targets:
- dump
- dump2
empty.:
sources:
- in
targets:
- dump