vagrant
vagrant copied to clipboard
Provisioner puppet fails on creating alreading existing config.temp_dir.
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: https://github.com/hashicorp/vagrant/issues/11878