Re: [Puppet Users] Augeas not saving changes

2010-12-03 Thread Patrick
On Dec 2, 2010, at 1:03 PM, Sid wrote: > ruby: 1.8.7.302-4 > ruby-augeas: 0.3.0-1.el5 (EPEL) > augeas-libs: 0.7.3-1.el5 (EPEL) > puppet: 2.6.4 > > I am unable to get Puppet/Augeas to update the sysctl.conf file when > using the following configuration. I have tested changing the file > with augt

Re: [Puppet Users] Augeas not saving changes

2010-12-02 Thread Trevor Hemsley
I have this sort of syntax in one of my manifests augeas {"dirty_ratio": context => "/files/etc/sysctl.conf", changes => [ 'set vm.dirty_ratio 15', ], onlyif => 'get vm.dirty_ratio != 15' } Sid wrote: rub

[Puppet Users] Augeas not saving changes

2010-12-02 Thread Sid
ruby: 1.8.7.302-4 ruby-augeas: 0.3.0-1.el5 (EPEL) augeas-libs: 0.7.3-1.el5 (EPEL) puppet: 2.6.4 I am unable to get Puppet/Augeas to update the sysctl.conf file when using the following configuration. I have tested changing the file with augtool and that works. Puppet fails silently though. Sugges

[Puppet Users] Augeas not saving changes

2009-03-29 Thread Avi Miller
Hey gang, I'm using the latest Puppet/Augeas RPMs from EPEL testing: puppet-0.24.8-1.el5.1 augeas-0.4.2-1.el5 augeas-libs-0.4.2-1.el5 I have the following in my Puppet manifest: augeas { "rpm": context => "/etc/logrotate.d/rpm", changes => [ "set rule/create/mode 0640",