diff options
| author | Jesse Wolfe <jes5199@gmail.com> | 2010-05-12 18:35:01 -0700 |
|---|---|---|
| committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
| commit | b7d387e3e71f6af1b2967098b67440f8daa53e7d (patch) | |
| tree | 147958b739b57a470b98e261dccdbbe644fa3dc1 /test/network/handler | |
| parent | 342298c4f9fcb2874d4017219a472ddf37dbfc6b (diff) | |
| download | puppet-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-x | test/network/handler/ca.rb | 2 |
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, |
