Options out-of-phase or not supported
Hi,
Thanks for FrogFS.
The example configuration file doesn't work any longer, at least when I build it (on Debian 12.9). If I give it:
filter:
'*':
- compress zlib
level: 9
The yaml parser complains that mapping values aren't allowed there. If I take away the colon after "level", it works. Or at least doesn't complain.
Thanks
Bruce
Also, it's important to note in the docs that collect directories should be entered with a trailing slash, or their name will become part of the pathname in the compiled filesystem.
The example configuration file doesn't work any longer, at least when I build it (on Debian 12.9). If I give it: --- snipped --- The yaml parser complains that mapping values aren't allowed there. If I take away the colon after "level", it works. Or at least doesn't complain.
Try indenting level 2 more spaces. YAML is very particular about indentation. I believe without the extra two spaces, it doesn't create a dictionary.
Also, it's important to note in the docs that collect directories should be entered with a trailing slash, or their name will become part of the pathname in the compiled filesystem.
Good catch. Do you have time to make a PR on this?
Done. https://github.com/jkent/frogfs/issues/66
I confirmed that this was a YAML syntax issue.
The correct syntax is:
filter:
'*':
- compress zlib:
level: 9
Notice the colon, and the indentation.
Sorry I did not get around to this sooner.