]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
I don't know how this made it through our rigorous qa
authorStephen Gran <steve@lobefin.net>
Sun, 9 Sep 2012 09:02:57 +0000 (10:02 +0100)
committerStephen 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

index 894c82c0a77ec65b35c1fb5c34fccd846549d2e8..e04cadc0c7f77fbeff3dfcaa755b5f80c315d9ab 100644 (file)
@@ -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