Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vagrant provision fail with puppet

Tags:

vagrant

puppet

Hello i have generated a vm on http://vmg.slynett.com/.

The vm works fine but nothing is installed on it. I don't know why vagrant provision fail.

vagrant provision
[default] Running provisioner: Vagrant::Provisioners::Shell...
stdin: is not a tty
Europe/Paris

Current default time zone: 'Europe/Paris'
Local time is now:      Fri Jun 28 13:15:42 CEST 2013.
Universal Time is now:  Fri Jun 28 11:15:42 UTC 2013.

[default] Running provisioner: Vagrant::Provisioners::Puppet...
[default] Running Puppet with /tmp/vagrant-puppet/manifests/base.pp...
stdin: is not a tty
Warning: Could not retrieve fact fqdn
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type concat at /tmp/vagrant-puppet/modules-0/apache/manifests/init.pp:130 on node dev
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type concat at /tmp/vagrant-puppet/modules-0/apache/manifests/init.pp:130 on node dev
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

cd /tmp/vagrant-puppet/manifests && puppet apply --modulepath '/tmp/vagrant-puppet/modules-0' /tmp/vagrant-puppet/manifests/base.pp --detailed-exitcodes || [ $? -eq 2 ]

I am on mac OS X 10.8.3, virtualbox 4.2.6, Vagrant 1.2.2

like image 666
rpg600 Avatar asked Jan 27 '26 14:01

rpg600


1 Answers

It looks like you're referring to the concat module from ripenaar/concat and an error like that is usually thrown when a resource isn't present (i.e. not installed or in your module path).

like image 183
Marvin Pinto Avatar answered Jan 30 '26 05:01

Marvin Pinto