Hello,
I need a faster way to get the current catalog version on the puppet server.
For example, the following script:
returns the complete catalog from the server. It takes around 4 secs.
I'm only interested in the version:
$ ./getcat.sh | jq .version
"heads/devel-0-ge66985f4"
Is it possible to enhance the REST API that I can get the information faster,
eg instantly?
I'm checking if a puppet run is necessary, by comparing:
/opt/puppetlabs/puppet/public/last_run_summary.yaml
against the version on the server. For this I only need the version, not
everything else.
best regards,
Martin