Hi, 

You can use the following:

require statements 
"require => Class[blah]" 

Ordering in your classes

Resource[blah] -> resource[blat]

Stages 

class {blah: stage => pre }
class {blat: stage => post}

But you mileage may vary depending on what you are doing.

Cheers,
Den

On 19/07/2011, at 12:53, Scott Smith <[email protected]> wrote:

> Don't run mysql commands in Puppet.
> 
> On Mon, Jul 18, 2011 at 7:32 PM, newguy <[email protected]> wrote:
> Hey Guys
> I was wondering how can I control the order of execution of various
> modules on the puppet client.
> Suppose I have a module A which installs mysql and there is module B
> which executes mysql commands of importing DB, so how can I ensure
> that module A is executed before module B.
> 
> Please help guys
> Thanks
> 
> --
> 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.
> 
> 
> -- 
> 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.

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

Reply via email to