Ask Your Question

Could not find a suitable provider for augeas

asked 2013-07-19 10:51:55 -0600

Slava Semushin gravatar image

updated 2013-07-19 10:55:50 -0600

After runing vagrant provision I've got an error:

Error: Could not find a suitable provider for augeas

This happens for me in the following environment:

  • ubuntu 12.04
  • puppet 3.2.3
  • augeas-tools 0.10.0-0ubuntu4
  • libaugeas-ruby 0.3.0-1.1ubuntu4
  • ruby1.8
  • vagrant 1.0.7 (at the host system)
  • virtualbox 4.2.16-86992~Ubuntu~quantal (at the host system)

How to fix it?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2013-07-25 15:12:10 -0600

jgoldschrafe gravatar image

How was the Vagrant box you're using built?

It sounds like the Ruby installation you're using to run Puppet isn't the same one that contains the libaugeas-ruby bindings you're installing -- this is common with boxes based on Patrick DeBois's Veewee templates, which builds a non-system Ruby that Puppet gets installed under. You'll need to either alter your template to install Puppet under the system Ruby, or you'll need to install the Ruby bindings for Augeas under the Ruby runtime that's being used to actually run Puppet.

You should also really look into ... (more)

edit flag offensive delete link more


Many thanks! Looks like you point me to the right direction.

Slava Semushin gravatar imageSlava Semushin ( 2013-07-29 06:20:55 -0600 )edit

answered 2013-07-28 00:52:11 -0600

scoopex gravatar image

I had the same problem on ubuntu 13.04.

Installing package "libaugeas-ruby" solved the problem.

edit flag offensive delete link more


It's not may case, because I already have installed libaugeas-ruby 0.3.0-1.1ubuntu4

Slava Semushin gravatar imageSlava Semushin ( 2013-07-29 06:15:49 -0600 )edit

this fix debian too

confiq gravatar imageconfiq ( 2015-02-12 05:16:28 -0600 )edit

answered 2013-07-23 13:47:56 -0600

GregLarkin gravatar image

Have you tried the various Augeas library installation debugging tips? Coincidentally, those instructions were posted by the same person who responded on StackOverflow for this same question about a previous version of Puppet.

Perhaps the output of one of the diagnostic commands will help figure out why the augeas library isn't loading.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-07-19 10:51:55 -0600

Seen: 8,200 times

Last updated: Jul 28 '13