summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Move puppetd to the Application Controller paradigmBrice Figureau2009-02-161-270/+2
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move puppetdoc to the Application Controller paradigmBrice Figureau2009-02-161-195/+2
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move ralsh to the Application Controller paradigmBrice Figureau2009-02-161-185/+2
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move puppetrun to Application Controller paradigmBrice Figureau2009-02-161-241/+2
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move pi to the Application Controller paradigmBrice Figureau2009-02-161-220/+3
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move puppetmasterd to Puppet::ApplicationBrice Figureau2009-02-161-166/+2
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move puppet to the Application Controller paradigmBrice Figureau2009-02-161-189/+2
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move filebucket to the Application Controller paradigmBrice Figureau2009-02-161-118/+4
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move puppetca to the Application Controller paradigmBrice Figureau2009-02-161-101/+2
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Fixing tests broken during the #1405 fix.Luke Kanies2009-02-062-2/+8
| | | | | | Most of these were small changes, like moved methods. Signed-off-by: Luke Kanies <luke@madstop.com>
* Creating and using a new Puppet::Daemon classLuke Kanies2009-02-062-52/+25
| | | | | | | | | | | | 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>
* Removing an erroneous configuration call in puppetmasterdLuke Kanies2009-02-061-1/+0
| | | | 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
|
* Fixing #1729 - puppetmasterd can now read certs at startupLuke Kanies2008-12-181-1/+13
| | | | | | | | | | The main aspect of this solution is to create a site-wide Puppet::SSL::Host instance to cache ssl key and certificate, so that by the time we've switched UIDs, we've got the key and cert in memory. Then webrick just uses that, rather than creating a new Host instance. Signed-off-by: Luke Kanies <luke@madstop.com>
* Renaming Puppet::Node::Catalog to Puppet::Resource::CatalogLuke Kanies2008-12-182-2/+2
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Merge branch '0.24.x'Luke Kanies2008-12-091-1/+3
|\ | | | | | | | | | | | | | | | | Conflicts: CHANGELOG lib/puppet/type/tidy.rb spec/unit/type/file/ensure.rb spec/unit/type/tidy.rb
| * Make ralsh behave more sanely for non-existent objects and property valuesNigel Kersten2008-12-061-1/+3
| |
* | Fix #1483 - use REST to transmit reports over the wireBrice Figureau2008-12-061-0/+2
| | | | | | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* | Merge branch '0.24.x'Luke Kanies2008-12-021-15/+109
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/puppetca lib/puppet/type/group.rb lib/puppet/type/tidy.rb lib/puppet/util/settings.rb Also edited the following files so tests will pass: lib/puppet/type/component.rb spec/unit/ssl/certificate_request.rb spec/unit/type/computer.rb spec/unit/type/mcx.rb spec/unit/type/resources.rb spec/unit/util/settings.rb spec/unit/util/storage.rb test/ral/type/zone.rb
| * Fixed #1668 - puppetca can't clean unsigned certsJames Turnbull2008-11-201-5/+6
| |
| * Manifest documentation generationBrice Figureau2008-11-171-15/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is currently two type of documentation generation for manifests (module or modulepath): * RDoc HTML generation for modules and global manifests * console output for sole manifest Both version handles classes, defines, nodes, global variable assignements, and resources when --all is used. The usage is the following: For the rdoc variant: $ puppetdoc --mode rdoc --outputdir doc It uses the puppet.conf configuration file to get the modulepath and manifestdir settings. Those are overridable on the command line with --modulepath and --manifestdir. For the console output version: $ puppetdoc /path/to/manifests Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* | Setting puppetmasterd up to serve all indirected classes.Luke Kanies2008-11-031-1/+3
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.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>
* | Merge branch '0.24.x' Removed the 'after' blocks that call Type.clear,Luke Kanies2008-10-171-11/+32
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | since that method is deprecated. Conflicts: CHANGELOG bin/puppetca lib/puppet/file_serving/fileset.rb lib/puppet/network/xmlrpc/client.rb lib/puppet/type/file/selcontext.rb spec/unit/file_serving/metadata.rb spec/unit/type/file.rb
| * Fixed #1633 - Added support for --detailed-exits to bin/puppetLuke Kanies2008-10-081-3/+23
| | | | | | | | | | | | | | which causes puppet to produce different exit codes depending on whether there were changes or failures in the transaction. Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fixed #1628 - Changed node search to use certname rather than Facter hostnameJames Turnbull2008-10-031-3/+4
| |
| * Updated puppet binary documentationJames Turnbull2008-10-031-5/+5
| |
| * Fixed #1588 - Fixed puppetca --clean --allJames Turnbull2008-09-251-0/+1
| |
* | Merge branch 'feature/master/1481'Luke Kanies2008-09-231-1/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This merges in the new fileserving code -- we're now using REST to do fileserving, rather than xmlrpc. Conflicts: lib/puppet/parameter.rb lib/puppet/type/file.rb spec/unit/type/file.rb
| * | Removing mention of an obselete class.Luke Kanies2008-08-261-1/+0
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | | Merge branch '0.24.x'Luke Kanies2008-09-231-1/+1
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | Conflicts: lib/puppet/metatype/container.rb lib/puppet/metatype/instances.rb lib/puppet/metatype/metaparams.rb lib/puppet/metatype/relationships.rb lib/puppet/metatype/schedules.rb
| * Fixed #1500 - puppetrun host regressionAndrew Shafer2008-09-191-1/+1
| |
* | Merge branch '0.24.x'Luke Kanies2008-08-181-7/+15
|\| | | | | | | | | | | | | Conflicts: CHANGELOG test/util/posixtest.rb
| * Add the -P/--ping option to puppetrun, fixes #1501AJ Christensen2008-08-171-7/+15
| | | | | | | | | | | | Turns on the ICMP echo testing against the target host. Defaults to off. 111111111
* | 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' into mergingLuke Kanies2008-07-291-1/+1
|\| | | | | | | | | | | Conflicts: test/ral/type/filesources.rb
| * Fixing #1408 - --loadclasses works again.Luke Kanies2008-07-101-1/+1
| | | | | | | | | | | | | | | | | | The problem was that the mechanism I was using for passing the node to the compiler was conflicting with the Indirector::Request's method of handling node authentication. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch '0.24.x'Luke Kanies2008-07-042-2/+5
|\| | | | | | | | | | | | | | | | | | | Conflicts: lib/puppet/util/settings.rb spec/integration/defaults.rb spec/unit/node/catalog.rb spec/unit/type/interface.rb spec/unit/type/ssh_authorized_key.rb
| * Merge branch 'ticket/0.24.x/1391' of git://github.com/littleidea/puppet into ↵James Turnbull2008-07-041-2/+3
| |\ | | | | | | | | | 0.24.x
| | * Adding changes to config print that were missed in fix for 1183Andrew Shafer2008-07-031-2/+3
| | |
| * | Fixed 1240 - puppet will function more like puppetd if graphingLuke Kanies2008-07-031-0/+2
| |/ | | | | | | or reporting are enabled.
* | Merge branch '0.24.x'Luke Kanies2008-07-025-52/+18
|\| | | | | | | | | | | | | | | | | | | | | 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
| * Fixed #1006 - puppetrun --class works again. I added the classLuke Kanies2008-07-011-43/+5
| | | | | | | | membership testing to the Ldap node terminus, and added tests,
| * Fixed #1371 - Updated bin/puppet to use Node.findJames Turnbull2008-06-171-1/+1
| |
| * issue 1183Andrew Shafer2008-06-164-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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