diff options
| author | Paul Berry <paul@puppetlabs.com> | 2010-11-09 15:43:26 -0800 |
|---|---|---|
| committer | Paul Berry <paul@puppetlabs.com> | 2010-11-09 15:43:26 -0800 |
| commit | e62870f63c63644a7719636f211c8e821695cc20 (patch) | |
| tree | 01790f4d2cdd886c72035ae80de61b4554b12e8a /lib | |
| parent | 0f5c57f0f81879ec0bf8be0350ad87ac9778527d (diff) | |
| parent | 04515cfb1230d6bf0fd88910c91715d1d94faeae (diff) | |
| download | puppet-e62870f63c63644a7719636f211c8e821695cc20.tar.gz puppet-e62870f63c63644a7719636f211c8e821695cc20.tar.xz puppet-e62870f63c63644a7719636f211c8e821695cc20.zip | |
Merge branch 'feature/master/5198' into next
Diffstat (limited to 'lib')
| -rwxr-xr-x | lib/puppet/type/tidy.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/puppet/type/tidy.rb b/lib/puppet/type/tidy.rb index 65cc077cf..93a7e96cf 100755 --- a/lib/puppet/type/tidy.rb +++ b/lib/puppet/type/tidy.rb @@ -141,15 +141,17 @@ Puppet::Type.newtype(:tidy) do newparam(:size) do desc "Tidy files whose size is equal to or greater than the specified size. Unqualified values are in kilobytes, but - *b*, *k*, and *m* can be appended to specify *bytes*, *kilobytes*, - and *megabytes*, respectively. Only the first character is - significant, so the full word can also be used." + *b*, *k*, *m*, *g*, and *t* can be appended to specify *bytes*, + *kilobytes*, *megabytes*, *gigabytes*, and *terabytes*, respectively. + Only the first character is significant, so the full word can also + be used." @@sizeconvertors = { :b => 0, :k => 1, :m => 2, - :g => 3 + :g => 3, + :t => 4 } def convert(unit, multi) |
