Fix metadata generation
diff --git a/salt/meta/sensu.yml b/salt/meta/sensu.yml
index 8b2ea59..cac0fdf 100644
--- a/salt/meta/sensu.yml
+++ b/salt/meta/sensu.yml
@@ -1,12 +1,13 @@
-local_salt_master_proc:
-  command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C salt-master -u root -c 1:10"
-  interval: 60
-  occurrences: 1
-  subscribers:
-  - local-salt-master
-local_salt_minion_proc:
-  command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C salt-minion -u root -c 1:10"
-  interval: 60
-  occurrences: 1
-  subscribers:
-  - local-salt-minion
+check:
+  local_salt_master_proc:
+    command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C salt-master -u root -c 1:10"
+    interval: 60
+    occurrences: 1
+    subscribers:
+    - local-salt-master
+  local_salt_minion_proc:
+    command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C salt-minion -u root -c 1:10"
+    interval: 60
+    occurrences: 1
+    subscribers:
+    - local-salt-minion
diff --git a/salt/meta/sphinx.yml b/salt/meta/sphinx.yml
index 35388a9..41df43c 100644
--- a/salt/meta/sphinx.yml
+++ b/salt/meta/sphinx.yml
@@ -1,19 +1,20 @@
-name: Salt
-description: Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds.
-role:
-{%- if pillar.salt.minion is defined %}
-{%- from "salt/map.jinja" import minion with context %}
-  minion:
-    name: minion
-    param:
-      version:
-        value: {{ salt['cmd.run']('salt-minion --version')|replace('salt-minion ', '') }}
-{%- endif %}
-{%- if pillar.salt.master is defined %}
-{%- from "salt/map.jinja" import master with context %}
-  master:
-    name: master
-    param:
-      version:
-        value: {{ salt['cmd.run']('salt --version')|replace('salt ', '') }}
-{%- endif %}
+doc:
+  name: Salt
+  description: Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds.
+  role:
+  {%- if pillar.salt.minion is defined %}
+  {%- from "salt/map.jinja" import minion with context %}
+    minion:
+      name: minion
+      param:
+        version:
+          value: {{ salt['cmd.run']('salt-minion --version')|replace('salt-minion ', '') }}
+  {%- endif %}
+  {%- if pillar.salt.master is defined %}
+  {%- from "salt/map.jinja" import master with context %}
+    master:
+      name: master
+      param:
+        version:
+          value: {{ salt['cmd.run']('salt --version')|replace('salt ', '') }}
+  {%- endif %}