#319: Lens for nginx --------------------+--------------------- Reporter: lutter | Owner: lutter Type: defect | Status: new Priority: major | Milestone: next Component: Augeas | Version: 0.8.0 Keywords: | Blocked By: Blocking: | --------------------+--------------------- Ian Berry wrote the attached lens and test for nginx. Unfortunately, it fails augparse:
{{{ > augparse -I lenses/ lenses/tests/test_nginx.aug lenses/tests/test_nginx.aug:47.4-87.48:exception thrown in test lenses/tests/test_nginx.aug:47.9-.27:exception: Iterated lens matched less than it should Lens: lenses/nginx.aug:236.24-238.38: Error encountered at 13:0 (167 characters into string) <;\n}\n\n# comment1\n# comment2\n\n|=|http {\n\t# comment3\n i> Tree generated so far: /user = "nginx nginx" /worker_processes = "1" /error_log = "/var/log/nginx/error_log info" /(none)[1] /events /events/worker_connections = "1024" /events/use = "epoll" /(none)[2] /#comment[1] = "comment1" /#comment[2] = "comment2" /(none)[3] Syntax error in lens definition Failed to load lenses/tests/test_nginx.aug }}} -- Ticket URL: <https://fedorahosted.org/augeas/ticket/319> Augeas <http://augeas.net/> a configuration API _______________________________________________ augeas-devel mailing list augeas-devel@redhat.com https://www.redhat.com/mailman/listinfo/augeas-devel