From 6ab4f1b0e2a3f5881d865ca181c053c64d5026a7 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Tue, 28 Oct 2008 14:48:11 +1100 Subject: Fixed #1661 - Type reference: tidy should specify manditory parameters --- lib/puppet/type/tidy.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/puppet') diff --git a/lib/puppet/type/tidy.rb b/lib/puppet/type/tidy.rb index fe8bde9ab..7a464323f 100755 --- a/lib/puppet/type/tidy.rb +++ b/lib/puppet/type/tidy.rb @@ -2,7 +2,10 @@ module Puppet newtype(:tidy, :parent => Puppet.type(:file)) do @doc = "Remove unwanted files based on specific criteria. Multiple criteria are OR'd together, so a file that is too large but is not - old enough will still get tidied." + old enough will still get tidied. + + You must specify either the size or age of the file (or both) for + files to be tidied." newparam(:path) do desc "The path to the file or directory to manage. Must be fully -- cgit