From: Stephen Gran Date: Sun, 9 Sep 2012 09:02:57 +0000 (+0100) Subject: I don't know how this made it through our rigorous qa X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=2e1cf8b0233a3e6a84978310ea97f5570899f249;p=mirror%2Fdsa-puppet.git I don't know how this made it through our rigorous qa Signed-off-by: Stephen Gran --- 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