title: Ordering of classes in puppet
body: <p>I need to execute class mysql,tomcat before I execute code in class mypackage. In my site.pp I have</p>
  
  <pre><code>node 'node1' {
  include mysql,mypackage,tomcat
  }
  </code></pre>
  
  <p>How do I ensure the order of execution mysql->tomcat->mypackage</p>
  
  <p>I tried putting this in /etc/puppet/modules/mypackage/manifests/init.pp but it did not work.</p>
  
  <pre><code>class mypackage {
      include mysql
      include tomcat
  }
  </code></pre>