title: Puppet exit code 6
body: <p>I am trying to install <strong>Microsoft C++ 2010 Runtime Components</strong> for a 32 bit windows 7 machine using puppet script.</p>
  
  <p>The block of code I have is -- </p>
  
  <pre><code>package {'Microsoft2010RuntimeComponents32' :
      ensure    =&gt; 'installed',
      source    =&gt; "${src}\\vc2010_redist\\vcredist_x86.exe",
      install_options =&gt; ["/q","/log"=&gt;"${log_5}"],
  }
  </code></pre>
  
  <p>When I run puppet agent --test it is exiting with the error code 6 and I am receiving the error as </p>
  
  <blockquote>
    <p>1;31mError: Could not set 'present' on ensure: Invalid argument - ruby_setenv at 13:/etc/puppet/modules/module_name/manifests/test.pp</p>
  </blockquote>
  
  <p>Not aware of this ruby_setenv error. Can somebody pls help !!</p>