From 7018cf5634bcbdcc167d5fbe5560801a2a131ca9 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Thu, 25 Mar 2010 14:55:51 -0700 Subject: Adding :catalog_terminus setting This will rarely be used, but it enables even more architectural flexibility, such as precompiling catalogs and storing them in memcached or equivalent. With this setup, a single host can probably serve all catalogs and you would then just have as many compiling hosts as needed. Signed-off-by: Luke Kanies --- spec/unit/application/puppetd.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'spec/unit/application') diff --git a/spec/unit/application/puppetd.rb b/spec/unit/application/puppetd.rb index ec2fd546d..0f7257e59 100755 --- a/spec/unit/application/puppetd.rb +++ b/spec/unit/application/puppetd.rb @@ -301,9 +301,8 @@ describe "puppetd" do @puppetd.run_setup end - it "should tell the catalog handler to use REST" do - Puppet::Resource::Catalog.expects(:terminus_class=).with(:rest) - + it "should change the catalog_terminus setting to 'rest'" do + Puppet.expects(:[]=).with(:catalog_terminus, :rest) @puppetd.run_setup end -- cgit