theforeman / puppet-foreman

Puppet module for Foreman
GNU General Public License v3.0
104 stars 269 forks source link

Use JSON to parse Foreman API responses #1142

Closed ekohl closed 10 months ago

ekohl commented 10 months ago

The PSON parser is deprecated and Foreman doesn't actually send PSON; it sends JSON.

See https://www.puppet.com/docs/puppet/8/http_api/pson.html

ekohl commented 10 months ago

CentOS 8 timed out (which is more common than I'd like), but this is part of https://github.com/theforeman/puppet-foreman/pull/1139 and that passed as well as Debian 11 & 20.04 so I'm merging this.