I'm trying to do some interesting javascript integration between grafana
and puppetdb. I'd like a grafana scripted dashboard to to make a puppetdb
API call, to then create a list of hosts for a dashboard. However, this is
a cross-domain request, so browsers don't allow it. With Apache, I would
add this to the configuration:
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET, OPTIONS"
Header set Access-Control-Allow-Headers "origin, authorization, accept"
However, puppetdb is runny via jetty, and I can't figure out a way to do
this. Anyone know how to allow this?
Thanks!
--
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 puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/d8ae1fae-32c1-4f5b-a281-f26a5ed50df8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.