[augeas-devel] [Augeas] #195: squid.conf breaks with certain options

Augeas trac at fedorahosted.org
Sat Oct 1 14:25:32 UTC 2011


#195: squid.conf breaks with certain options
------------------------+---------------------------------------------------
  Reporter:  caioromao  |       Owner:  fgiraldeau
      Type:  defect     |      Status:  assigned  
  Priority:  major      |   Milestone:  next      
 Component:  Augeas     |     Version:  devel     
Resolution:             |    Keywords:  squid     
------------------------+---------------------------------------------------
Comment (by fgiraldeau):

 In fact, "no_cache" is synonymous to "cache" (!) since version 2.6 of
 squid.

 http://www.squid-cache.org/Doc/config/cache/

 If the no_cache directive is added to SPACEVARS SETTINGS list of entry_re,
 then the result it not optimal in my point of view:

 {{{
   { "no_cache" = "allow goodserver" }
   { "cache" = "deny badserver" }
 }}}

 It would be best to split this further:

 {{{
   { "no_cache"
         { "allow" = "goodserver" } }
   { "cache"
         { "deny" = "badserver" } }
 }}}

 But I fear to introduce backward incompatible changes. What is best to do?

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




More information about the augeas-devel mailing list