Can I get some help getting the RabbitMQ module provide a stomp server 
talking to MCollective on an Ubuntu system?  It was working a few days ago, 
but I found that I cannot reproduce this on a new set of machines -- 
RabbitMQ will not provide stomp services  I have tried the official 
puppetlabs/rabbitmq module and the git version from yesterday and from 
today.  Nothing works.  My site.pp file looks like this:

node 'testserver.foo.com' {
  $rabbitmq_plugins = [ 'amqp_client', 'rabbitmq_stomp' ]

  class { 'rabbitmq::server':
    config => '[ {rabbit_stomp, [{tcp_listeners, [6163]} ]} ].',
  }

  rabbitmq_plugin {'rabbitmq_stomp':
    ensure => present,
    require => Class['rabbitmq::service'],
    provider => 'rabbitmqplugins',
  }
}

This is what I was told in #pup...@freenode.net to use.  Version 2.1.0 of 
the module results in this complaint:

  Error: 
  /Stage[main]//Node[testserver.foo.com]/Rabbitmq_plugin[rabbitmq_stomp]: 
  Could not evaluate: Execution of '/usr/sbin/rabbitmq-plugins list -E' 
  returned 1: erlexec: HOME must be set

Using the bleeding edge from 
https://githib.com/puppetlabs/puppetlabs-rabbitmq yields this:

Error: Could not retrieve catalog from remote server: Error 400 on 
SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: 
Could not find declared class rabbitmq::server at 
/etc/puppet/manifests/site.pp:9 on node testserver.foo.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Using the Master from yesterday (9eadc4274b5a70fd55d036b0365f63e90325d5a7), 
which I was told WOULD work yields this:

Error: /Stage[main]/Rabbitmq/Rabbitmq_plugin[rabbitmq_management]: Could 
not evaluate: Execution of '/usr/sbin/rabbitmq-plugins list -E' returned 
1: erlexec: HOME must be set

Notice: /Stage[main]/Rabbitmq::Service/Service[rabbitmq-server]: 
Dependency Rabbitmq_plugin[rabbitmq_management] has failures: true
Warning: /Stage[main]/Rabbitmq::Service/Service[rabbitmq-server]: 
Skipping because of failed dependencies
Notice: /Stage[main]/Rabbitmq/Anchor[rabbitmq::end]: Dependency 
Rabbitmq_plugin[rabbitmq_management] has failures: true
Warning: /Stage[main]/Rabbitmq/Anchor[rabbitmq::end]: Skipping because 
of failed dependencies
Notice: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/Exec[Download 
rabbitmqadmin]: Dependency Rabbitmq_plugin[rabbitmq_management] has 
failures: true
Warning: /Stage[main]/Rabbitmq::Install::Rabbitmqadmin/Exec[Download 
rabbitmqadmin]: Skipping because of failed dependencies
Notice: 
/Stage[main]/Rabbitmq::Install::Rabbitmqadmin/File[/usr/local/bin/rabbitmqadmin]:
 

Dependency Rabbitmq_plugin[rabbitmq_management] has failures: true
Warning: 
/Stage[main]/Rabbitmq::Install::Rabbitmqadmin/File[/usr/local/bin/rabbitmqadmin]:
 

Skipping because of failed dependencies
Notice: 
/Stage[main]//Node[testserver.foo.com]/Rabbitmq_plugin[rabbitmq_stomp]: 
Dependency Rabbitmq_plugin[rabbitmq_management] has failures: true
Warning: 
/Stage[main]//Node[testserver.foo.com]/Rabbitmq_plugin[rabbitmq_stomp]: 
Skipping because of failed dependencies
Notice: Finished catalog run in 0.83 seconds

What can I do to get this working?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to