Alexander Bien
2009-Jun-26 11:17 UTC
[Puppet Users] make sure module_xy (if present/defined) is executed before everything else
Greetings,
Lets say i have a module, ''centos_base''[1] which kinda
bootstraps or
keeps a system to a certain standard. Packages, timezones, yum repos &
prios, snmp config, ssh_auth keys, stuff like that.
Now, i would like to make sure that if a node has this module, it should
always be executed prior to all other modules or definitions. No matter
what.
This is (among other things) because in ''centos_base'' i set
yum-priorities. If these are not set correctly the package installations
of other modules might install the wrong version from the wrong
repository. Whats a smart way to do this, without adding require
statements to all "package {}" calls among all other modules?
Is there a different approach to solving this issue that i am not aware of?
[1] = http://pastie.org/525321
cheers
Alex
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---