From 2e1cf8b0233a3e6a84978310ea97f5570899f249 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 9 Sep 2012 10:02:57 +0100 Subject: [PATCH] I don't know how this made it through our rigorous qa Signed-off-by: Stephen Gran --- modules/debian-org/lib/facter/architecture.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/debian-org/lib/facter/architecture.rb b/modules/debian-org/lib/facter/architecture.rb index 894c82c0a..e04cadc0c 100644 --- 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 -- 2.20.1