There isn't an easy way that I know of without writing your own puppet runner.  
I only know of this being an issue with Augeas and Mysql though.  Why not just 
install libaugeas-ruby (or whatever it's called) when you install puppet?

On Oct 13, 2010, at 6:58 AM, Kikanny wrote:

> Is it possible for Puppet to make those two runs automatically back to
> back? For example, the first run does modules A and B. The second run
> includes module C right after the first run is completed. I hope that
> made sense!
> 
> On Oct 13, 9:52 am, Felix Frank <felix.fr...@alumni.tu-berlin.de>
> wrote:
>> On 10/13/2010 03:48 PM, Kikanny wrote:
>> 
>>> Hi. Is there any way to make puppet run a particular module first
>>> before another module is run. For example, I'm using the augeas
>>> resource type in one of the modules. But libaugeas-ruby1.8 is not
>>> installed in the client machine. So when the catalog is run, I get the
>>> following error: Could not find a default provider for augeas. So I
>>> built another module that will install the libaugeas-ruby1.8 package.
>>> However, I still get the same error. So I thought making this module
>>> run first would solve the problem. Is this possible? Or is there any
>>> other smart way to go about this? Thanks!
>> 
>> Hi,
>> 
>> you won't solve this inside puppet. Puppet cannot enhance itself with
>> additional providers *during* a run.
>> So your manifest will require at least two runs, no matter the order of
>> execution.
>> 
>> Cheers,
>> Felix
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@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.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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