Skip to content
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

Vagrant doesn't work with Puppet v3 #1169

Closed
dvigueras opened this issue Oct 5, 2012 · 1 comment
Closed

Vagrant doesn't work with Puppet v3 #1169

dvigueras opened this issue Oct 5, 2012 · 1 comment

Comments

@dvigueras
Copy link

In puppet v3 some deprecated commands are removed (more info here: http://docs.puppetlabs.com/puppet/3/reference/release_notes.html#deprecated-commands-are-removed ) so then provisioning the VM with puppet v3 installed in the VM it fails:

[default] Running provisioner: Vagrant::Provisioners::PuppetServer...
The puppetd binary appears to not be in the PATH of the guest. This
could be because the PATH is not properly setup or perhaps Puppet is not
installed on this guest. Puppet provisioning can not continue without
Puppet properly installed.

I think vagrant should call to 'puppet agent --params' instead of 'puppetd --params' to be compatible with puppet v3 (It will work too with puppet v2.6 and v2.7)

Warning: This modification will make vagrant incompatible with puppet versions < 2.6, but that versions are very old.

Workaround: create a '/sbin/puppetd' with the following content:

!/bin/bash

puppet agent $@

@mitchellh
Copy link
Contributor

Fixed :) It will be part of 1.0.6.

@hashicorp hashicorp locked and limited conversation to collaborators Apr 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants