Re: [Puppet Users] Help with augeas

Dominic Cleal
Wed, 27 Feb 2013 09:43:45 -0000

On 27/02/13 07:28, Adam Crews wrote:
> Hello,
>
> I''m trying to manage a properties file used by a java program with
augeas.
> I''m using PE 2.7.1 on a CentOS 5 machine.
>
> Sample content is:
> # Sample file /home/acrews/test.properties
> session.securityLevel.createSession=10
> session.securityLevel.listFiles=10
> low.session.timeout=15
> # eof
>
> I want to change createSession from 10 to 11.
>
> my puppet code is:
>
> augeas { "test":
> 	lens	=> "Property.lns",

This line doesn''t look correct, it should be Properties.lns to match
the
module you downloaded.

--
Dominic Cleal
Red Hat Engineering