Hi, Currently a Match block can only be ended by another Match block or an end of file. I'd like to suggest adding the keyword "EndMatch" to mark the end of a Match block. This would make tools which modify configuration files not have to worry about the location of a variable being before a Match line. This would also make for much cleaner descriptions of configuration used by tools, such as Augeas called by Puppet. -- Biltong biltong at fastmail.fm -- http://www.fastmail.fm - Same, same, but different...
On Thu, Sep 13, 2012 at 04:56:19PM +0200, Biltong wrote:> Currently a Match block can only be ended by another Match block or an > end of file. > > I'd like to suggest adding the keyword "EndMatch" to mark the end of a > Match block.Rather than adding a new keyword, it would probably be doable by extending Match to understand "Match all", which should have the semantics you want. You could end up with some configs that were pretty hard to understand, though. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Possibly Parallel Threads
- enabling a yum repository
- RFE to extend "LISTEN" directive to support host-colon-port (as single token)
- RFE to extend "LISTEN" directive to support host-colon-port (as single token)
- [PATCH] RFE: Inspection should support systemd mount units
- RFE to extend "LISTEN" directive to support host-colon-port (as single token)