[augeas-devel] cgconfig.conf augeas lenses and its test file

Ivana Hutarova Varekova varekova at redhat.com
Wed Feb 10 11:18:33 UTC 2010


On 02/09/2010 09:03 PM, David Lutterkort wrote:
> Hi Ivana,
>
> On Tue, 2010-02-09 at 10:13 +0100, Ivana Hutarova Varekova wrote:
>    
>> I agree again - good idea.
>> Do you prefer to get a patch for this two issues from me, or do you
>> preffer to create it yourself?
>>      
> Here's the patch with those changes. The one thing to be careful about
> is that there are now a few things that become the labels of tree nodes
> (e.g. the name of a controller) - that only works if those strings do
> not contain '/'. One place where I thought that _might_ happen is in
> variable_setting. That's why I translate 'uvw = xyz' into
>
>    { "variable" = "uvw" { "value" = "xyz" } }
>
> instead of just { "uvw" = "xyz" }.
>
> With all that, the patch with those changes is attached. Let me know if
> it's ok, and I will commit it.
>
> David
>
>
>    
Hello,
it should not be problem for variable_name, value pairs too. Both -  
controller names and variable names - can't contain '/' sign (they could 
be mounted to the file structure). So the format { "uvw" = "xyz" } is ok 
for variables too.
Ivana




More information about the augeas-devel mailing list