[augeas-devel] Re: Prefix for IniFile entries

Raphaël Pinson raphink at gmail.com
Wed Aug 27 09:54:19 UTC 2008


On Wed, Aug 27, 2008 at 11:30 AM, Free Ekanayaka <free at 64studio.com> wrote:

> Hi Raphaël,
>
> |--==> On Wed, 27 Aug 2008 10:57:15 +0200, "Raphaël Pinson" <
> raphink at gmail.com> said:
>
>  >>
>  >>I've run the puppet dput and php tests, and it turns out that
>  >>prepending Util.ident does not seem to break any of the. So I wonder
>  >>if it would be possible to include this change in inifile.aug.
>  >>
>
>   RP> Yes, it doesn't break anything, but it doesn't typecheck either. That
> said,
>  RP> Util.indent defaults to "", which means that it's impossible to add an
>  RP> explicit indentation from augeas, and manual indentation in the
> conffile
>  RP> should not have been added unless it's supported by the format.
>
>  RP> If it was added to inifile.aug, it would have to be added to all kinds
> of
>  RP> entries though.
>
> I'm not sure to understand this last sentence. Do you mean that adding
> indentation to inifile.aug would allow indentation in files like /etc/
> dput.cf,
> where it shouldn't be actually allowed according to its reference syntax?
>


No, I mean that indentation would have to be added to entries, comments, and
records.


Raphaël
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20080827/4a2df2f0/attachment.htm>


More information about the augeas-devel mailing list