On Thu, 2009-01-15 at 14:21 -0800, Robin Lee Powell wrote:
> Yes, you have to actually set something that matches the structure
> of the file in question, which varies by file.  Most of the lenses
> have shit for documentation, unfortunately, and this one is no
> exception.

I'd argue there's even less docs than that ;)

> It took several tries to get this; it turns out the augeas lens for
> this file is a bit pickier than it should be: it won't accept:
> 
>     /pub            (ro,insecure,all_squash)

I followed the man page when writing the exports lens, which doesn't
mention anything about omitting the client all together - is that really
legal ? On what systems ?

> Doing this in Puppet is left as an exercise for the reader.  I'll
> go see about getting better docs in Augeas for this thing.

Yes, better docs are sorely needed; if you send patches (or even just
text that you want to see in there), I'll add it to the autogenerated
lens docs[1]

Another way to document at least the expected tree structure would be to
generate that from the lens definition, and spit out something like
Relax-NG .. but would anybody read that ?

David

[1] http://augeas.net/docs/references/lenses/



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to