Yeah, this assumes you have something already in limits.conf.  It will
fail if you don't because augeas fails on the last() call.

[r...@buildtest security]# tail /etc/security/limits.conf
@arcadev        hard    nproc           8192
@arcadev        soft    nofile          2048
@arcadev        hard    nofile          8192

# Arca QA
@arcaqa         soft    nproc           2048
@arcaqa         hard    nproc           8192
@arcaqa         soft    nofile          2048
@arcqa          hard    nofile          8192


On Jun 4, 8:50 am, Bryan Kearney <bkear...@redhat.com> wrote:
> Gajillion wrote:
> > I have the complete augeas install as well as the ruby libs.  That's
> > how I was able to test that the paths and inserts are valid Augeas
> > commands.  The RPMs were pulled from EPEL 4.  Just to be clear - it
> > works fine with just Augeas, but fails under Puppet driven Augeas.
>
> > [r...@buildtest tests]# cat /etc/redhat-release
> > Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
> > [r...@buildtest tests]# rpm -qa --queryformat "%{NAME}-%{VERSION}-%
> > {RELEASE}.%{ARCH} \\n" | grep aug
> > ruby-augeas-0.2.0-3.el4.x86_64
> > augeas-libs-0.5.0-2.el4.x86_64
> > augeas-0.5.0-2.el4.x86_64
> > [r...@buildtest tests]#
>
> > On Jun 3, 3:25 pm, Rob McBroom <mailingli...@skurfer.com> wrote:
> >> On 2009-Jun-3, at 3:56 PM, Gajillion wrote:
>
> >>> Fails: wombat::setup/Augeas[memlock]/returns: change from need_to_run
> >>> to 0 failed: Save failed with return code fals
> >> This is the same error I just said I wasn't able to reproduce in  
> >> another thread. What OS is this? Try installing Augeas itself (not  
> >> just the libs and ruby bindings) and see if the error goes away.
>
> >> --
> >> Rob McBroom
> >> <http://www.skurfer.com/>
>
> >> Don't try to tell me a thing is important to you if the whole of your  
> >> "support" entails forcing other to spend time and money on it.
>
> What does the file look like before you run this? I get a failure on my
> machine:
>
> http://pastebin.com/m70e190b2
>
> I am using augeas .50 on Fedora 10.
>
> -- bk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to