summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2009-01-27 19:28:56 +1100
committerJames Turnbull <james@lovedthanlost.net>2009-01-27 19:28:56 +1100
commitfa9dc73811f26ed70c412cb264413fbedf0fef55 (patch)
treecb4e0bf54004eed2fe870f8bc44e722e6f50c4a2
parent7c8094c70490e134dcac2fd772de36e5312e8388 (diff)
downloadpuppet-fa9dc73811f26ed70c412cb264413fbedf0fef55.tar.gz
puppet-fa9dc73811f26ed70c412cb264413fbedf0fef55.tar.xz
puppet-fa9dc73811f26ed70c412cb264413fbedf0fef55.zip
Typo fix
-rwxr-xr-xlib/puppet/type/tidy.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/puppet/type/tidy.rb b/lib/puppet/type/tidy.rb
index a0b0fbe6c..98d69bc3a 100755
--- a/lib/puppet/type/tidy.rb
+++ b/lib/puppet/type/tidy.rb
@@ -25,19 +25,19 @@ Puppet::Type.newtype(:tidy) do
at least one of the patterns specified. Multiple patterns can
be specified using an array.
- tidy { "/tmp":
- age => "1w",
+ tidy { \"/tmp\":
+ age => \"1w\",
recurse => false,
- matches => [ "[0-9]pub*.tmp", "*.temp", "tmpfile?" ]
+ matches => [ \"[0-9]pub*.tmp\", \"*.temp\", \"tmpfile?\" ]
}
- The example above removes files from /tmp if they are one week
+ The example above removes files from \/tmp if they are one week
old or older, are not in a subdirectory and match one of the shell
globs given.
Note that the patterns are matched against the
basename of each file -- that is, your glob patterns should not
- have any '/' characters in them, since you're only specifying
+ have any '/' characters in them, since you are only specifying
against the last bit of the file."
# Make sure we convert to an array.