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:
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.
Suggestions?
class haproxy {
package {
"haproxy": ensure => "1.4.8-1" ;
}
augeas {
"ip_forward":
changes => "set /files/etc/sysctl.conf/net.ipv4.ip_forward 0";
}
}
--
Trevor Hemsley
Infrastructure Engineer
.................................................
* C A L Y P S O
* 4th Floor, Tower Point,
44 North Road,
Brighton, BN1 1YR, UK
OFFICE +44 (0) 1273 666 350
FAX +44 (0) 1273 666 351
.................................................
www.calypso.com
This electronic-mail might contain confidential information intended
only for the use by the entity named. If the reader of this message is
not the intended recipient, the reader is hereby notified that any
dissemination, distribution or copying is strictly prohibited.
* P * /*/ Please consider the environment before printing this e-mail /*/
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.