suppose I have the following lens:
module Minimal =
and the following file
$ cat /tmp/test.min
which parses with no problems:
Now, when I want to create similar programmatically using augtool I run into this:
When I was trying to create empty (or almost empty) file like this one using the lenses distributed with Augeas (the one for /etc/hosts for example) I ran to no such problems so I suppose I am doing something wrong.
Also note that this is a minimal example of a problem I ran into while trying to generate files using much bigger lens we use (which can be found here https://gitlab.labs.nic.cz/knot/deckard/blob/master/pydnstest/deckard.aug).
Any kind of help would be much appreciated.