> node tst_basenode { > > include yum > > Package { > require => [ > Yumrepo["CentOS-Base"], > Yumrepo["EPEL-Core"], > ... > ] > } > } > > node tst_childnode inherits tst_basenode { > include ldap_client > } > [snip] > Quite simply, how do I GUARANTEE that my repos are done FIRST followed > by any mandatory packages like yum and yum-priorities? >
Disclaimer: I don't really do RPM based distros, and all this is untested, and I should be fixing dinner. If I were you I'd be writing something like this: class base { package { "yum": ensure => present; "yum-priorities": ensure => present; } yumrepo { "foo": require => Package["yum-whatever-it-depends-on"]; "bar: require => Package["you-get-the-idea"}; } } node default { include base } Note that resources are declared in lower case and references to them are declared with the leading character upcased (so you declare a package but refer to a Package["foo}"]. So declare what you need and then map the relationships. HTH, Julian. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---