-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Craig Dunn wrote: > > Hi all > > Whats the best way of depending on a module - for example, I have an lvm > and a mysql module - on booting a clean machine it's important that lvm > be set up before the mysql rpm installs as I want mysql on a volume. I > can't see an easy (clean) way of making sure the mysql module installs > after the lvm module apart from depending on some resource that the lvm > module creates, which seems a bit dirty. > > Is there a better way of doing this?
Have a resource in one module depend on on a class in the module. There isn't a way of directly making on module dependent on another module. There was a long thread of this last week or the week before that might have food for thought. Regards James Turnbull - -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJwh6K9hTGvAxC30ARAqeEAJwKNYSiccjB28NouQRxB2jwi/lYLACgy4yB hO81VCvNYCPnAz5MQUJ5fWo= =wSVV -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---