diff options
author | Ethan Rowe <ethan@endpoint.com> | 2009-04-13 07:46:53 -0400 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-04-22 14:39:38 +1000 |
commit | a3b1e8ce9c8ad97ed3bcf65c0554ae34690716fa (patch) | |
tree | f6229b675c8924796e6cc1ad18e8caf90ba3b1fe /lib/puppet | |
parent | bccfcc9d3a316e79f7e07e7f0d837b82940c071a (diff) | |
download | puppet-a3b1e8ce9c8ad97ed3bcf65c0554ae34690716fa.tar.gz puppet-a3b1e8ce9c8ad97ed3bcf65c0554ae34690716fa.tar.xz puppet-a3b1e8ce9c8ad97ed3bcf65c0554ae34690716fa.zip |
Add queue indirection as an option for catalog storage.
This eventually will allow catalog storage ("storeconfigs") to be taken out of the critical request-handling path of puppetmasterd, such that:
* Puppet::Node::Catalog can be serialized to a message queue via the indirector's "save" method
* a separate process can use Puppet::Node::Catalog::Queue.subscribe to pick up these catalog objects as they come in and can save them to the database through the :active_record terminus
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/indirector/catalog/queue.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/puppet/indirector/catalog/queue.rb b/lib/puppet/indirector/catalog/queue.rb new file mode 100644 index 000000000..85d2f8df5 --- /dev/null +++ b/lib/puppet/indirector/catalog/queue.rb @@ -0,0 +1,5 @@ +require 'puppet/node/catalog' +require 'puppet/indirector/queue' + +class Puppet::Node::Catalog::Queue < Puppet::Indirector::Queue +end |