Doc validity check for redhat
diff --git a/linux/map.jinja b/linux/map.jinja
index fd538c3..851c6ab 100644
--- a/linux/map.jinja
+++ b/linux/map.jinja
@@ -11,6 +11,7 @@
         'package': {},
         'selinux': 'permissive',
         'ca_certs_dir': '/usr/local/share/ca-certificates',
+        'doc_validity_pkgs': ['python-yaml'],
     },
     'Debian': {
         'pkgs': ['python-apt','vim'],
@@ -24,6 +25,7 @@
         'package': {},
         'selinux': 'permissive',
         'ca_certs_dir': '/usr/local/share/ca-certificates',
+        'doc_validity_pkgs': ['python-yaml'],
     },
     'RedHat': {
         'pkgs': ['policycoreutils', 'policycoreutils-python', 'vim-enhanced', 'telnet', 'wget'],
@@ -37,6 +39,7 @@
         'package': {},
         'selinux': 'permissive',
         'ca_certs_dir': '/usr/local/share/ca-certificates',
+        'doc_validity_pkgs': ['PyYAML'],
     },
 }, grain='os_family', merge=salt['pillar.get']('linux:system')) %}
 
diff --git a/linux/system/doc.sls b/linux/system/doc.sls
index 55480ea..f499516 100644
--- a/linux/system/doc.sls
+++ b/linux/system/doc.sls
@@ -19,7 +19,7 @@
 
 linux_system_doc_validity_check:
   pkg.installed:
-  - name: python-yaml 
+  - names: {{ system.doc_validity_pkgs }}
   cmd.wait:
   - name: python -c "import yaml; stream = file('/etc/salt/grains.d/sphinx', 'r'); yaml.load(stream); stream.close()"
   - require:
@@ -27,4 +27,4 @@
   - watch:
     - file: linux_system_doc_grain
 
-{%- endif %}
\ No newline at end of file
+{%- endif %}