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

Provisioner puppet fails on creating alreading existing config.temp_dir. #13359

Open
fpkoschitzki opened this issue Mar 1, 2024 · 0 comments

Comments

@fpkoschitzki
Copy link

The puppet provisioner call "mkdir -p C:/tmp" and fails, because the directory already exists.

Vagrant version 2.4.1
Guest: Windows Server 2022
Host: Ubuntu 23.10

Debug output

https://gist.github.com/fpkoschitzki/9c42f1c0441b5133cdd58b83df84555b

Solution:
I changed in vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/provisioners/puppet/provisioner/puppet.rb the line 112 in:
tmp_command = "mkdir #{config.temp_dir} -force"

See also: #11878

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant