summaryrefslogtreecommitdiffstats
path: root/lib/puppet/agent
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-02-02 17:19:07 -0600
committerLuke Kanies <luke@madstop.com>2009-02-06 18:08:43 -0600
commitc0fcb2137e66af8ba60a959faa221034c6832b69 (patch)
tree10f62605333979ea64445dca5d4d66d58237de97 /lib/puppet/agent
parent700e823f7c33eb3c5b4d9e467742fd24f63bbeef (diff)
downloadpuppet-c0fcb2137e66af8ba60a959faa221034c6832b69.tar.gz
puppet-c0fcb2137e66af8ba60a959faa221034c6832b69.tar.xz
puppet-c0fcb2137e66af8ba60a959faa221034c6832b69.zip
Creating and using a new Puppet::Daemon class
This replaces the short-lived EventManager class, all of the service- and timer-related code in puppet.rb, and moves code from agent.rb, server.rb, and other places into one class responsible for starting, stopping, pids, and more. The Daemon module is no longer in existence, so it's been removed from the classes that were using it. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/agent')
-rw-r--r--lib/puppet/agent/locker.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/puppet/agent/locker.rb b/lib/puppet/agent/locker.rb
index c24fdad64..eaf19177a 100644
--- a/lib/puppet/agent/locker.rb
+++ b/lib/puppet/agent/locker.rb
@@ -30,7 +30,6 @@ module Puppet::Agent::Locker
def lockfile
unless defined?(@lockfile)
- #@lockfile = Puppet::Util::Pidlock.new(Puppet[:puppetdlockfile])
@lockfile = Puppet::Util::Pidlock.new(lockfile_path)
end