]> git.openstreetmap.org Git - chef.git/blobdiff - .kitchen.yml
Report details of configured network interfaces to prometheus
[chef.git] / .kitchen.yml
index 7c446effcc7dd0376579f18028160f24a2083474..854666cc6f144da828f0d82d36baea55a82d5ead 100644 (file)
@@ -278,6 +278,15 @@ suites:
   - name: prometheus
     run_list:
       - recipe[prometheus::default]
+    attributes:
+      networking:
+        interfaces:
+          test:
+            interface: eth0
+            role: internal
+            address: 172.18.0.2
+            prefix: 16
+            gateway: 172.18.0.1
   - name: prometheus-server
     run_list:
       - recipe[prometheus::server]