lib/puppet/indirector/catalog/certless.rb
# Override the REST indirector headers for the certless
# catalog indirector as the `puppet/pson` header throws of the
# request body and wraps it in a "value":{<request>} which
# causes a validation error on the v4/catalog endpoint
Override the REST indirector headers for the certless
catalog indirector as the `puppet/pson` header throws of the
request body and wraps it in a "value":{} which
causes a validation error on the v4/catalog endpoint
Override the REST indirector headers for the certless catalog indirector as the ` puppet / pson ` header throws of the request body and wraps it in a " value " : {} which causes a validation error on the v4 / catalog endpoint
def headers
          common_headers = {
            "Content-Type" => 'text/json',
            "Accept" => 'application/json',
            Puppet::Network::HTTP::HEADER_PUPPET_VERSION => Puppet.version
          }
          add_accept_encoding(common_headers)
        end
def headers common_headers = { "Content-Type" => 'text/json' , "Accept" => 'application/json' , Puppet :: Network :: HTTP :: HEADER_PUPPET_VERSION => Puppet . version } add_accept_encoding ( common_headers ) end
Override the REST indirector headers for the certless
catalog indirector as the `puppet/pson` header throws of the
request body and wraps it in a "value":{<request>} which
causes a validation error on the v4/catalog endpoint
Override the REST indirector headers for the certless catalog indirector as the ` puppet / pson ` header throws of the request body and wraps it in a " value " : { <request > } which causes a validation error on the v4 / catalog endpoint