Okay, I know this has been addressed before but I can not find it. I have module setup to handle all my Yum repos. This module works well. The issue I am having is I need to include/require a class/type from that module in a different module. I can''t get this to work. This may be best handled by making the yum module all virtual resources and include it everywhere, pointers welcome. Also if you know were it is documented you can just point me there. Evan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi Evan, Within the class that has the dependency, I would imagine it is as case of adding:- require => Class["classname"], Paul 2009/5/13 Evan Hisey <ehisey@gmail.com>> > Okay, I know this has been addressed before but I can not find it. I > have module setup to handle all my Yum repos. This module works well. > The issue I am having is I need to include/require a class/type from > that module in a different module. I can''t get this to work. This may > be best handled by making the yum module all virtual resources and > include it everywhere, pointers welcome. Also if you know were it is > documented you can just point me there. > > Evan > > > >-- Paul Matthews ---------------------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ 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 Mon, May 18, 2009 at 9:30 AM, paul matthews <paulsmatthews@googlemail.com> wrote:> Hi Evan, > > Within the class that has the dependency, I would imagine it is as case of > adding:- > > require => Class["classname"], > > Paul > > 2009/5/13 Evan Hisey <ehisey@gmail.com> >> >> Okay, I know this has been addressed before but I can not find it. I >> have module setup to handle all my Yum repos. This module works well. >> The issue I am having is I need to include/require a class/type from >> that module in a different module. I can''t get this to work. This may >> be best handled by making the yum module all virtual resources and >> include it everywhere, pointers welcome. Also if you know were it is >> documented you can just point me there. >> >> Evan >>Turns out the problem was not related to require, but else were, puppet was just giving an obtuse error message that led me to think I was handling namespace requires wrong. Evan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---