summaryrefslogtreecommitdiffstats
path: root/bin/puppetd
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixing the warning message related to namespaceauth.confluke2007-01-291-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2116 980ebf18-57e1-0310-9a29-db15c13687c0
* updating docs with new location for reference infoluke2007-01-221-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2074 980ebf18-57e1-0310-9a29-db15c13687c0
* adding note about --no-clientluke2006-12-061-0/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1898 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #346 -- on some scripts I accidentally used "feature" instead of ↵luke2006-11-161-1/+1
| | | | | | "features" git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1886 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the code over from the oscar branch. I will now be doing all ↵luke2006-11-081-12/+1
| | | | | | development in the trunk again, except for larger changes, which will still get their own branch. This is a merge of the changes from revision 1826 to revision 1834. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1835 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #245, opened by marthag.luke2006-09-211-3/+3
| | | | | | | | | Every other executable parsed the config file before calling genconfig, but puppetd reversed it for some reason. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1646 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix trac #282 (Change URL to configref, mention --genconfig)lutter2006-09-191-2/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1630 980ebf18-57e1-0310-9a29-db15c13687c0
* Specifically rescuing Exception, since apparently the default does not ↵luke2006-09-151-1/+1
| | | | | | rescue LoadErrors and everything else git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1604 980ebf18-57e1-0310-9a29-db15c13687c0
* Catching all errors encountered during loading, not just LoadError, to fix ↵luke2006-09-141-1/+1
| | | | | | ongoing problems with rdoc/usage. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1593 980ebf18-57e1-0310-9a29-db15c13687c0
* Let puppetd listen (when given --listen) without a CRLlutter2006-09-141-0/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1592 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the Daemon module back into the Client class, which fixes #247.luke2006-09-051-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1563 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix problem when --fqdn is usedlutter2006-08-051-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1448 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #200. I basically just moved the daemonize statement before most ↵luke2006-07-211-8/+9
| | | | | | other code. This makes things a little less nice when starting puppetd manually, since it might still fail and the user would not know without checking logs, but it is the only real option at this point. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1415 980ebf18-57e1-0310-9a29-db15c13687c0
* changing the #!ruby lines to #!env rubyluke2006-06-291-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1338 980ebf18-57e1-0310-9a29-db15c13687c0
* Applied patch from #153.luke2006-06-081-4/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1241 980ebf18-57e1-0310-9a29-db15c13687c0
* Added the last of the tests for the runner, along with the necessary work in ↵luke2006-05-181-18/+33
| | | | | | puppetd to be able to start it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1213 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a lot of structure to puppet.rb to make it easier to manage multiple ↵luke2006-05-181-36/+19
| | | | | | | | objects in a single process, including making it easy to add threads. Added some testing for all of that. Also added a "runner" server, meant to be started within puppetd, so that clients can have runs triggered from a central host git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1212 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #132, which involved creating a separate CA client and using it to ↵luke2006-05-021-15/+18
| | | | | | 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-23/+68
| | | | | | 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
* Puppetd now has an option for listening -- just run the --listen option, and ↵luke2006-04-281-35/+110
| | | | | | it will start up with a pelement server. It will fail to start if the authconfig file (defaulting to /etc/puppet/namespaceauth.conf) is missing, since it defaults to access at this point. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1148 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding --test option to puppetd (it enables --onetime, ↵luke2006-04-111-6/+24
| | | | | | --no-usecacheonfailure, and --verbose), and modifying the docs a bit. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1108 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding TERM to the signals being trappedluke2006-02-241-4/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@945 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a bit more loggingluke2006-02-231-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@930 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding --enable/--disable locking for puppetd. You can now disable puppetd ↵luke2006-02-141-0/+34
| | | | | | from running by creating a lock file, which is useful if you are testing a configuration and want puppetd not to run for a bit. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@908 980ebf18-57e1-0310-9a29-db15c13687c0
* Change in how logging is defaulted: by default logs go to :syslog, unless ↵lutter2006-02-091-2/+1
| | | | | | the user explicitly gives at least one --logdest argument, in which case logs only go to the destinations the user gave. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@895 980ebf18-57e1-0310-9a29-db15c13687c0
* There is now full support for configuration files, and the entire system has ↵luke2006-02-071-69/+41
| | | | | | been modified to expect their new behaviour. I have not yet run the test across all test hosts, though. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@873 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing waitforcert so that the client can actually add the certs once it ↵luke2006-01-301-0/+8
| | | | | | receives them git-svn-id: https://reductivelabs.com/svn/puppet/trunk@856 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing some logging issuesluke2006-01-241-4/+11
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@849 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the event-loop stuff to the repository and switching to using it. ↵luke2006-01-241-3/+15
| | | | | | 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
* Committing most of the scheduling stuff. There is still a bit of work to do ↵luke2006-01-231-2/+16
| | | | | | in terms of how puppetd interacts with scheduling, but the bulk of the work is done. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@847 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a small checksumming bug, reorganizing the client stuff a bit, and ↵luke2006-01-181-12/+13
| | | | | | adding freshness checking for the configuration, so the config is recompiled every time nor is it downloaded unless it has been recompiled git-svn-id: https://reductivelabs.com/svn/puppet/trunk@845 980ebf18-57e1-0310-9a29-db15c13687c0
* Made lots of small changes, mostly to help usability but also fixed a couple ↵luke2006-01-181-0/+8
| | | | | | of key bugs git-svn-id: https://reductivelabs.com/svn/puppet/trunk@841 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging changes from the head of the rework1 branch, r 784luke2006-01-081-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@787 980ebf18-57e1-0310-9a29-db15c13687c0
* converting waitforcert to an intluke2006-01-051-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@780 980ebf18-57e1-0310-9a29-db15c13687c0
* central logging is fully functional now, but it is painfully slow, so it is ↵luke2005-10-281-5/+15
| | | | | | disabled by default git-svn-id: https://reductivelabs.com/svn/puppet/trunk@733 980ebf18-57e1-0310-9a29-db15c13687c0
* Central logging now works, although there appear to be a few kinks to work out.luke2005-10-281-10/+19
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@732 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding logging methods to all Puppet::Element instances, and converting all ↵luke2005-10-261-0/+8
| | | | | | instance log statements to use those methods. Additionally modified logging to take advantage of this by including the path of the logging object in the output. Logs will still need some cleanup to avoid duplicate information. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@731 980ebf18-57e1-0310-9a29-db15c13687c0
* Made tweaks here and there to get it running better on my local network. I ↵luke2005-10-211-1/+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
* Adding some semantic tagging. It is not exactly full-featured yet, and it ↵luke2005-10-101-2/+7
| | | | | | is not used at all, but it was sufficient for some proof-of-concept stuff in preparation for the conference git-svn-id: https://reductivelabs.com/svn/puppet/trunk@716 980ebf18-57e1-0310-9a29-db15c13687c0
* Many, many changes toward a completely functional system. The only current ↵luke2005-09-231-0/+7
| | | | | | problems with my home config are that apache's stupid init script does not do status and that packages are not working as non-root users (which makes sense). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@703 980ebf18-57e1-0310-9a29-db15c13687c0
* adding extra checks to make sure networking is secure, and refactoring a ↵luke2005-09-151-1/+5
| | | | | | heckuva lot of test git-svn-id: https://reductivelabs.com/svn/puppet/trunk@671 980ebf18-57e1-0310-9a29-db15c13687c0
* all tests now pass on solaris 10x86; i had to do some stupid hacking with ↵luke2005-09-071-1/+1
| | | | | | base64 for it to work, and i am working getting a much better base class for all test classes git-svn-id: https://reductivelabs.com/svn/puppet/trunk@635 980ebf18-57e1-0310-9a29-db15c13687c0
* adding a "--noop" option along with a test case for itluke2005-08-291-10/+30
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@607 980ebf18-57e1-0310-9a29-db15c13687c0
* I did not have good puppetd tests, so I missed the fact that I was calling ↵Luke Kanies2005-08-291-3/+5
| | | | | | the wrong class in puppetd. Fixed. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@597 980ebf18-57e1-0310-9a29-db15c13687c0
* adding RDoc::usage documentation to all executablesLuke Kanies2005-08-291-55/+134
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@595 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving all files into a consolidated trunk. All tests pass except the ↵Luke Kanies2005-08-231-0/+102
known-failing certificate test, but there appear to be some errors that are incorrectly not resulting in failurs. I will track those down ASAP. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@576 980ebf18-57e1-0310-9a29-db15c13687c0