summaryrefslogtreecommitdiffstats
path: root/spec/unit/application/puppetmasterd.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixing #2440 - catalogs can now be compiled on demandLuke Kanies2009-07-311-0/+63
| | | | | | | | | This uses the locally cached yaml facts and prints the catalog in json. It's meant to be used one-time, but you have to use puppetmasterd since we assume it's the executable correctly configured for compilation. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #2228 - --logdest works again in puppetd and puppetmasterdLuke Kanies2009-05-271-0/+18
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing puppetmasterd tests when missing rackLuke Kanies2009-05-271-1/+5
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* puppetmasterd can now run as a standard Rack application (config.ru-style)Christian Hofstaedtler2009-05-021-0/+41
|
* Fixing #1557 - Environments are now in REST URIsLuke Kanies2009-03-201-7/+0
| | | | | | | | | | | | | | | | | | 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>
* Stubbing tests that were affecting other testsLuke Kanies2009-02-181-1/+10
| | | | | | | | | | | These stubs are all for global configuration state. It's a known problem that these have to be stubbed, but we haven't been able to find a design yet that fixes this. At least these tests are no longer breaking other tests. Signed-off-by: Luke Kanies <luke@madstop.com>
* Move --version handling to Puppet::ApplicationBrice Figureau2009-02-161-6/+0
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move puppetmasterd to Puppet::ApplicationBrice Figureau2009-02-161-0/+334
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>