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! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Yeah. Was just wondering if there was a better way. Thanks though! On Oct 13, 11:06 am, Patrick <kc7...@gmail.com> wrote:> 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-users@googlegroups.com. > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://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-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Apparently Analagous Threads
- issue while installing puppet
- augeas
- how puppet client update the files only when the flles from puppet server are new?
- Puppet playing badly with Debian etch rubygems
- Re: [Error] guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found (required by guestfsd)