puppetmaster upgrade: add a lua filter to remove the job_id
The new puppet masters add a job_id to all reports. however the
puppetdb4.4 schema dose not recognise this. this hack adds a lua filter to
nginx to remove the job_id from the payload before sending it to
I have created a simple test running at http://22.214.171.124/test/ which
runs this lua code with a simple backend flask app which simply does
examples of the failed reports can be found in:
if i remove the "job_id":null, from one of theses files. then move it
to /var/lib/puppetdb/stockpile/cmd/q/ and finally restart puppetdb.
then the report seems to be processed correctly so there is a chance
this could work but it is, in every way, a hack!!!
ping me on irc if you want a login to 126.96.36.199