summaryrefslogtreecommitdiffstats
path: root/test/network/handler
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-05-12 18:35:01 -0700
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commitb7d387e3e71f6af1b2967098b67440f8daa53e7d (patch)
tree147958b739b57a470b98e261dccdbbe644fa3dc1 /test/network/handler
parent342298c4f9fcb2874d4017219a472ddf37dbfc6b (diff)
downloadpuppet-b7d387e3e71f6af1b2967098b67440f8daa53e7d.tar.gz
puppet-b7d387e3e71f6af1b2967098b67440f8daa53e7d.tar.xz
puppet-b7d387e3e71f6af1b2967098b67440f8daa53e7d.zip
Feature #2935 Puppet[:mode] and Puppet[:name] are read-only
Historically, the Puppet[:name] setting has been settable, but the results of chaning it are poorly defined. The switch to modes instead of executable names seems like a good time to disable this complexity. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
Diffstat (limited to 'test/network/handler')
-rwxr-xr-xtest/network/handler/ca.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/network/handler/ca.rb b/test/network/handler/ca.rb
index 16782bb18..503d0188d 100755
--- a/test/network/handler/ca.rb
+++ b/test/network/handler/ca.rb
@@ -189,7 +189,7 @@ class TestCA < Test::Unit::TestCase
# the puppetmasterd CA does not autostart.
def test_caautosign
server = nil
- Puppet[:name] = "puppetmasterd"
+ Puppet.stubs(:master?).returns true
assert_nothing_raised {
server = Puppet::Network::HTTPServer::WEBrick.new(
:Port => @@port,