title: AWS Opsworks cannnot install and use GIT on windows Setup recipe
body: <p>I'm trying to setup a windows environment within AWS Opsworks.</p>
  
  <p>I have a setup recipe that will install GIT and Ruby.<br>
  And a deploy recipe that will try to use git and rake.</p>
  
  <p>Setup works successfully.  However, deploy will complain that git/rake are missing.  </p>
  
  <p>If I reboot the instance, I can issue a deploy and git/rake will be found.</p>
  
  <p>The symptoms I am experiencing are as follows:</p>
  
  <ul>
  <li>Start brand new instance</li>
  <li>Setup will properly install applications</li>
  <li>Deploy will fail</li>
  <li>Stop and Start instance</li>
  <li>Setup and deploy will finally succeed.</li>
  </ul>
  
  <p>Based on my searches online, seems windows requires a reboot after changing environment variables.  Git and Ruby are added to the PATH after installation but it seems my scripts cannot locate these applications until a reboot.  I'm using opsworks_scm_checkout and powershell and both will not work.</p>
  
  <p>I tried modifying my setup recipe to reboot during the startup phase, which works perfectly but my deploy application doesn't follow after the reboot.</p>
  
  <ul>
  <li>Start brand new instance</li>
  <li>Setup will properly install applications</li>
  <li>Reboot</li>
  <li>Deploy never fires, have to manually trigger this in the App Deploy</li>
  </ul>
  
  <p>Is there a proper workaround for this?  Anyone have real life experience on how to resolve this?</p>