[augeas-devel] [PATCH] new options for vsftpd

2012-07-05 Thread Danny Yates
Hi,

I've recently needed to use Augeas to modify the vsftpd conf file
(/etc/vsftpd.conf), and found the 'require_ssl_reuse' option missing from
the lens. Attached is a patch which adds it.

Thanks,

Danny.


vsftpd.patch
Description: Binary data
___
augeas-devel mailing list
augeas-devel@redhat.com
https://www.redhat.com/mailman/listinfo/augeas-devel

[augeas-devel] Squid (and squid-deb-proxy) lens

2012-07-05 Thread Danny Yates
Hi,

I've recently set up a package called squid-deb-proxy on Ubuntu. This is
essentially a Squid instance pre-configured to cache Debian .deb files. In
doing so, 2 things came up:

1) The default Squid lens doesn't know about the squid-deb-proxy conf file
(which is a Squid conf file in a non-standard location)
2) The cache_access_log setting was missing

I made a whole new lens file to deal with this, but I suspect that a better
approach would be to add the cache_access_log setting to the regular Squid
lens, and also make the lens understands the location of the
squid-deb-proxy conf file.

Attached is a diff between the Squid lens in trunk (commit 8012a34a) and my
custom lens. As you can, all I've done is added the new setting and changed
the path to the conf file. Since I'm not sure how to make a lens understand
multiple locations for conf files, I haven't submitted a patch.

Thanks,

Danny.


squid.diff
Description: Binary data
___
augeas-devel mailing list
augeas-devel@redhat.com
https://www.redhat.com/mailman/listinfo/augeas-devel

[augeas-devel] nginx lense

2012-07-05 Thread Ian Berry
I have been working on a lense to parse nginx configs (attached). It is modeled 
from the dhclient lense and can parse basic blocks/statements.

The main issue that I'm having is getting it to parse comments correctly within 
block statements. It could also use some more work parsing more advanced 
location blocks which are often nested and contain a wide array of characters.

I attached the lense and associated test. I'm struggling with some of these 
issues so I'd be great if someone was interested in improving it.

Ian

'Like' us on Facebook for exclusive content and other resources on all 
Barracuda Networks solutions.
Visit http://barracudanetworks.com/facebook




nginx.aug
Description: nginx.aug


test_nginx.aug
Description: test_nginx.aug
___
augeas-devel mailing list
augeas-devel@redhat.com
https://www.redhat.com/mailman/listinfo/augeas-devel