Closed chrnie closed 9 years ago
Hi,
first of all i want to thank you for testing the 3 products (vagrant-node, vagrant-nodemaster and vagrantweb). This is the first serious review I have about the product.
I have tested in command line and with vagrantweb, and at least, with my configuration file is working right.
root@controller:~# vagrant remote config addvm local testvfile
Operation successfully performed
The example configuration file i have use to test it is this:
Vagrant.configure("2") do |config|
config.vm.define(:testvm) do |testvm_config|
testvm_config.vm.box = "centos6.4x32"
testvm_config.vm.hostname = "TestVM"
end
end
Mmm, while i am writting this post i have read again your config file and i think i found the problem. "Vagrant Nodes" are thought to be multi vm hosts, i mean several virtual machines on each node. Therefore, config files must have the vagrant multi vm syntax. Try with this config file:
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define(:puppetvm) do |puppetvm_config|
puppetvm_config.vm.box = "puppetlabs_debian7_nocm"
puppetvm_config.vm.host_name = "vag01.fua.local"
end
end
Tell me if it works for your infraestructure.
Regards
Hi, At first a many thanks for your great work on this. If I get this working I will write a provider for foreman using vagrant-node to bootstrap VMs. Now to my issue. I couldn't find a description what a configfile for vagrant-node should look like.
I tried a cleaned Vagrantfile but had no success. Do you have any suggestions to fix this problem? Is there another way to getting up a remote vagrant-box?
short output:
If it's a bug, I think it's located in this plugin, because I'm getting the same error in vagrantweb and vagrant-nodemaster
Some environment infos Ubuntu 14.04 64bit
Content of vag2
test if box is present: