Now, when I want to create similar programmatically using augtool I run into this:
augtool> set tmp/test2.min/file
error: Failed to execute command
saving failed (run 'errors' for details)
Error in /tmp/test2.min:1.0 (parse_skel_failed)
Input string does not match at all
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.