summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application
Commit message (Collapse)AuthorAgeFilesLines
* Added Markdown mode to puppetdoc to output Markdown.James Turnbull2009-07-101-3/+27
| | | | Requires the pandoc binary to function (http://johnmacfarlane.net/pandoc/).
* Fixed pi binary so --meta option works and updated documentationDavid Lutterkort2009-06-131-1/+1
| | | | Signed-off-by: James Turnbull <james@lovedthanlost.net>
* Fixed pi testsJames Turnbull2009-06-121-1/+7
|
* Fixed #2222 - Cleanup pi binary options and --help outputJames Turnbull2009-06-121-14/+4
|
* Partial fix for #2329James Turnbull2009-06-061-1/+1
|
* Removed extra whitespace from end of linesIan Taylor2009-06-062-3/+3
|
* Disabling the catalog cache, so puppetqd is compatible with storeconfigsLuke Kanies2009-06-031-0/+6
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #2237 - client_yaml dir is always created by puppetdLuke Kanies2009-05-281-0/+2
| | | | | | | This is just a simple call to Puppet.use in the puppetd setup method. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #2228 - --logdest works again in puppetd and puppetmasterdLuke Kanies2009-05-272-2/+2
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #2248 - --no-client correctly leaves off clientLuke Kanies2009-05-271-1/+1
| | | | | | | All of the settings were there, we just weren't doing anything about them. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #2243 - puppetrun works againLuke Kanies2009-05-271-1/+4
| | | | | | | | The problem was that some defaults were nil but had to be 'false', because xmlrpc can't serialize 'nil' as an rpc argument. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixed #2280 - Detailed exit codes fixJames Turnbull2009-05-271-1/+1
|
* Adding some usability bits to puppetqdLuke Kanies2009-05-181-3/+21
| | | | | | | There's better logging, and it's a bit more exception-friendly. Signed-off-by: Luke Kanies <luke@madstop.com>
* Relying on threads rather than sleeping for puppetqdLuke Kanies2009-05-181-5/+1
| | | | | | | | We previously manually slept, but this uses the queue client to handle keeping the process running, by just joining all running threads. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #2273 - CA location is set correctly in puppetcaLuke Kanies2009-05-171-1/+1
| | | | | | It's set to 'only' instead of 'local'. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #2200 - puppetqd expects Daemon to be a classLuke Kanies2009-05-041-10/+12
| | | | | | | | | | | I *swear* I wrote tests for the daemon, but I can't find them in any of my branches so I rewrote them. In the course of writing them, I also fixed the usage of Daemon. Signed-off-by: Luke Kanies <luke@madstop.com>
* puppetmasterd can now run as a standard Rack application (config.ru-style)Christian Hofstaedtler2009-05-021-5/+17
|
* Fixed puppetqd require and tweaked stomp library error messageJames Turnbull2009-04-261-5/+5
|
* Fixing #2149 - Facts are passed as part of the catalog requestLuke Kanies2009-04-221-1/+0
| | | | | | | | | | | | | | | This removes the requirement of shared fact caching on the servers, since the server responding to the catalog request will receive the facts as part of the request. The facts are serialized as a parameter to the request, rather than each being set as a separate request parameter. This hard-codes yaml as the serialization format for the facts, because I couldn't get marshal to work and it's just not as big a deal for such a small amount of data. Signed-off-by: Luke Kanies <luke@madstop.com>
* Removing code that was backported and is now not neededLuke Kanies2009-04-221-49/+0
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding daemonization to puppetqdLuke Kanies2009-04-221-1/+17
| | | | | | | | 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>
* Adding puppetqd executable.Luke Kanies2009-04-221-0/+107
| | | | | | | | 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>
* Fixing puppet -e; it got broken in the move to ApplicationLuke Kanies2009-04-171-1/+3
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #1557 - Environments are now in REST URIsLuke Kanies2009-03-202-5/+2
| | | | | | | | | | | | | | | | | | This commit includes multiple, related changes, all in one commit because the whole thing was necessary to reach a functional tree again: * The URI starts with the environment, so: /production/certificate/foo /development/file_content/path/to/your/file * All REST handling is done by a single instance mounted at / for webrick and Mongrel, rather than having individual instances mounted at, say, /certificate. * All REST URI translation is done by an API module. Currently only the 'v1' module exists with no support for additional modules, but it's well-separated and will be easy to expand as we need it. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #2108 - pi should work againLuke Kanies2009-03-201-6/+8
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixed #1849 - Ruby 1.9 portability: `when' doesn't like colons, replace with ↵James Turnbull2009-02-261-2/+2
| | | | semicolons
* Relying on 'should_parse_config' in the 'puppet' applicationLuke Kanies2009-02-191-5/+0
| | | | | | | | There was some redundancy here, as the app was marked as needing to parse the config, but then the setup hook manually parsed it. Signed-off-by: Luke Kanies <luke@madstop.com>
* Move --version handling to Puppet::ApplicationBrice Figureau2009-02-166-28/+0
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move puppetd to the Application Controller paradigmBrice Figureau2009-02-161-0/+260
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move puppetdoc to the Application Controller paradigmBrice Figureau2009-02-161-0/+198
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move ralsh to the Application Controller paradigmBrice Figureau2009-02-161-0/+166
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move puppetrun to Application Controller paradigmBrice Figureau2009-02-161-0/+221
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move pi to the Application Controller paradigmBrice Figureau2009-02-161-0/+216
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move puppetmasterd to Puppet::ApplicationBrice Figureau2009-02-161-0/+138
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move puppet to the Application Controller paradigmBrice Figureau2009-02-161-0/+145
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move filebucket to the Application Controller paradigmBrice Figureau2009-02-161-0/+92
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move puppetca to the Application Controller paradigmBrice Figureau2009-02-161-0/+74
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>