<div dir="ltr"><br><br><div class="gmail_quote">On Wed, Aug 13, 2008 at 8:41 PM, David Lutterkort <span dir="ltr"><<a href="mailto:dlutter@redhat.com">dlutter@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wed, 2008-08-13 at 18:54 +0200, Raphael Pinson wrote:<br>
> # HG changeset patch<br>
> # User Raphael Pinson <<a href="mailto:raphink@gmail.com">raphink@gmail.com</a>><br>
> # Date 1218646423 -7200<br>
> # Node ID 6f492eaaa453856246c5ffa79ffd1c8e06939261<br>
> # Parent  98e1bdd4af843caab45a32d0120c6c5497260f2d<br>
> Add puppet.aug and associated test<br>
<br>
</div>Nice :) ACK, committed.<br>
<br>
One only slightly related thing about Inifile:<br>
<div class="Ih2E3d"><br>
> --- /dev/null Thu Jan 01 00:00:00 1970 +0000<br>
> +++ b/lenses/tests/test_puppet.aug    Wed Aug 13 18:53:43 2008 +0200<br>
> @@ -0,0 +1,31 @@<br>
> +module Test_puppet =<br>
> +<br>
> +   let conf = "<br>
> +[main]<br>
> +logdir=/var/log/puppet<br>
> +<br>
> +[puppetd]<br>
> +server=<a href="http://misspiggy.network.com" target="_blank">misspiggy.network.com</a><br>
> +"<br>
> +<br>
> +   test Puppet.lns get conf =<br>
> +      {}<br>
> +      { "section" = "main"<br>
> +         { "logdir" = "/var/log/puppet" }<br>
> +         {} }<br>
> +      { "section" = "puppetd"<br>
> +         { "server" = "<a href="http://misspiggy.network.com" target="_blank">misspiggy.network.com</a>" } }<br>
<br>
</div>Wouldn't it be nicer to use the titles of sections as their key instead<br>
of calling everything section ? That would make navigating the tree<br>
easier ... for cases where section names are too horrendous (Php ?) the<br>
way things are right now are preferrable.<br>
</blockquote><div><br><br>That's funny! I thought about that just today when I was making this lens, and then I thought that I would look at it later because of the php.aug mess, and how some other INI Files like dput have unpredictable section titles, too, except for [DEFAULT].<br>
<br>I'll have a look at that, it definitely shouldn't be too hard.<br><br><br><br>Raphael<br></div></div><br></div>