On 15/02/12 08:10, Steve Shipway wrote:
> This is only a guess, but is Augeas doing a STRING comparison of the values
> instead of a NUMERICAL one?
>
> String-wise, "7000" < "80" but numerically it's the other way around.
>
> Can you try setting the current value to '1' and see if Augeas wants
NIX Systems Design Lead
s.ship...@auckland.ac.nz
Ph: +64 9 373 7599 ext 86487
From: puppet-users@googlegroups.com [puppet-users@googlegroups.com] on behalf
of rvlinden [rene.vanderlinde...@gmail.com]
Sent: Wednesday, 15 February 2012 10:26 a.m.
To: Puppet
Hi,
I'm having some 'strange' issues with augeas and an onlyif statement
This is my code
augeas { "classx_sysctl_shmmax":
incl=> '/etc/sysctl.conf',
lens=> 'Sysctl.lns',
changes => "set kernel.shmmax ${sysctl_kernel_shmmax}",
onlyif => "get kernel.shmmax < ${sysctl_kerne