From 942ab0733e484582e51f759e221c99bafdc9e52b Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sat, 7 Sep 2019 09:59:17 +0200 Subject: [PATCH] Only install intel microcode on amd64 Some other-arch hosts don't seem to have a "processor0" fact, so bypass that. --- modules/hardware/manifests/intel.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hardware/manifests/intel.pp b/modules/hardware/manifests/intel.pp index 3a2513dcb..0cd302d03 100644 --- a/modules/hardware/manifests/intel.pp +++ b/modules/hardware/manifests/intel.pp @@ -1,5 +1,5 @@ class hardware::intel { - if $::virtual == 'physical' and $::processor0 =~ /^Intel/ { + if $::virtual == 'physical' and $::debarchitecture == 'amd64' and $::processor0 =~ /^Intel/ { package { 'iucode-tool': ensure => installed, } -- 2.20.1