diff options
author | James Turnbull <james@lovedthanlost.net> | 2009-01-27 19:28:56 +1100 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-01-27 19:28:56 +1100 |
commit | fa9dc73811f26ed70c412cb264413fbedf0fef55 (patch) | |
tree | cb4e0bf54004eed2fe870f8bc44e722e6f50c4a2 | |
parent | 7c8094c70490e134dcac2fd772de36e5312e8388 (diff) | |
download | puppet-fa9dc73811f26ed70c412cb264413fbedf0fef55.tar.gz puppet-fa9dc73811f26ed70c412cb264413fbedf0fef55.tar.xz puppet-fa9dc73811f26ed70c412cb264413fbedf0fef55.zip |
Typo fix
-rwxr-xr-x | lib/puppet/type/tidy.rb | 10 |
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. |