summaryrefslogtreecommitdiffstats
path: root/lib/puppet/daemon.rb
Commit message (Collapse)AuthorAgeFilesLines
* Removing the Id tags from all of the filesLuke Kanies2007-10-031-1/+0
|
* Merging the webserver_portability branch from version 2182 to version 2258.luke2007-03-061-262/+61
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2259 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing patch by Dennis Jacobfeuerborn to only use the domain name if it ↵luke2007-02-281-1/+5
| | | | | | is set. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2246 980ebf18-57e1-0310-9a29-db15c13687c0
* Renamed Puppet.name to Puppet.execname so rails 1.2 doesn't freak outshadoi2007-02-171-5/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2208 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving all of the client and server code into a single network/ directory. ↵luke2007-02-081-2/+2
| | | | | | In other words, more code structure cleanup. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2179 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving some of the stand-alone classes into the util/ subdirectory, to clean ↵luke2007-02-071-4/+4
| | | | | | up the top-level namespace a bit. This is a lot of file modifications, but most of them just change class names and file paths. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2178 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #418. The problem was that multiple objects might include Daemon, ↵luke2007-01-261-1/+4
| | | | | | which means that Daemon#shutdown can be called multiple times. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2094 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing some failing tests on fedora.luke2007-01-011-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2011 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix a syntax error in lib/puppet/daemon.rb (That'll teach me to not run the ↵mpalmer2006-12-311-1/+1
| | | | | | test suite before committing) git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2005 980ebf18-57e1-0310-9a29-db15c13687c0
* Switch puppet/daemon.rb to use Pidlockmpalmer2006-12-311-25/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2003 980ebf18-57e1-0310-9a29-db15c13687c0
* Using the "trace" configuration parameter to determine whether a stack trace ↵luke2006-09-151-1/+1
| | | | | | should be printed, rather than just using "debug". I added the param a little while ago and was using it internally in Puppet::DevError, but I just now went through the whole configuration and switched to using it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1613 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding an "ignoretags" attribute to transaction, and setting it for ↵luke2006-09-051-2/+2
| | | | | | downloading plugins or facts, and for creating config directories git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1562 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #231.luke2006-08-281-9/+19
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1491 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing permissions on the cert file and the ca cert file, since it is no ↵luke2006-08-251-2/+2
| | | | | | problem for them to be readable and sometimes it is required git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1488 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging r1468 from the implementations branch with r1438 from when the ↵luke2006-08-141-8/+29
| | | | | | branch was first created. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1469 980ebf18-57e1-0310-9a29-db15c13687c0
* Largely refactored how log destinations are handled, although it is not ↵luke2006-06-271-24/+32
| | | | | | exposed externally. Most of this work is related to handling a large number of small problems related to threading. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1315 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #175. The setpidfile setting was being ignored.luke2006-06-201-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1306 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing some logging issues with puppetmasterd when daemonized with verbose ↵luke2006-06-141-2/+0
| | | | | | mode on, and fixing ldap support when daemonizing git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1276 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #132, which involved creating a separate CA client and using it to ↵luke2006-05-021-22/+19
| | | | | | retrieve the certificates. There was more work to do because of the weird client/daemon/server heirarchy. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1160 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the docs a bit for the executables, adding a --daemonize option to ↵luke2006-04-301-14/+24
| | | | | | puppetd and puppetmasterd so they can still be daemonized with debugging or verbosity enabled, and causing puppetd to fail to start if a PID file exists (and not setting a pid file if running with --onetime enabled). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1149 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding in all of the patches necessary to make a prototype rails interface ↵luke2006-04-281-0/+8
| | | | | | to puppet nodes work. The biggest change is that there is now a separate NetworkClient class for every Client subclass, because otherwise you get namespace collisions. Most everything other change is a relatively minor patch. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1145 980ebf18-57e1-0310-9a29-db15c13687c0
* Okay, Puppet is now almost entirely capable of configuring itself. I have ↵luke2006-03-021-14/+22
| | | | | | not yet added the extra tests to puppetmasterd to make sure it can start as a normal user, and the executables still fail some simple tests because they are producing output when they start (I will get rid of the output), but overall things look pretty good. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@965 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing locking. It apparently was not working on OS X, and I was not ↵luke2006-02-121-1/+2
| | | | | | syncronizing access in threads -- i assumed locks themselves were a sufficient sync point. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@897 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing waitforcert so that the client can actually add the certs once it ↵luke2006-01-301-1/+6
| | | | | | receives them git-svn-id: https://reductivelabs.com/svn/puppet/trunk@856 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the event-loop stuff to the repository and switching to using it. ↵luke2006-01-241-0/+3
| | | | | | Also, breaking many classes out into their own class files. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@848 980ebf18-57e1-0310-9a29-db15c13687c0
* Modifying docs, and adding scheduling hooksluke2006-01-201-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@846 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding Sun support and fixing the last remaining bugs related to the daemon ↵luke2006-01-111-4/+19
| | | | | | changes i just made git-svn-id: https://reductivelabs.com/svn/puppet/trunk@799 980ebf18-57e1-0310-9a29-db15c13687c0
* Supporting puppetmasterd running as a non-root user, and doing some basic ↵luke2006-01-101-18/+23
| | | | | | message cleanup git-svn-id: https://reductivelabs.com/svn/puppet/trunk@798 980ebf18-57e1-0310-9a29-db15c13687c0
* Central logging now works, although there appear to be a few kinks to work out.luke2005-10-281-7/+43
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@732 980ebf18-57e1-0310-9a29-db15c13687c0
* Made tweaks here and there to get it running better on my local network. I ↵luke2005-10-211-0/+1
| | | | | | am inches away from that happening. All tests pass. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@720 980ebf18-57e1-0310-9a29-db15c13687c0
* This should be the commit that brings us to Beta 1. All tests pass, ↵Luke Kanies2005-08-281-1/+3
| | | | | | although I get some (gracefully handled) failures in tc_metrics.rb, and there is now a config file for the fileserver module, including authorization specification for it. I have also reworked error handling in the xmlrpc client and server so errors should propagate more correctly. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@594 980ebf18-57e1-0310-9a29-db15c13687c0
* remote filecopying now worksLuke Kanies2005-08-231-2/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@586 980ebf18-57e1-0310-9a29-db15c13687c0
* all tests pass except a certificate test i do not know how to fixLuke Kanies2005-08-161-56/+76
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@553 980ebf18-57e1-0310-9a29-db15c13687c0
* a basic first test of puppetmasterd now passesLuke Kanies2005-08-151-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@551 980ebf18-57e1-0310-9a29-db15c13687c0
* further progress towards passing testsLuke Kanies2005-08-131-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@546 980ebf18-57e1-0310-9a29-db15c13687c0
* all tests pass except those related to puppetd; i am going to significantly ↵Luke Kanies2005-08-121-0/+91
| | | | | | reorganize how serving is done git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@540 980ebf18-57e1-0310-9a29-db15c13687c0
* setting up http to log to a separate fileLuke Kanies2005-08-101-0/+23
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@531 980ebf18-57e1-0310-9a29-db15c13687c0
* renamingLuke Kanies2005-08-101-0/+27
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@529 980ebf18-57e1-0310-9a29-db15c13687c0