1
vote
1answer
1k views

Using Augeas to modify Squid configuration

I'm running squid-deb-proxy and I want to alter the configuration using Puppet/Augeas. When I try this: augeas {'squid-deb-proxy.conf': lens => 'Squid.lns', incl => ...
5
votes
2answers
6k views

How to comment out / uncomment a line in a configuration file with Augeas?

Assumming that I have the following in the /etc/syslog.conf file: # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console ...