[augeas-devel] [Augeas] #169: exports lens does not handle hostnames with dashes

Augeas trac at fedorahosted.org
Wed Dec 22 09:26:45 UTC 2010


#169: exports lens does not handle hostnames with dashes
--------------------------+-------------------------------------------------
 Reporter:  sash          |       Owner:  lutter
     Type:  defect        |      Status:  new   
 Priority:  major         |   Milestone:  next  
Component:  Augeas        |     Version:  0.7.0 
 Keywords:  exports lens  |  
--------------------------+-------------------------------------------------
 It looks like in the current augeas (v7.4) the "exports" lens fails to
 deal with hostnames containing dashes (e.g. `my-worker-037`). If I look at
 the regular expression used, it seems correct (in
 `/usr/share/augeas/lenses/dist/exports.aug`):
 {{{
 let client_re = /[a-zA-Z0-9\-\.@\*\?\/]+/
 }}}

 so as an newbie in augeas lenses I'm not understanding where the problem
 may come from. Can someone point me at where to look?

 I've extended the `test_exports.aug` in case it helps - see attachments.

 ''note: v7.4 is missing in the version list here in Track''

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/169>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list