Posts on Augeas

Augeas is a configuration editing tool. It parses configuration files in their native formats and transforms them into a tree. Configuration changes are made by manipulating this tree and saving it back into native config files.

 

Quick Tip: Add users to a group with augeas

05 May 2010

When you use Augeas to add users to groups, you might do that by first adding a new user node to the corresponding group (we’ll use kvm for the sake...

Continue reading

Augeas: some tricks on modifying comments

11 September 2009

Often, when editing a config file from a program, one also wants to leave a comment alongside the change. When the change adds something to the config file, that’s fairly...

Continue reading

Querying system configuration

11 March 2009

One of the nice things about having your configuration data in a uniform data structure like Augeas’ tree is that you can query it in a uniform way. A couple...

Continue reading

Augeas on LXer

11 February 2009

LXer has a very nice summary of Raphael’s talk on Augeas — though, contrary to what the author says, writing lenses (i.e., the plumbing that explains to Augeas how to...

Continue reading

Augeas at FOSDEM

30 January 2009

Looking at the schedule for FOSDEM next week makes me regret that I am halfway around the world from Brussels — there’s a ton of talks I’d love to go...

Continue reading

Parsing inifiles the easy way

13 August 2008

Raphael has been doing a lot of work to make processing of INI-style files in Augeas easy and painless. It’s now at the point that you can describe /etc/php.ini in...

Continue reading

Augeas on linux.com

12 June 2008

linux.com has a very nice article on Augeas. It’s a very nice overview and introduction. As embarrassed as I am by the bug the author ran into (blank lines in...

Continue reading

Augeas 0.1.1

16 May 2008

I just released Augeas 0.1.1; without really planning it, it turned out that the last two weeks were mostly spend on fixing bugs (besides the regular expression enhancement I blogged...

Continue reading

Fun with regular languages

13 May 2008

For Augeas, I wanted to support subtraction of regular expresions, so that you can say let key_re = /[A-Za-z]+/ - /(Allow|Deny)(Groups|Users)/ which would make key_re match all words made up...

Continue reading

Augeas - a configuration API

05 May 2008

A while ago I had what would be a hallway conversation with Mark if we worked in the same office (or country, for that matter.) Something he said set me...

Continue reading