jacky wu
2011-Jan-19 03:05 UTC
[Puppet Users] a non-obvious response of puppet kick rest api
I saw there is a rest api for "puppet kick" at http://docs.puppetlabs.com/guides/rest_api.html , which is "PUT /{environment}/run/{node certificate name}". I run the example command "curl -k -X PUT -H "Content-Type: text/pson" -d "{}" https://puppetclient:8139/production/run/puppet" at my puppet master server , but get a large response message. In my opinion, a rest api should be simple and the response result should be a Structured data and can identify the result is true or false obviously. In my situation, I just wanna know did the client update at that time or not. And the Unstructured response data is not useful for Secondary development。 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.