Yes, but HOW do I order it? What is the best way to do it? I assumed that modules were implemented in the order they are included, which turned out to be wrong. Someone suggested that the node hierarchy determined the order, and that didn't work for me. I tried putting a global Paclage{} statement in my base node that required my yum repos, and that partly did it, but still installed yum-priorities way later on. I tried putting a requires => Class['yum-priorities'] in my base class and puppet complained about module looping!
On Sat, Oct 24, 2009 at 5:00 PM, James Turnbull <ja...@lovedthanlost.net> wrote: > > 2009/10/25 Peter Meier <peter.me...@immerda.ch>: >> >> +10000000 >> >> if you need order, declare it otherwise ordering it shouldn't matter. >> > > Pete > > I think that's the best way I've heard that described - I will be > stealing that line to use repeatedly when people ask that question. > > SysAdmins declare intent and do - they don't hope things will randomly > work out for them. If we did that we'd be developers... *ducks* :) > > Regards > > James Turnbull > > -- > Author of: > * Pro Linux System Administration (http://tinyurl.com/linuxadmin) > * Pulling Strings with Puppet (http://tinyurl.com/pupbook) > * Pro Nagios 2.0 (http://tinyurl.com/pronagios) > * Hardening Linux (http://tinyurl.com/hardeninglinux) > > > > -- Regards, Douglas Garstang http://www.linkedin.com/in/garstang Email: doug.garst...@gmail.com Cell: +1-805-340-5627 --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---