Configure Prometheus to collect metrics from jenkins-prometheus-plugin

Change-Id: Ic09b7fb07b13a2436c26b2fc5f804ab852ee8dc6
diff --git a/jenkins/meta/prometheus.yml b/jenkins/meta/prometheus.yml
new file mode 100644
index 0000000..c7384e6
--- /dev/null
+++ b/jenkins/meta/prometheus.yml
@@ -0,0 +1,11 @@
+{%- if grains.get('jenkins_plugins', {}).get('prometheus', {}).get('version', False) and pillar.get('jenkins', {}).get('client',{}).get('master') %}
+{%- from "jenkins/map.jinja" import client with context %}
+server:
+  target:
+    static:
+      jenkins:
+        metrics_path: /prometheus
+        endpoint:
+          - address: {{ client.master.host }}
+            port: {{ client.master.port }}
+{%- endif %}