Hi

$ ./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?

When we updated the env, we are storing the current version into a simple textfile, as part of the env update process.

Then we have an apache, that serves these textfiles, protected by the CA and mTLS using the certs from puppet.

Then your curl won't go to :8140, but just :443 but you get what you want without any compilation overhead.

~pete

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/puppet-users/6ab909d5-f8b8-4821-8522-0ca75e0ff5e5%40immerda.ch.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to