-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
puppet not found on Windows VM when installed from MSI #101
Comments
Can you send a gist of your Vagrantfile? |
We don't add puppet to the path with the msi installer. I'm not completely On Tuesday, September 24, 2013, Shawn Neal wrote:
Rob http://devlicio.us/blogs/rob_reynolds |
Here is my Vagrantfile: |
Vagrant and vagrant-windows make the assumption that "puppet" is in your PATH. We could update vagrant-windows to be more accommodating and default to the default install location, but I'd prefer not to do that until I have the time to rewrite the provisioners to be Windows specific rather than the monkey patches mess they are today. This has pointed out a bug in the WinRMCommunicator. The execute/sudo method should be throwing an exception when 'which puppet' fails. Currently it only returns an exit status of 1, but the Vagrant puppet provisioner excepts an exception to be thrown. Added #106 for this. |
As a link back to track our progress on putting puppet on the PATH - http://projects.puppetlabs.com/issues/22700 This would not apply until the 3.4 release though, so perhaps some support there earlier would be good. |
Here is the workaround for this:
|
Rob, thanks a lot for the fully functional workaround! |
@ferventcoder I tested with Puppet 3.3.1-rc3 and it works without the workaround of adding Puppet to the system path myself. Tnx! |
@ringods I guess we got that one in a little early. :) |
This appears to have regressed with Puppet 3.6.2 and 3.7.1. Testing other versions at the moment. |
@jdub We had this report recently, can you verify or reproduce? https://tickets.puppetlabs.com/browse/PUP-3471 |
Sorry, I was so pleased to have found a relevant bug report, I barely paid attention to the project I was reporting it against. :-) Will pop over there now. |
@jdub I am not sure yet, but I think your case may be slightly different. See the bug report. |
I'm still seeing this issue in the latest version of https://github.com/ferventcoder/vagrant-windows-puppet and using Vagrant 1.7.2 Things seem to bomb out on the installing puppet step of the Now I'm still very new to Vagrant, and it seems to me that the latest version of Vagrant prompts you to remove and not use vagrant-windows. Can anyone point me in the right direction here? D |
Is there any ETA for this feature? ? |
@cregev vagrant-windows is deprecated. What feature are you looking for an ETA on? |
Environment:
I have a Win2008R2 VM with Puppet 3.3.0 installed from the official MSI. When trying to
vagrant provision
the VM, I get this error:The MSI installs the Puppet Agent as a Windows service, but if you want to run it interactively, you have to open a
Start Command Prompt with Puppet
shell. It starts a shell with the required paths correctly set up. The paths are not added system wide.The text was updated successfully, but these errors were encountered: