David Lutterkort wrote:
> On Tue, 2009-02-03 at 08:05 -0500, Larry Ludwig wrote:
>
>> Then I'm not sure what's the issue.
>>
>
> What happens if you run this through plain ruby:
>
> require 'augeas'
>
> aug = Augeas::open(nil, nil, 0)
>
> puts aug.match("/files/etc/hosts/*").join("\n")
>
> If that works, Puppet has trouble detecting Augeas; if it fails, there's
> something screwed up with Augeas.
>
> David
>
>
>
Hmm I get:
[root@ ruby]# irb
irb(main):001:0> require 'augeas'
LoadError: no such file to load -- _augeas
from /usr/lib64/site_ruby/1.8/augeas.rb:23:in `require'
from /usr/lib64/site_ruby/1.8/augeas.rb:23
from (irb):1:in `require'
from (irb):1
irb(main):002:0>
I have:
[root@ ruby]# rpm -q -l ruby-augeas
/usr/lib64/site_ruby/1.8/augeas.rb
/usr/lib64/site_ruby/1.8/x86_64-linux-gnu/_augeas.so
/usr/share/doc/ruby-augeas-0.2.0
/usr/share/doc/ruby-augeas-0.2.0/COPYING
/usr/share/doc/ruby-augeas-0.2.0/README.rdoc
which is the proper location for ruby's 64 bit stuff.
Hmm..
-L
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---