Case closed: - The script works, which I just found out, but not on my testing machine.
The catalog.version then can be queried with cat result.txt | jq .version -- 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/b12c69a5-2b9e-4420-a654-381f731f98a5n%40googlegroups.com.
