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

Marc Fournier marc.fournier at camptocamp.com
Wed Sep 3 08:05:47 UTC 2008


On Tue, 02 Sep 2008 09:18:02 -0400
Bryan Kearney <bkearney at redhat.com> wrote:

> 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?

Yes you are right, this solved the problem ! I'm not sure to
understand why, but that's another point...

Thanks a lot !

> > 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.

Yes I confirm it is. No symlinks are finally needed, neither are any
ia32 packages. Only augeas installed on the puppetmaster as well as on
the client.


Thanks !
Marc






More information about the augeas-devel mailing list