summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)AuthorFilesLines
2010-07-09[#4196] Move the docs into the source directory structureJesse Wolfe5-358/+0
Since it is no longer possible to find the running executable from the call stack, docs have to be kept somewhere in the source tree. Of course, at this point, we shouldn't be using RDoc::Usage at all.
2010-02-17Fix #3932 - Add --charset to puppetdoc for RDoc modeBrice Figureau1-1/+4
This adds the --charset option to puppetdoc for RDoc mode. This allows to set the charset for the generated html. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2010-02-17feature #2276 Single Executable: CommandLine can be instantiatedJesse Wolfe1-17/+1
refactor CommandLine to be an object Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
2010-02-17feature #2276 Single Executable: subcommand methodJesse Wolfe1-6/+6
Extract the logic to determine the subcommand name into a method. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
2010-02-17feature #2276 Single Executable: help infoJesse Wolfe4-24/+25
Change the --help text to match the new single executable invocations Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
2010-02-17feature #2276 Single Executable: help for applyJesse Wolfe1-0/+69
restore the help text for the apply command Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
2010-02-17feature #2276 Single Executable: legacy settingsJesse Wolfe1-6/+6
Puppet's defaults change depending on which command invokes them. This patch makes sure that we use the maintain the current behavior. This is a temporary fix until I implement feature #2935. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
2010-02-17feature #2276 Single Executable: "puppet describe"Jesse Wolfe1-2/+2
Add "puppet describe" as the new invocation of "pi" Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
2010-02-17Fix #3552 single executable should display usageJesse Wolfe1-71/+0
Added some tests to make the single executable command behavior explicit. Added logic to display the usage message if we're on a tty and no arguments are passed. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
2010-02-17Fix #3552 single executable should display usageJesse Wolfe1-6/+3
Added some tests to make the single executable command behavior explicit. Added logic to display the usage message if we're on a tty and no arguments are passed. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
2010-04-09Fixing 'puppet' to directly run manifestsLuke Kanies1-1/+6
It was previously requiring that you specify an application name, thus breaking the ability to easily run commands like: puppet ~/bin/test.pp Or even having '#/usr/bin/env puppet --verbose' in the first line of an executable script and having that work. Signed-off-by: Luke Kanies <luke@puppetlabs.com>
2010-04-09Moving puppet back to binLuke Kanies1-0/+18
Signed-off-by: Luke Kanies <luke@puppetlabs.com>
2010-02-17Renaming the old puppet executableRein Henrichs1-2/+2
2010-02-17Fix application name in bin/ralshRein Henrichs1-1/+1
2010-02-17Renaming applications, mostly removing 'puppet'Luke Kanies1-2/+2
Signed-off-by: Luke Kanies <luke@madstop.com>
2009-08-01Signed-off-by: Eric Sorenson <ahpook@gmail.com>Eric Sorenson3-3/+3
Apologies if this violates the no-trivial-patches rule. I am getting used to git and this seemed like a harmless place to start. Documentation fix for help text, configuration reference URL is 404 now. Updated to equivalent page on wiki, fixes #2466 Signed-off-by: Eric Sorenson <ahpook@gmail.com>
2009-07-10Added Markdown mode to puppetdoc to output Markdown.James Turnbull1-2/+4
Requires the pandoc binary to function (http://johnmacfarlane.net/pandoc/).
2009-06-13Fixed pi binary so --meta option works and updated documentationDavid Lutterkort1-2/+6
Signed-off-by: James Turnbull <james@lovedthanlost.net>
2009-06-12Fixed #2052 - Added -e option to puppet --help outputJames Turnbull1-1/+4
2009-06-12Fixed pi testsJames Turnbull1-1/+2
2009-06-12Fixed #2222 - Cleanup pi binary options and --help outputJames Turnbull1-6/+34
2009-06-06Removed extra whitespace from end of linesIan Taylor3-5/+5
2009-04-28Moved puppetqd binaryJames Turnbull1-53/+0
2009-04-22Adding daemonization to puppetqdLuke Kanies1-0/+0
This will need to be modified on the merge into 0.25, because the daemon module becomes a class, but that should be easy enough. Signed-off-by: Luke Kanies <luke@madstop.com>
2009-04-22Adding puppetqd executable.Luke Kanies1-0/+53
This uses the backported Application class, with a couple of backported monkey-patches so the class works as expected but in 0.24. Signed-off-by: Luke Kanies <luke@madstop.com>
2009-03-21Moved of puppetd, puppetca, puppetmasterd, puppetrun binary from bin to sbinJames Turnbull4-455/+0
2009-02-16Move puppetd to the Application Controller paradigmBrice Figureau1-270/+2
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2009-02-16Move puppetdoc to the Application Controller paradigmBrice Figureau1-195/+2
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2009-02-16Move ralsh to the Application Controller paradigmBrice Figureau1-185/+2
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2009-02-16Move puppetrun to Application Controller paradigmBrice Figureau1-241/+2
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2009-02-16Move pi to the Application Controller paradigmBrice Figureau1-220/+3
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2009-02-16Move puppetmasterd to Puppet::ApplicationBrice Figureau1-166/+2
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2009-02-16Move puppet to the Application Controller paradigmBrice Figureau1-189/+2
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2009-02-16Move filebucket to the Application Controller paradigmBrice Figureau1-118/+4
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2009-02-16Move puppetca to the Application Controller paradigmBrice Figureau1-101/+2
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2009-02-06Fixing tests broken during the #1405 fix.Luke Kanies2-2/+8
Most of these were small changes, like moved methods. Signed-off-by: Luke Kanies <luke@madstop.com>
2009-02-06Creating and using a new Puppet::Daemon classLuke Kanies2-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>
2009-02-06Splitting the Agent class into Agent and ConfigurerLuke Kanies1-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>
2009-02-06Removing an erroneous configuration call in puppetmasterdLuke Kanies1-1/+0
Signed-off-by: Luke Kanies <luke@madstop.com>
2009-02-06Revert "This is work that I've decided not to keep"Luke Kanies1-8/+5
This reverts commit f57a5e88229578747dde2c90af3a696ad0172e72.
2009-02-06This is work that I've decided not to keepLuke Kanies1-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>
2009-02-01Revert "Fixed #1916 - Added environment option to puppetd"James Turnbull1-13/+3
This reverts commit 8d0086b3cb877765857b7ff0dee454b14417430a.
2009-01-31Fixed #1916 - Added environment option to puppetdJames Turnbull1-3/+13
2008-12-18Fixing #1729 - puppetmasterd can now read certs at startupLuke Kanies1-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>
2008-12-18Renaming Puppet::Node::Catalog to Puppet::Resource::CatalogLuke Kanies2-2/+2
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-09Merge branch '0.24.x'Luke Kanies1-1/+3
Conflicts: CHANGELOG lib/puppet/type/tidy.rb spec/unit/type/file/ensure.rb spec/unit/type/tidy.rb
2008-12-06Fix #1483 - use REST to transmit reports over the wireBrice Figureau1-0/+2
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2008-12-06Make ralsh behave more sanely for non-existent objects and property valuesNigel Kersten1-1/+3
2008-12-02Merge branch '0.24.x'Luke Kanies1-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
2008-11-20Fixed #1668 - puppetca can't clean unsigned certsJames Turnbull1-5/+6