It's not a "bug", so much as "wishlist". If neither size nor age is specified, tidy should work off of all files, same as "size >= 0". I'm not sure I understand the purpose of forcing users to specify something when they've already specified the file's name.

Thanks,
Jayen

Micah Anderson wrote:
* Jayen Ashar <[EMAIL PROTECTED]> [2008-10-01 17:59-0400]:
Package: puppet
Version: 0.24.4-8~bpo40+1
Severity: wishlist

this entry in my manifest:
  tidy {
    "/c/z3208682/test_tidy":
    matches => "README.desktop",
    recurse => true,
    require => [ File["/etc/kde-profile"], File["/etc/kderc"]];
  }

gives this error:
Thu Oct 02 10:31:49 +1000 2008 Puppet (err): Could not create 
/c/z3208682/test_tidy/z3208682/Desktop/README.desktop: Tidy must specify size, 
age, or both
Thu Oct 02 10:31:49 +1000 2008 
//Node[default]/staff/staff_readme/Tidy[/c/z3208682/test_tidy/z3208682/Desktop] 
(notice): Cannot manage: Tidy must specify size, age, or both

adding "size => 0" works, but it seems annoying to have to do.

So what is the bug here? It doesn't seem like its a bug that you have to
specify a size, as how else does tidy know what to work off of? There is
no default action for tidy on purpose.

I can see a valid bug about the documentation not specifying that you
need to specify one of these.

micah

--
Jayen Ashar     
Technical Officer       
Computing Center
School of Mathematics and Statistics
M029, Red Center
The University of New South Wales SYDNEY NSW 2052
Ph: + 61 (2) 93857016
Fax: + 61 (2) 93857192
CRICOS provider code: 00098G



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to