Hi

> No, that didn't work for me. When I put the default Package{} in the
> base node that required the class yum, puppet complained about cyclic
> object dependancies.

yeah, because you're requiring yum for yum. As somebody suggested you
should set the require to undef so to get rid off your default dependecy.

> There's actually other modules that MUST be installed first, after
> yum. If ldap is only partialled installed, everything goes to hell in
> a handbasket. Even a groupadd excited by yum will just hang, so ldap
> needs to go in right after yum, and before anything else.

then you need to model that. With another default relationship for user
and group. Remember how you would have done that without puppet: you
would have told your sysadmin team members, that the very first thing is
that they have is to install yum and then ldap and so on.

And now an additional feature pops up that you get with this behavior:
If one of the installations/configurations (yum/ldap) fails ALL the
upcoming things should fail as well and not be executed. With puppet you
can now describe everything formally, with the old behavior you would
have told your team members that they shouldn't execute anything if they
haven't setup yum and ldap, but as you might know sometimes people don't
really listen to others and then they complain why the install script xy
isn't working. With an exact definition of order and dependencies you'll
never come up to this issue and it's clear and readable for everybody
what depends on what. You can even express this then in any kind of
documentation automatically. No hidden sidemarks anymore which everybody
ignores but is important.

The most important thing for newcomers is that they get away from the
idea that they execute a bunch of scripts (as they have done before).
With puppet we are talking about managing resources, which you have to
look at from a different point of view.

cheers pete

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to