Augeas is a configuration file API.
0
votes
0answers
13 views
Are there additional wildcard escaping rules with Puppet and Augeas (setm)?
I'm trying to perform a setm operation with Augeas via Puppet. This works in augtool:
augeas { 'disable ntp from dhcp':
changes => 'setm /files/etc/sysconfig/network-scripts/*[label() =~ ...
1
vote
2answers
80 views
Extending Puppet (probably with augeas) for custom configuration format
I have a custom firewall system with our own simple configuration file. Its basically bash source defining a well known variables:
SUPERACCESS="127.0.0.1 192.168.11.0/24"
SERVICES="ping 80/tcp ...
0
votes
1answer
29 views
Managing mailman configuration with augeas
I want to create an augeas lens to modify mailman lists. The lists are stored in a binary file which can be exported to a plaintext file using config_list -o /tmp/config my_list and reimported by ...
1
vote
1answer
31 views
How can I use Puppet/Augeas to manage exim dc_local_interfaces configuration?
I need to set the value for "dc_local_interfaces" to "127.0.0.1;::1", but the semi-colon prevents this.
This is my definition in Puppet:
augeas { "/etc/exim4/update-exim4.conf.conf":
lens => ...
0
votes
0answers
50 views
puppet augeas with more than one array in a single key
I am trying to put together a set of puppet policies for grub/menu.lst.
The serial::grubmenulst is a puppet define type that looks like this :
define serial::grubmenulst ( $value ) {
$key = $title
...
0
votes
1answer
37 views
Augeas tasks are shown as changed, although the file wasn´t changed
I have installed puppet-dashboard and noticed that all my augeas tasks are shown as "changed". I would expect that augeas automatically checks wether the value to be set is already set and in such ...
1
vote
1answer
33 views
How to copy a branch in augeas
Is there a ready way to copy a branch natively in augeas or via the puppet augeas handler?
If the copy operator were natively available in augeas it would be something like
cp ...
1
vote
1answer
71 views
Representing a multiline value in Augeas using '\'
I recently assembled a lens in Augeas and now it's not functioning quite as desired.
My file contains a few references with the following syntax:
Value1 = KEY 32 OR\
KEY 33 OR\
....
How do ...
1
vote
1answer
142 views
Augeas - create new ini section
I have a config file in augeas using a custom lens that outputs the data as follows.
/files/opt/../server.conf/target[1] = "general"
/files/opt/../server.conf/target[1]/serverName = "XXX"
...
3
votes
1answer
205 views
Using the Augeas INI lens without a header
I am using the IniFile module with augeas to create a Splunk management lens. This works well for all files containing section headers like a normal INI file but there are a couple files that don't ...
4
votes
2answers
293 views
What is the gain by using Puppet instead of Augeas itself?
Puppet uses augeas. What is the gain by using Puppet instead of Augeas itself?
1
vote
1answer
575 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 => ...
1
vote
1answer
350 views
How to set the string “value;othervalue” in php.ini with augeas?
i want to change the session.save_path in the php.ini with augeas
default:
session.save_path="/var/lib/php5"
target value
session.save_path="3;/var/lib/php5sessions"
augeas returns quite ...
5
votes
2answers
3k 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
...
7
votes
2answers
947 views
Puppet configuration using augeas fails if combined with notify
I'm having a problem with the following Puppet manifest, which is meant
to enable the passwdqc pam module on a RHEL-6 system (this is using
Puppet 0.25.5 and augeas 0.7.2):
augeas { 'authconfig':
...