From: Julien Cristau Date: Sat, 7 Sep 2019 07:59:17 +0000 (+0200) Subject: Only install intel microcode on amd64 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-puppet.git;a=commitdiff_plain;h=942ab0733e484582e51f759e221c99bafdc9e52b Only install intel microcode on amd64 Some other-arch hosts don't seem to have a "processor0" fact, so bypass that. --- 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, }