projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2583038
)
Only install intel microcode on amd64
author
Julien Cristau
<jcristau@debian.org>
Sat, 7 Sep 2019 07:59:17 +0000
(09:59 +0200)
committer
Julien Cristau
<jcristau@debian.org>
Sat, 7 Sep 2019 07:59:17 +0000
(09:59 +0200)
Some other-arch hosts don't seem to have a "processor0" fact, so bypass
that.
modules/hardware/manifests/intel.pp
patch
|
blob
|
history
diff --git
a/modules/hardware/manifests/intel.pp
b/modules/hardware/manifests/intel.pp
index
3a2513d
..
0cd302d
100644
(file)
--- 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,
}