On Thu, Nov 26, 2009 at 6:55 PM, James Turnbull <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Douglas Garstang wrote: >> First post didn't appear on the list (gee, like that doesn't happen >> all the time....) > > It did appear - and it's never happened to me. I would suggest perhaps > looking to your end for issues?
They usually do appear... sometimes not however. > >> So.. I've been fighting with trying to get puppet to include/execute >> module in a certain order for several weeks now. I kind of have >> something hacked together, but it scares me a bit since I don't know >> exactly what is happening. > > Can you elaborate on what you want to do and/or perhaps some the > module/manifests you've developed? I really can't remember anymore. Someone on this list seemed quite certain that modules where executed in the order they were imported, which turned out to be wrong. At the moment I have a few modules tagged as 'bootstrap'. The initial puppet.conf on the client has 'tags=bootstrap' in it, so that when puppet runs for the first time, it only applies those modules. There's also a puppet module which over writes the puppet.conf and removes the tags=bootstrap line so that the next time it runs, it grabs everything else. This approach isn't perfect though. I'd really like to be able to execute the modules within the bootstrap phase within a specific order, so that, say, ntp gets done first followed by LDAP, and so on. If LDAP is half implemented, and puppet tries to add a user through another module, for example, the useradd command just locks up. Within the bootstrapped modules currently I have a horrible mess of unmaintainable requires => statements, that are just going to get harder to maintain as times goes on. I'm afraid to touch it now, for fear of what will break. And, this fear of touching stuff applies to everything else too. I'm using puppet to deploy the RPM"s for our software and manage the config files. Obviously things have to get done in a certain order, and the complexity of all the dependancies is simply NUTS. I'm afraid to touch it, for fear of what it will break. Doug -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
