Miles Monteleone
2012-Aug-17 22:24 UTC
[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? 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 :( Thanks -Miles -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/o-O2qg7uzcoJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
R.I.Pienaar
2012-Aug-18 07:28 UTC
Re: [Puppet Users] configuring stomp client with authentication
----- Original Message -----> From: "Miles Monteleone" <scratchyseal@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:pass@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Miles Monteleone
2012-Sep-11 20:07 UTC
Re: [Puppet Users] configuring stomp client with authentication
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 <rip@devco.net> wrote:> > > ----- Original Message ----- > > From: "Miles Monteleone" <scratchyseal@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:pass@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+unsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
R.I.Pienaar
2012-Sep-11 20:22 UTC
Re: [Puppet Users] configuring stomp client with authentication
----- Original Message -----> From: "Miles Monteleone" <scratchyseal@gmail.com> > To: puppet-users@googlegroups.com > Sent: Tuesday, September 11, 2012 9:07:13 PM > Subject: Re: [Puppet Users] configuring stomp client with authentication > > > 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?yes, one activemq can serve many queues and users. Not directly applicable but the mcollective site has docs on adding users and writing access rules for different users on an ActiveMQ instance http://docs.puppetlabs.com/mcollective/reference/integration/activemq_security.html> > > On Sat, Aug 18, 2012 at 12:28 AM, R.I.Pienaar < rip@devco.net > > wrote: > > > > > > ----- Original Message ----- > > From: "Miles Monteleone" < scratchyseal@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:pass@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+unsubscribe@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+unsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.