rgranadino / mage2_vagrant

Simple Magento 2 Vagrant Box
249 stars 68 forks source link

Puppet fails on install (vagrant up) #43

Closed DrOctogon closed 8 years ago

DrOctogon commented 8 years ago

ssh-agent is running on my host machine, github is using the correct key. Still the intial vagrant up fails with the error below. Am I missing something?

==> default: Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class composer at /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513/mage.pp:33 on node mage2.dev
==> default: Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class composer at /tmp/vagrant-puppet/manifests-a11d1078b1b1f2e3bdea27312f6ba513/mage.pp:33 on node mage2.dev
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
therouv commented 8 years ago

HI @DrOctogon it seems that you cloned the repository but the submodules are not initialized yet.

Could you please try running git submodule update --init --recursive? Or remove the repository on your host machine and clone the repository again recursively (recommended): `git clone --recursive https://github.com/rgranadino/mage2_vagrant.git.

DrOctogon commented 8 years ago

@therouv my apologies I did indeed miss something. Everything worked once the submodules were installed.

therouv commented 8 years ago

@DrOctogon Great!