Project

General

Profile

Actions

Bug #4022

closed

Puppetrun through the API is a GET instead of a PUT

Added by Ewoud Kohl van Wijngaarden over 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

http://theforeman.org/api_v2.html wrote:

GET /api/hosts/:id/puppetrun Force a puppet run on the agent.

According to REST a GET shouldn't modify anything so it should be a PUT. I haven't investigated if it's a documetation error or an actual bug.

Actions

Also available in: Atom PDF