Hi,
I've upgraded vagrant from 1.0.5 (I Know, very long time ago) to 1.4.3 on
my Mac OSX 10.9.1.
Using the latest VirtualBox 3.6.
curiosity:cassandra wdijkerman$ vagrant provision cas01
[cas01] Running provisioner: puppet...
Running Puppet with puppet.pp...
Error: Could not run: Could not retrieve facts for cas01.dj-wasabi.nl:
Connection timed out - connect(2)
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
cd /tmp/vagrant-puppet-1/manifests && puppet apply --modulepath
'/tmp/vagrant-puppet-1/modules-0' --manifestdir
/tmp/vagrant-puppet-1/manifests --detailed-exitcodes
/tmp/vagrant-puppet-1/manifests/puppet.pp || [ $? -eq 2 ]
Stdout from the command:
Stderr from the command:
Error: Could not run: Could not retrieve facts for cas01.dj-wasabi.nl:
Connection timed out - connect(2)
My Vagrantfile:
---------------------------8<---------------------------
# Vagrantfile API/syntax version. Don't touch unless you know what you're
doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "CentOS-6.4"
config.vm.define "cas01" do |cas01|
cas01.vm.hostname = "cas01.dj-wasabi.nl"
cas01.vm.network :private_network, ip: "192.168.10.101"
end
config.vm.define "cas02" do |cas02|
cas02.vm.hostname = "cas02.dj-wasabi.nl"
cas02.vm.network :private_network, ip: "192.168.10.102"
end
config.vm.define "cas03" do |cas03|
cas03.vm.hostname = "cas03.dj-wasabi.nl"
cas03.vm.network :private_network, ip: "192.168.10.103"
end
config.vm.provider :virtualbox do |vb|
# Don't boot with headless mode
vb.gui = false
# Use VBoxManage to customize the VM. For example to change memory:
vb.customize ["modifyvm", :id, "--memory", "512"]
end
config.vm.provision "puppet" do |puppet|
puppet.working_directory = "/tmp/vagrant-puppet-1/manifests"
puppet.manifest_file = "puppet.pp"
puppet.module_path = "/Users/wdijkerman/Documents/workspace/puppet/"
end
end
---------------------------8<---------------------------
my puppet.conf:
---------------------------8<---------------------------
class { 'users': }
---------------------------8<---------------------------
Within the 'puppet.module_path' directory is where all my modules are
placed.
This error I'll get with vagrant up or vagrant provision.
Kind regards,
Werner
--
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.