[augeas-devel] trouble getting augeas to work with puppet

Bryan Kearney bkearney at redhat.com
Tue Sep 2 13:18:02 UTC 2008


Marc Fournier wrote:
> Hello,
> 
> I would like to try out augeas with puppet on redhat 5 machines, but I
> am blocked by the following problem:
> 
> [root at kissrv20 ~]# puppetd -t
> info: Retrieving plugins
> notice: /File[/var/lib/puppet/lib]/checksum: checksum changed
> '{mtime}Tue Jul 29 15:30:45 +0200 2008' to '{mtime}Tue Sep 02 12:08:22
> +0200 2008'
> notice: /File[/var/lib/puppet/lib/puppet/type/augeas.rb]/ensure: created
> info: Retrieving facts
> err: Could not retrieve catalog: The type 'augeas' requires the
> augeas-ruby bindings to be installed
> at /etc/puppetmaster/modules/augeas/manifests/classes/augeas-test.pp:6
> on node kissrv20.epfl.ch
> warning: Not using cache on failed catalog

Where is the puppet master running? Could you possibly need the 
ruby-augeas bindings on both the puppetmaster server and the client?

> 
> I installed the RPMs from [1] and took the puppet type from [2]:
> [root at kissrv20 ~]# rpm -qa augeas* ruby-augeas
> ruby-augeas-0.1.0-1.el5
> augeas-0.3.0-1.el5
> augeas-libs-0.3.0-1.el5
> 
> Ruby bindings seem to load as expected:
> [root at kissrv20 ~]# ruby 
> require 'augeas'
> [root at kissrv20 ~]# echo $?
> 0
> 
> I noticed the RPMs weren't putting their files in the same location
> than other packages:
> 
> [root at kissrv20 ~]# rpm -ql ruby-augeas ruby-libs | grep '\.so'
> /usr/lib64/ruby/site_ruby/1.8/x86_64-linux/_augeas.so
> /usr/lib64/libruby.so.1.8
> /usr/lib64/libruby.so.1.8.5
> /usr/lib64/ruby/1.8/x86_64-linux/bigdecimal.so
> /usr/lib64/ruby/1.8/x86_64-linux/curses.so
> /usr/lib64/ruby/1.8/x86_64-linux/digest.so
> [...]
> 
> [root at kissrv20 ~]# rpm -ql ruby-augeas ruby-libs | grep '\.rb'
> /usr/lib/ruby/site_ruby/1.8/
> /usr/lib/ruby/1.8/English.rb
> /usr/lib/ruby/1.8/Env.rb
> /usr/lib/ruby/1.8/abbrev.rb
> [...]

Since the ruby-binding are not core ruby, I belive this is correct.

-- bk




More information about the augeas-devel mailing list