HomePhorge

Feature #3115 REST-ified status()
9acd0b2b6d83Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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>

Details

Provenance
Jesse Wolfe <jes5199@gmail.com>Authored on
test branch <puppet-dev@googlegroups.com>Committed on Feb 17 2010, 3:50 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb581c2348e78: Fix #3229 - use original value in case/selector regex matching
Branches
Unknown
Tags
Unknown

Event Timeline

test branch <puppet-dev@googlegroups.com> committed rPU9acd0b2b6d83: Feature #3115 REST-ified status() (authored by Jesse Wolfe <jes5199@gmail.com>).Feb 17 2010, 3:50 PM