]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Added correct converstions for PB and EB.
authorZachary Alex Stern <zacharyalexstern@gmail.com>
Tue, 28 Oct 2014 20:14:06 +0000 (13:14 -0700)
committerZachary Alex Stern <zacharyalexstern@gmail.com>
Tue, 28 Oct 2014 20:14:06 +0000 (13:14 -0700)
commit9295d0d5cae91f8c9b3b4b4fd891661666ab9e13
treeb7119b529fb81d4951c949270734cf025b66b732
parent0cd08b377b58927aefa15908689a69dfb99339d5
Added correct converstions for PB and EB.

 * We were converting Exabytes to bytes as Petabytes.
 * Updated tests to cover ever unit.
 * Added note that we're going by the old, inaccurate definitions of
   Kilobytes, Megabytes, etc, in that we treat them as powers of 2.
lib/puppet/parser/functions/to_bytes.rb
spec/functions/to_bytes_spec.rb