KrisBuytaert / vagrant-sensu

Vagrant sensu puppet
5 stars 2 forks source link

Fails with brand new Vagrant #1

Closed aquila closed 11 years ago

aquila commented 11 years ago

Something is going wrong with the rabbitmq part, installed with a brand new box:

$ vagrant box add Centos6 http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.3-x86_64-v20130101.box
[vagrant] Downloading with Vagrant::Downloaders::HTTP...
[vagrant] Downloading box: http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.3-x86_64-v20130101.box
[vagrant] Extracting box...
[vagrant] Verifying box...
[vagrant] Cleaning up downloaded box...
$ vagrant up
[sensu] Importing base box 'Centos6'...
[sensu] Matching MAC address for NAT networking...
[sensu] Clearing any previously set forwarded ports...
[sensu] Forwarding ports...
[sensu] -- 22 => 2222 (adapter 1)
[sensu] Creating shared folders metadata...
[sensu] Clearing any previously set network interfaces...
[sensu] Preparing network interfaces based on configuration...
[sensu] Booting VM...
[sensu] Waiting for VM to boot. This can take a few minutes.
[sensu] VM booted and ready for use!
[sensu] Configuring and enabling network interfaces...
[sensu] Setting host name...
[sensu] Mounting shared folders...
[sensu] -- v-root: /vagrant
[sensu] -- manifests: /tmp/vagrant-puppet/manifests
[sensu] -- v-pp-m0: /tmp/vagrant-puppet/modules-0
[sensu] Running provisioner: Vagrant::Provisioners::Puppet...
[sensu] Running Puppet with /tmp/vagrant-puppet/manifests/site.pp...
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class rabbitmq::params at /tmp/vagrant-puppet/manifests/hosts/sensu.pp:10 on node sensu.cmi.ua.ac.be

Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class rabbitmq::params at /tmp/vagrant-puppet/manifests/hosts/sensu.pp:10 on node sensu.cmi.ua.ac.be

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/site.pp --detailed-exitcodes || [ $? -eq 2 ]
KrisBuytaert commented 11 years ago

did you do a git submodule init ; git submodule update ?

Please paste the output of ls /tmp/vagrant-puppet/modules-0/rabbitmq

aquila commented 11 years ago

I did not. My bad, sorry!

blalor commented 11 years ago

@KrisBuytaert the submodule instructions would be useful in the readme. :-)

KrisBuytaert commented 11 years ago

On Mon, 2013-03-11 at 10:37 -0700, Brian Lalor wrote:

@KrisBuytaert the submodule instructions would be useful in the readme. :-)

Added them :)

blalor commented 11 years ago

Thanks!