title: Puppet Nodes.pp Include Modules Execution Order
body: <p>I am trying to set a sequential order on some of my modules for certain nodes.</p>
  
  
  
  <pre class="lang-ruby prettyprint-override"><code>node basenode{
   include ps
   include netfx
   include hg
   include reportviewer2012
   include wdeploy30
   include sqlexpress2008
   include windowsrolesfeatures
   include tcbase
  }
  
  node 'myserver' inherits basenode  {
   include tcuiagent
  
   Class['tcuiagent'] -&gt; Class['tcbase'] -&gt; Class['windowsrolesfeatures'] -&gt; Class['ps']
  }
  </code></pre>
  
  <p>Certainly I DON'T want to set dependencies within the module resources because that will make them interdependent which I don't want to do. In this case, I want to accomplish this order.</p>
  
  <ol>
  <li>ps (first one)</li>
  <li>windowsrolesfeatures</li>
  <li>anyotherpackage {hg,netfx...}(dont care the order of provisioning)
  n. tcbase</li>
  <li>tcuigant(last one)</li>
  </ol>