summaryrefslogtreecommitdiffstats
path: root/bin/puppetd
Commit message (Collapse)AuthorAgeFilesLines
* Moved of puppetd, puppetca, puppetmasterd, puppetrun binary from bin to sbinJames Turnbull2009-03-211-159/+0
|
* Move puppetd to the Application Controller paradigmBrice Figureau2009-02-161-270/+2
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Creating and using a new Puppet::Daemon classLuke Kanies2009-02-061-41/+17
| | | | | | | | | | | | 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>
* Splitting the Agent class into Agent and ConfigurerLuke Kanies2009-02-061-10/+16
| | | | | | | | | | | | Once I went to add runinterval support to the Agent class, I realized it's really two classes: One that handles starting, stopping, running, et al (still called Agent), and one that handles downloading the catalog, running it, etc. (now called Configurer). This commit includes some additional code, but 95% of it is just moving code around. Signed-off-by: Luke Kanies <luke@madstop.com>
* Revert "This is work that I've decided not to keep"Luke Kanies2009-02-061-8/+5
| | | | This reverts commit f57a5e88229578747dde2c90af3a696ad0172e72.
* This is work that I've decided not to keepLuke Kanies2009-02-061-5/+8
| | | | | | | so I'm just applying it here so it continues to show up in the history in case I ever want to look at it again. Signed-off-by: Luke Kanies <luke@madstop.com>
* Revert "Fixed #1916 - Added environment option to puppetd"James Turnbull2009-02-011-13/+3
| | | | This reverts commit 8d0086b3cb877765857b7ff0dee454b14417430a.
* Fixed #1916 - Added environment option to puppetdJames Turnbull2009-01-311-3/+13
|
* Fix #1483 - use REST to transmit reports over the wireBrice Figureau2008-12-061-0/+2
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Retrieving the CA certificate before the client certificate.Luke Kanies2008-11-031-1/+1
| | | | | | | | | | | We have to have a CA cert first, because the host will start using the client cert as soon as it's available, but it's not functional without a CA cert. Also removing extra stupid stuff from wait_for_cert -- the connection is now always recycled, which is much simpler. Signed-off-by: Luke Kanies <luke@madstop.com>
* Removing mention of an obselete class.Luke Kanies2008-08-261-1/+0
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* puppetd now uses the Indirected SSL.Luke Kanies2008-08-071-4/+4
| | | | | | | This means it now uses REST for certificate saving and retrieval, which is awesome. Signed-off-by: Luke Kanies <luke@madstop.com>
* Merge branch '0.24.x'Luke Kanies2008-07-021-2/+3
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG spec/unit/node/catalog.rb spec/unit/type/package.rb spec/unit/type/schedule.rb spec/unit/type/service.rb spec/unit/util/settings.rb
| * issue 1183Andrew Shafer2008-06-161-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added environment awareness to --configprint Pulled the logic for --configprint --genconfig and --genmanifest out of puppet.rb Put the logic in lib/puppet/util/settings.rb and refactored it a bit Added specs for the behavior Reformated the whole spec file to use nested describe Added the new method to the executables The old behavior should be preserved, except for the env is now used
* | Merge branch '0.24.x'Luke Kanies2008-06-141-29/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also added the fixes to make the certhandler tests pass even when certs exist; I'll deal with the conflict later. Conflicts: CHANGELOG bin/puppetd lib/puppet/network/http/handler.rb lib/puppet/network/http/mongrel/rest.rb spec/integration/indirector/rest.rb spec/integration/network/server/mongrel.rb spec/integration/network/server/webrick.rb spec/unit/network/http/webrick.rb
| * Try againAndrew Shafer2008-06-101-30/+3
| | | | | | | | | | | | Add the class to handle certs, specs and modify puppetd should fix 1190, 1199, 1200
* | Merge branch '0.24.x'Luke Kanies2008-05-201-2/+6
|\| | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG spec/integration/defaults.rb spec/integration/node/catalog.rb spec/unit/rails.rb spec/unit/type/mount.rb
| * Updated puppetd documentation which fixes ticket #1227James Turnbull2008-05-171-2/+6
| |
* | The master and client now successfully speak xmlrpc using the new system.Luke Kanies2008-05-071-5/+9
|/ | | | | | The server is actually serving REST, but the client can't use it until we resolve the format and security issues that REST hasn't yet tackled.
* Adding another commit for #1136 -- ConsolidatedLuke Kanies2008-03-201-16/+12
| | | | | the setting of the loglevel and destination to just one call, rather than the multiple calls that remained.
* Final fix to #1136 - further changes to --test settingJames Turnbull2008-03-201-0/+4
|
* Second fix to #1136 - fixed --test problemJames Turnbull2008-03-201-1/+1
|
* Fix for ticket #1136 --verbose cancels out --debugJames Turnbull2008-03-201-12/+22
|
* Applying patch by Jay to fix #989 -- missing crl files areLuke Kanies2008-02-071-1/+1
| | | | | correctly ignored, and you now use 'false' instead of 'none' to explicitly ignore them.
* Entirely refactoring http keep-alive. There's nowLuke Kanies2007-12-191-2/+4
| | | | | | | | a central module responsible for managing the http pool (Puppet::Network::HttpPool), and it also handles setting certificate information. This gets rid of what were otherwise long chains of method calls, and it makes the code paths much clearer.
* Moving the webrick/mongrel "servers" over to HTTPServer module instead of ↵Rick Bradley2007-10-051-2/+2
| | | | Server. Using Server as the master class for client connections. Server (former RESTServer) will instantiate the appropriate subclass based upon Puppet configurator setting. There are now tests broken in the network section which I can't seem to figure out yet. Not a happy place to be.
* Removing the Id tags from all of the filesLuke Kanies2007-10-031-1/+0
|
* Fixed #832. Added the '--no-daemonize' option to puppetd and puppetmasterd.Michael V. O'Brien2007-10-031-29/+23
| | | | | The default behavior of 'verbose' and 'debug' no longer cause puppetd and puppetmasterd to not daemonize.
* Renaming the 'Puppet::Util::Config' class toLuke Kanies2007-09-221-6/+6
| | | | | | | 'Puppet::Util::Settings'. This is to clear up confusion caused by the fact that we now have a 'Configuration' class to model host configurations, or any set of resources as a "configuration".
* Adding support for providing a diff when files are being changed. Currently ↵Luke Kanies2007-08-271-0/+6
| | | | uses a local diff binary, but could easily be changed to use the ruby diff/lcs library. Modified puppet and puppetd to automatically show file diffs when in noop mode, but can otherwise be enabled using --show_diff. This only works when running interactively, because the diffs are printed on stdout.
* Applying patch my emerose to fix #652.luke2007-07-301-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2729 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving puppetd and puppetmasterd back to bin. Damn. Reverting the fix to #323.luke2007-06-151-0/+449
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2594 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #323 -- puppetd and puppetmasterd are now in sbin; packages still ↵luke2007-05-201-449/+0
| | | | | | need to be fixed git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2529 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #501 -- there is now a splay option, disabled by default and when ↵luke2007-05-181-0/+1
| | | | | | running under --test git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2528 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing a documentation bugajax2007-05-181-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2526 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #206 and #422. Executables will still look for the deprecated config ↵luke2007-05-061-3/+1
| | | | | | files and load them using the old parse method, but they now prefer a single configuration file, and files can set parameters (owner, mode, group) in brackets on the same line. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2464 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch to puppetd from Jos Backusluke2007-05-021-9/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2453 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing class name for Handler in puppetdluke2007-05-011-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2452 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding --serve back in as an option to puppetd, and failing when a handler ↵luke2007-05-011-0/+3
| | | | | | is specified but missing git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2451 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing Client.read_cert so that it automatically adds the certificate ↵luke2007-03-301-1/+3
| | | | | | information to the driver when the certificate is correctly read. This makes sure the Net::Http instance has the cert all set up. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2375 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch by Ian Burrell from #559luke2007-03-241-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2351 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the "readcert" method after getting the signed cert; the method got ↵luke2007-03-221-1/+1
| | | | | | refactored, and essentially renamed in the process git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2346 980ebf18-57e1-0310-9a29-db15c13687c0
* Don't clobber an explicitly given waitforcertlutter2007-03-191-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2331 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating the config generation stuff a bit, mostly just cleanup, but also ↵luke2007-03-191-4/+4
| | | | | | changing the servername fact to be the fqdn of the server. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2321 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #533 -- puppetd now exits in onetime mode.luke2007-03-181-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2289 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the webserver_portability branch from version 2182 to version 2258.luke2007-03-061-18/+11
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2259 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "ignorecache" option to always force a recompile of the configurationluke2007-02-281-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2245 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving all of the client and server code into a single network/ directory. ↵luke2007-02-081-6/+6
| | | | | | 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-11/+11
| | | | | | 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
* Not creating the listening server at all if --onetime is enabled.luke2007-01-301-5/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2121 980ebf18-57e1-0310-9a29-db15c13687c0