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:
56af37a
)
I don't know how this made it through our rigorous qa
author
Stephen Gran
<steve@lobefin.net>
Sun, 9 Sep 2012 09:02:57 +0000
(10:02 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 9 Sep 2012 09:03:04 +0000
(10:03 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/debian-org/lib/facter/architecture.rb
patch
|
blob
|
history
diff --git
a/modules/debian-org/lib/facter/architecture.rb
b/modules/debian-org/lib/facter/architecture.rb
index
894c82c
..
e04cadc
100644
(file)
--- a/
modules/debian-org/lib/facter/architecture.rb
+++ b/
modules/debian-org/lib/facter/architecture.rb
@@
-3,8
+3,8
@@
Facter.add(:architecture) do
setcode do
model = Facter.value(:hardwaremodel)
case model
- when 'x86_64'
: "amd64"
- when /(i[3456]86|pentium)/
:
"i386"
+ when 'x86_64'
then "amd64"
+ when /(i[3456]86|pentium)/
then
"i386"
else
model
end