[Puppet Users] Trying to get an mcollective module that works with ssl and doesn't use guest users

2013-10-08 Thread David Griffith
For several months I've been tearing my hair out trying to get Puppet to 
install mcollective such that it talks with rabbitmq over SSL.  No modules 
have worked.  A couple days ago I noticed a new module from Puppetlabs.  I 
tried this and it doesn't work either.  Just starting out with this:

node 'sleepy.foobar.com' {
  class { '::mcollective':
middleware   = true,
middleware_hosts = [ 'sleepy.foobar.com'],
  }
  mcollective::user { 'joe':
certificate = '/home/joe/keys/joe_cert.pem',
private_key = '/home/joe/keys/joe_key.pem',
  }
}

This fails with this complaint:

Error: Execution of '/usr/bin/apt-get -q -y -o 
DPkg::Options::=-force-confold install ssl-certs' returned 100: Reading 
package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package ssl-certs

Problem: there is no such package as ssl-certs in Ubuntu 12.04 or Debian 
7.0, or Centos 6.

Can someone recommend ANY module anywhere that works as I state in the 
first sentence?

-- 
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.


[Puppet Users] RabbitMQ module won't start stomp

2013-07-18 Thread David Griffith
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.




[Puppet Users] Trying and failing to get SSL working

2013-07-05 Thread David Griffith
I've been banging my head against the wall over trying to get activemq and 
mcollective working through Puppet.  So far, I've been able to get it 
working with no SSL at all, then I got mcollective working with SSL.  I'm 
trying now to get ActiveMQ working with SSL, but I'm having no luck at 
all.  I don't know what keys are supposed to go where.  Does anyone here 
have a Vagrant Box set up with Puppet installing and configuring ActiveMQ 
and Mcollective?  I found the Mcollective Vagrant git repo at 
https://github.com/ripienaar/mcollective-vagrant.git, but this does not 
include ActiveMQ or SSL setups.

-- 
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.