diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2010-01-21 17:16:38 -0800 |
---|---|---|
committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
commit | 9acd0b2b6d83881dc529c117637aff63a6c44f8d (patch) | |
tree | 99d1d7939f2cb032d555717d8a90d32719f96691 /lib/puppet/network/http_pool.rb | |
parent | b581c2348e784ce5d857a4c1c0686399b87cc13f (diff) | |
download | puppet-9acd0b2b6d83881dc529c117637aff63a6c44f8d.tar.gz puppet-9acd0b2b6d83881dc529c117637aff63a6c44f8d.tar.xz puppet-9acd0b2b6d83881dc529c117637aff63a6c44f8d.zip |
Feature #3115 REST-ified status()
This patch re-implements the status() remote procedure as a REST interface.
A running server returns key-value pairs, currently the only implemented
key is "is_alive" which will always be set to true.
Some future tool will consume this by:
Puppet::Status.indirection.terminus_class = :rest
Puppet::Status.find('https://puppet:8140/production/status/default')
Now with unit tests.
plus fixes a typo.
plus integration test and default security setting.
plus tests suggested by Brice.
Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
Diffstat (limited to 'lib/puppet/network/http_pool.rb')
0 files changed, 0 insertions, 0 deletions