summaryrefslogtreecommitdiffstats
path: root/spec/integration/node
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-05-20 19:06:45 +1000
committerJames Turnbull <james@lovedthanlost.net>2008-05-20 19:06:45 +1000
commit84a787a2a764a5035f7cbb8d30f94fc601bed154 (patch)
treeec46287a86ce738fec5774347ea4f9afcf804953 /spec/integration/node
parent390db8061ae81174ee9d42e26a6ebfe7182ea529 (diff)
parentee4be4f78f7c904dbe5873ff7b44993d1440da41 (diff)
downloadpuppet-84a787a2a764a5035f7cbb8d30f94fc601bed154.tar.gz
puppet-84a787a2a764a5035f7cbb8d30f94fc601bed154.tar.xz
puppet-84a787a2a764a5035f7cbb8d30f94fc601bed154.zip
Merge branch '0.24.x' of git://github.com/lak/puppet into 0.24.x
Conflicts: CHANGELOG
Diffstat (limited to 'spec/integration/node')
-rwxr-xr-xspec/integration/node/catalog.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/integration/node/catalog.rb b/spec/integration/node/catalog.rb
index ca14c2ea8..941d2cc6c 100755
--- a/spec/integration/node/catalog.rb
+++ b/spec/integration/node/catalog.rb
@@ -7,6 +7,12 @@ require File.dirname(__FILE__) + '/../../spec_helper'
describe Puppet::Node::Catalog do
describe "when using the indirector" do
+ before do
+ # This is so the tests work w/out networking.
+ Facter.stubs(:to_hash).returns({"hostname" => "foo.domain.com"})
+ Facter.stubs(:value).returns("eh")
+ end
+
after { Puppet::Node::Catalog.indirection.clear_cache }
it "should be able to delegate to the :yaml terminus" do