diff options
| author | Luke Kanies <luke@reductivelabs.com> | 2010-03-25 14:55:51 -0700 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2010-03-27 14:32:07 +1100 |
| commit | 7018cf5634bcbdcc167d5fbe5560801a2a131ca9 (patch) | |
| tree | 140ad6afb19c3f23cb92f5b234ac6694af0ed288 /spec/unit/application | |
| parent | 978ab8a9a1f1c7ea23698543bf86f587ae88e6c4 (diff) | |
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 <luke@reductivelabs.com>
Diffstat (limited to 'spec/unit/application')
| -rwxr-xr-x | spec/unit/application/puppetd.rb | 5 |
1 files changed, 2 insertions, 3 deletions
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 |
