Issue #7123 has been updated by Luke Kanies.

On Apr 27, 2011, at 8:20 PM, [email protected] wrote:

> Issue #7123 has been updated by Daniel Pittman.
> So, I can’t work out what this is intended to do. It looks like it might 
> possible be accessible through XML-RPC or something like that, but as far as 
> I can tell nothing uses Puppet::Status, which this indirects:
> 
Nothing directly uses it - its meant to be a means of determining client 
status, with the idea that over time we can add stats and such to it.

I believe there are Nagios checks that use it, but I don't expect people use a 
lot of it.

> I can find nothing that creates an instance grepping around.
> Nothing in the spec suite uses it, at all, except the specs for 
> Puppet::Status themselves.
> Nothing in the test suite uses it at all.
> I can easily enough fix this: you can puppet status find dummy and get some 
> output. I can totally write a trivial wrapper around the action that does 
> something more human-friendly to it and all, if we want, but…
> 
> …the output is “I am alive”, and the current time. Zero value. The REST 
> version is no more informative, really, since any status but “I am alive” 
> will be, y'know, “I can’t connect to the server”, as far as I can tell.
> 
> I propose the best fix ever: we just delete the code entirely, and run with 
> it. (Specifically, delete the face code, and schedule the rest of it for 
> deletion in 2.8 or whatever the release after the 2.7 series is, since it 
> might be used in XML-RPC or something.)
> 
Do you think the processes should have any sort of ability to provide status?
----------------------------------------
Bug #7123: 'puppet status' is non-functional
https://projects.puppetlabs.com/issues/7123

Author: Luke Kanies
Status: Accepted
Priority: Normal
Assignee: Daniel Pittman
Category: Faces
Target version: 
Affected Puppet version: 2.7.0rc1
Keywords: 
Branch: 


As far as I can tell it's impossible to get anything but an exception from it.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to