[augeas-devel] should augeas fail on invalid nodes ?
Marc Fournier
marc.fournier at camptocamp.com
Thu Sep 23 14:15:43 UTC 2010
Hello,
Investigating #138, I noticed that when getting an invalid node, augeas
returns no error:
$ echo "get /files/foo/bar" | augtool
/files/foo/bar (o)
$ echo $?
0
It does fail when setting an invalid node though.
This is an issue when using puppet, because puppet believes that the
node already has the correct value. So it won't fail and won't set the
correct value neither.
But maybe this problem should be fixed on the puppet side ?
Cheers,
Marc
More information about the augeas-devel
mailing list