[augeas-devel] [Augeas] #167: Lens for managing Gentoo's /etc/modules.autoload.d/kernel* files

Augeas trac at fedorahosted.org
Fri Jan 7 23:42:26 UTC 2011


#167: Lens for managing Gentoo's /etc/modules.autoload.d/kernel* files
--------------------------+-------------------------------------------------
  Reporter:  silfreed     |       Owner:  lutter  
      Type:  enhancement  |      Status:  assigned
  Priority:  minor        |   Milestone:  next    
 Component:  Augeas       |     Version:  0.7.0   
Resolution:               |    Keywords:          
--------------------------+-------------------------------------------------
Changes (by lutter):

  * status:  new => assigned

Comment:

 When I run the tests, I get the following error:

 {{{
 lenses/tests/test_modulesautoload.aug:72.2-74.32:exception thrown in test
 lenses/tests/test_modulesautoload.aug:72.7-73.28:exception: Value '' does
 not match regexp /[^ \t\n#:]+/ in store lens
     Lens: /homes/lutter/code/augeas/lenses/modulesautoload.aug:18.32-.45:
     Error encountered at path /ip_gre/option2

 }}}

 Should an empty string be allowed here or should the value of the node be
 NULL ? IOW, should the test use 'clear "/ip_gre/option2"' instead of 'set
 "/ip_gre/option2" ""' ?


 Also, the lens should say in a comment that it is for Gentoo

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/167#comment:2>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list