Boa tarde,
Quando tento rodar o web.pp na VM tenho o erro abaixo:
Error: Invalid parameter comand at /vagrant/manifests/web.pp:3 on node vagrant-ubuntu-trusty-64.local
minha estrutura de pasta
vagrant_musicjungle
vagrantFile
manifests
web.pp
web.pp file
exec { "apt-update":
comand =>"/usr/bin/apt-get update"
}
package { ["openjdk-7-jre", "tomcat7"]:
ensure => installed,
require => Exec["apt-update"]
}
vagrantFile
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.define :web do |web_config|
web_config.vm.network "private_network", ip: "192.168.50.10"
end
end
Obrigado, Felipe