Install iucode-tool on physical machines with Intel CPUs
[mirror/dsa-puppet.git] / modules / hardware / manifests / intel.pp
diff --git a/modules/hardware/manifests/intel.pp b/modules/hardware/manifests/intel.pp
new file mode 100644 (file)
index 0000000..3fb300c
--- /dev/null
@@ -0,0 +1,7 @@
+class hardware::intel {
+       if $::virtual == 'physical' and $::processor0 =~ /^Intel/ {
+               package { 'iucode-tool':
+                       ensure => installed,
+               }
+       }
+}