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 #1

Updated by Dominic Cleal over 10 years ago

  • Category set to API
Actions #2

Updated by Ewoud Kohl van Wijngaarden over 10 years ago

I can't set it to ready for testing, but I think https://github.com/theforeman/foreman/pull/1162 fixes it.

Actions #3

Updated by Dominic Cleal over 10 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Target version set to 1.9.2

Fixed your account too :)

Actions #4

Updated by Dominic Cleal over 10 years ago

  • translation missing: en.field_release set to 2
Actions #5

Updated by Anonymous over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF