diff options
| author | Rick Bradley <rick@rickbradley.com> | 2007-10-05 19:51:47 -0500 |
|---|---|---|
| committer | Rick Bradley <rick@rickbradley.com> | 2007-10-05 19:51:47 -0500 |
| commit | a7d220b828ec5f277a3a3bfb33f517fe864579d0 (patch) | |
| tree | a538fd3d621e5eab38a5ee874f64e5e89235bd10 /bin/puppetmasterd | |
| parent | 7086ce17d14274f93ef0c03fba531bdb6710e5f7 (diff) | |
| download | puppet-a7d220b828ec5f277a3a3bfb33f517fe864579d0.tar.gz puppet-a7d220b828ec5f277a3a3bfb33f517fe864579d0.tar.xz puppet-a7d220b828ec5f277a3a3bfb33f517fe864579d0.zip | |
Moving the webrick/mongrel "servers" over to HTTPServer module instead of Server. Using Server as the master class for client connections. Server (former RESTServer) will instantiate the appropriate subclass based upon Puppet configurator setting. There are now tests broken in the network section which I can't seem to figure out yet. Not a happy place to be.
Diffstat (limited to 'bin/puppetmasterd')
| -rwxr-xr-x | bin/puppetmasterd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/puppetmasterd b/bin/puppetmasterd index f764b1901..39802f229 100755 --- a/bin/puppetmasterd +++ b/bin/puppetmasterd @@ -238,11 +238,11 @@ begin case Puppet[:servertype] when "webrick" # use the default, um, everything - require 'puppet/network/server/webrick' - webserver = server = Puppet::Network::Server::WEBrick.new(:Handlers => handlers) + require 'puppet/network/http_server/webrick' + webserver = server = Puppet::Network::HTTPServer::WEBrick.new(:Handlers => handlers) when "mongrel": - require 'puppet/network/server/mongrel' - server = Puppet::Network::Server::Mongrel.new(handlers) + require 'puppet/network/http_server/mongrel' + server = Puppet::Network::HTTPServer::Mongrel.new(handlers) addr = Puppet[:bindaddress] if addr == "" addr = "127.0.0.1" |
