Foreman's design around separated fact-POST followed by enc-GET adds unnecessary complexity to it's usage as an ENC - see slauger/openvox-operator#26
Adding an endpoint that accepts POSTs (with facts and possibly trusted as JSON in the body, similar to how it seems PE does it), ingresses the provided facts, and then finally returns an ENC response built atop them, would simplify integrating Foreman into environments where it's difficult to make use of the foreman-provided node.rb.
Foreman's design around separated fact-POST followed by enc-GET adds unnecessary complexity to it's usage as an ENC - see slauger/openvox-operator#26
Adding an endpoint that accepts POSTs (with
factsand possiblytrustedas JSON in the body, similar to how it seems PE does it), ingresses the provided facts, and then finally returns an ENC response built atop them, would simplify integrating Foreman into environments where it's difficult to make use of the foreman-providednode.rb.