projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Trailing line ending characters are sometimes nice
[mirror/dsa-puppet.git]
/
modules
/
debian-org
/
lib
/
facter
/
architecture.rb
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
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
else
model
end