[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5
Garrett Honeycutt
puppet-dev at garretthoneycutt.com
Tue May 10 07:59:53 UTC 2011
The following commit has been merged in the experimental branch:
commit 71a0ceadffc816c08dd979e139fbbf2fa94023a0
Author: Garrett Honeycutt <puppet-dev at garretthoneycutt.com>
Date: Wed Nov 3 16:38:06 2010 -0700
(#5198) add terabyte support to tidy type's size parameter
diff --git a/lib/puppet/type/tidy.rb b/lib/puppet/type/tidy.rb
index 897ee90..93a7e96 100755
--- a/lib/puppet/type/tidy.rb
+++ b/lib/puppet/type/tidy.rb
@@ -141,8 +141,8 @@ 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*, *m*, and *g* can be appended to specify *bytes*,
- *kilobytes*, *megabytes*, and *gigabytes*, respectively.
+ *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."
@@ -150,7 +150,8 @@ Puppet::Type.newtype(:tidy) do
:b => 0,
:k => 1,
:m => 2,
- :g => 3
+ :g => 3,
+ :t => 4
}
def convert(unit, multi)
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list