Vagrant syntax error

150 views
Skip to first unread message

Tanmay Saha

unread,
Jun 5, 2015, 3:01:12 AM6/5/15
to lum...@googlegroups.com
Hi,

I tried to follow the instructions given on Lumify.git page.

However after cloning when I try to run the vagrant up demo, it throws the following error.
Any clue on the same. 



There is a syntax error in the following Vagrantfile. The syntax error
message
is reproduced below for convenience:


/home/tanny/binaries/lumify/Vagrantfile:29: syntax error, unexpected ':', expecting kEND
  config
.vm.synced_folder "~/.m2", "/home/vagrant/.m2", create: true
                                                               
^
/home/tanny/binaries/lumify/Vagrantfile:32: syntax error, unexpected ':', expecting kEND
  config
.vm.define 'dev', primary: true do |dev|
                                 
^
/home/tanny/binaries/lumify/Vagrantfile:33: syntax error, unexpected tSYMBEG, expecting kEND
    config
.vm.network :private_network, ip: "192.168.33.10"
                       
^
/home/tanny/binaries/lumify/Vagrantfile:40: syntax error, unexpected ':', expecting kEND
....vm.provision "shell", inline: "sed -i 's/lumify-dev *//g' /...
                              ^
/home/tanny/binaries/lumify/Vagrantfile:41: syntax error, unexpected ':', expecting kEND
....vm.provision "
shell", inline: "echo \"192.168.33.10  lumify...
                              ^
/home/tanny/binaries/lumify/Vagrantfile:42: syntax error, unexpected ':', expecting kEND
...ig.vm.provision "
shell", path: "vagrant/scripts/install-lumi...
                             
^
/home/tanny/binaries/lumify/Vagrantfile:47: syntax error, unexpected ':', expecting kEND
    config
.vm.network :private_network, ip: "192.168.33.12"
                                           
^
/home/tanny/binaries/lumify/Vagrantfile:63: syntax error, unexpected ':', expecting kEND
....vm.provision "shell", inline: "sed -i 's/lumify-demo *//g' ...
                              ^
/home/tanny/binaries/lumify/Vagrantfile:64: syntax error, unexpected ':', expecting kEND
....vm.provision "
shell", inline: "echo \"192.168.33.12  lumify...
                              ^
/home/tanny/binaries/lumify/Vagrantfile:65: syntax error, unexpected ':', expecting kEND
...ig.vm.provision "
shell", path: "vagrant/scripts/install-lumi...
                             
^
/home/tanny/binaries/lumify/Vagrantfile:66: syntax error, unexpected ':', expecting kEND
....vm.provision "shell", inline: "cd /vagrant && mvn -P \"grun...
                              ^
/home/tanny/binaries/lumify/Vagrantfile:66: syntax error, unexpected ',', expecting kEND
...ns clean package -DskipTests"
, privileged: false
                             
^
/home/tanny/binaries/lumify/Vagrantfile:67: syntax error, unexpected ':', expecting kEND
...ig.vm.provision "shell", path: "vagrant/scripts/install-lumi...
                              ^
/home/tanny/binaries/lumify/Vagrantfile:68: syntax error, unexpected ':', expecting kEND
....vm.provision "
shell", inline: "chkconfig --add jetty && ser...
                             
^
/home/tanny/binaries/lumify/Vagrantfile:88: syntax error, unexpected kEND, expecting $end


Reply all
Reply to author
Forward
0 new messages