On Thu, 2009-01-15 at 14:10 -0800, windowsrefund wrote: > Bryan, > > Thanks so much for the pointer. I think I'm on the right track now but > could use a hand understanding why I'm getting this error when > attempting to write out to disk > > augtool> print /files/etc/exports/ > /files/etc/exports > /files/etc/exports/dir = "/foo" > /files/etc/exports/dir/client = "foo.example.com" > /files/etc/exports/dir/option = "rw" > augtool> save > /usr/share/augeas/lenses/exports.aug:17.16-19.58:Short split for > concat > Saving failed
What version of Augeas are you using ? Or did you edit the output ? augtool shouldn't print the error on the console, but stick it into /augeas/files/etc/exports/error; with augeas-0.3.5 and the example above, I get augtool> rm /files/etc/exports/* rm : /files/etc/exports/* 18 augtool> set /files/etc/exports/dir /foo augtool> set /files/etc/exports/dir/client foo.example.com augtool> set /files/etc/exports/dir/option rw augtool> save Saving failed augtool> print /augeas/files/etc/exports/error /augeas/files/etc/exports/error = "put_failed" /augeas/files/etc/exports/error/path = "/files/etc/exports/dir" /augeas/files/etc/exports/error/message = "Failed to match /(())(())(())(client/)(((())(client/))*)(())/ with client/option/" which (minus all the redundant () in the regexp) is almost readable ;) David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---