summaryrefslogtreecommitdiffstats
path: root/bin/puppetd
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-08 01:39:39 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-02-08 01:39:39 +0000
commit7e07e3dc843798bdbc7a03428ca054adaff2fb72 (patch)
tree34d0f9f8c2ee11bdc281e6e4d18cad444253fe36 /bin/puppetd
parent6d8068eddd0d29ec53f62557eb53f6ebb8e40591 (diff)
downloadpuppet-7e07e3dc843798bdbc7a03428ca054adaff2fb72.tar.gz
puppet-7e07e3dc843798bdbc7a03428ca054adaff2fb72.tar.xz
puppet-7e07e3dc843798bdbc7a03428ca054adaff2fb72.zip
Moving all of the client and server code into a single network/ directory. In other words, more code structure cleanup.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2179 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'bin/puppetd')
-rwxr-xr-xbin/puppetd12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/puppetd b/bin/puppetd
index 62973260b..afb30b55b 100755
--- a/bin/puppetd
+++ b/bin/puppetd
@@ -155,8 +155,8 @@ trap(:INT) do
end
require 'puppet'
-require 'puppet/server'
-require 'puppet/client'
+require 'puppet/network/server'
+require 'puppet/network/client'
require 'getoptlong'
options = [
@@ -205,7 +205,7 @@ begin
when "--disable"
options[:disable] = true
when "--serve"
- if klass = Puppet::Server::Handler.handler(arg)
+ if klass = Puppet::Network::Server::Handler.handler(arg)
options[:serve][klass.name] = klass
end
when "--enable"
@@ -305,7 +305,7 @@ end
# We need tomake the client either way, we just don't start it
# if --no-client is set.
-client = Puppet::Client::MasterClient.new(args)
+client = Puppet::Network::Client::MasterClient.new(args)
if options[:enable]
client.enable
elsif options[:disable]
@@ -327,7 +327,7 @@ end
unless client.readcert
# If we don't already have the certificate, then create a client to
# request one.
- caclient = Puppet::Client::CA.new(args)
+ caclient = Puppet::Network::Client::CA.new(args)
if options[:waitforcert] > 0
begin
while ! caclient.requestcert do
@@ -387,7 +387,7 @@ if Puppet[:listen] and ! options[:onetime]
args[:Port] = Puppet[:puppetport]
begin
- server = Puppet::Server.new(args)
+ server = Puppet::Network::Server.new(args)
rescue => detail
$stderr.puts detail
puts detail.backtrace