summaryrefslogtreecommitdiffstats
path: root/lib/puppet/event_manager.rb
Commit message (Collapse)AuthorAgeFilesLines
* Creating and using a new Puppet::Daemon classLuke Kanies2009-02-061-182/+0
| | | | | | | | | | | | 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>
* Adding temporary class EventManagerLuke Kanies2009-02-061-0/+182
Most of the way through implementation of this class, I realized that most of its functionality will never actually be used. Thus, I'm refactoring it and the Puppet::Daemon module into a single Puppet::Daemon class with merged functionality, and then moving all of the daemon-like functionality out of both the Agent and Server classes. We'll then have a Daemon class that knows how to start and stop services, create and remove pidfiles, and whatever else daemons need to know how to do. This commit is to just so I have the current code snapshot. Signed-off-by: Luke Kanies <luke@madstop.com>