Hi all,

The queueing code is ready to test, and I'd quite appreciate people  
giving it a try.  It's all in my 'refactor/0.24.8/ 
asynchronous_storeconfigs' branch.

The code is against 0.24.x, because the company that sponsored the  
work is (not surprisingly) still running against 0.24, but that's good  
news for anyone running 0.24.8 (and probably 0.24.7), since these  
patches should apply cleanly on it with hopefully no side affect.

Not unexpectedly, it adds another element to your server  
architecture:  The queue/messagebus.  The queueing protocol we're  
using is STOMP, and it supports multiple back-ends.  The easiest way  
to get it all up and running is to just install the 'stomp' and  
'stompserver' gems on your system, and then start 'puppetqd'.  Here's  
a basic script that should work:

$ gem install stomp stompserver
$ git clone git://github.com/lak/puppet.git
$ cd puppet
$ git checkout -b refactor/0.24.8/asynchronous_storeconfigs origin/ 
refactor/0.24.8/asynchronous_storeconfigs
$ bin/puppetmasterd --vardir /tmp/queueing --confdir /tmp/queueing -- 
no-daemonize --async_storeconfigs -v --manifest <your manifests>
# another shell
$ bin/puppetqd --no-daemonize --verbose
# another shell
$ puppetd --confdir /tmp/queueing --vardir /tmp/queueing -t

You should see the catalog get queued in your puppetmasterd shell, and  
then stripped off the queue and stored in the puppetqd shell.

If you've already got a stomp server, or an amq or whatever server and  
can put stomp in front of it, you can tune --queue_source to connect  
to it (you can include user and password info in the URI as long as  
you're using stomp 1.1.1).

So, let me know how it goes.

-- 
The leader of Jamestown was "John Smith" (not his real name), under
whose direction the colony engaged in a number of activities,
primarily related to starving. -- Dave Barry, "Dave Barry Slept Here"
---------------------------------------------------------------------
Luke Kanies  -|-   http://reductivelabs.com   -|-   +1(615)594-8199


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to