What if I want 2 queues with 2 different usernames and passwords? For instance, I have 1 activemq instance running on my puppet server, serving a queue for Mcollective. Can I configure that instance to serve a second queue, with a different username/password?
On Sat, Aug 18, 2012 at 12:28 AM, R.I.Pienaar <r...@devco.net> wrote: > > > ----- Original Message ----- > > From: "Miles Monteleone" <scratchys...@gmail.com> > > To: puppet-users@googlegroups.com > > Sent: Friday, August 17, 2012 11:24:39 PM > > Subject: [Puppet Users] configuring stomp client with authentication > > > > I'm trying to configure my puppetmaster to use activemq for message > > queueing. ActiveMQ is installed on the same machine as puppet-server > > and is being used for MCollective. Since I am requiring > > authentication for MCollective, I need to set a username/password in > > puppet.conf. I do not see any parameters that control this, but I > > found this entry in the puppet.conf man page: > > > > > > queue_source ++++++++++++ > > > > Which type of queue to use for asynchronous processing. If your stomp > > server requires authentication, you can include it in the URI as > > long as your stomp client library is at least 1.1.1 > > > > How do I include auth in the stomp URI? > > It's a standard URI so that would be stomp://user:p...@your.stomp.host > :port > > > > > Also, suppose I want to not have auth for the local puppet stomp > > connection. Can I turn that off in the activemq config? I couldn't > > find a way to do it :( > > your activemq.xml would have a section for <users>...</users> if auth > is enabled > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.