Issue #11641 has been updated by Josh Cooper. Category set to tidy Status changed from Unreviewed to Accepted Assignee set to Nick Lewis Target version set to 2.7.x
Hi Rob, Thanks for reporting this. It's definitely one of those cases that should never happen. We'll look into it. For reference this issue was introduced with the fix for #9671 ---------------------------------------- Bug #11641: After 2.7.9 update, Tidy resource can only tidy a single file per run https://projects.puppetlabs.com/issues/11641 Author: Rob Terhaar Status: Accepted Priority: Normal Assignee: Nick Lewis Category: tidy Target version: 2.7.x Affected Puppet version: 2.7.9 Keywords: Branch: We use the Tidy resource to clean up old apt files from /var/cache/apt/archives, and after upgrading from 2.7.6 to 2.7.9, it is no longer able to tidy more than file per Puppet agent run. I now receive a warning that says "appears to have a negative number of dependencies" <pre> ... notice: /Stage[main]/Apt::Cleaner/Tidy[/var/cache/apt/archives]: Tidying File[/var/cache/apt/archives/libaprutil1_1.3.9+dfsg-3ubuntu0.10.04.1_i386.deb] notice: /Stage[main]/Apt::Cleaner/Tidy[/var/cache/apt/archives]: Tidying File[/var/cache/apt/archives/postfix-pcre_2.7.0-1ubuntu0.2_i386.deb] notice: /Stage[main]/Apt::Cleaner/Tidy[/var/cache/apt/archives]: Tidying File[/var/cache/apt/archives/pflogsumm_1.1.2-2_all.deb] info: Applying configuration version 'fabric-rterhaar-master-1325104418' notice: /File[/var/cache/apt/archives/snmpd_5.4.2.1~dfsg0ubuntu1-0ubuntu2.1_i386.deb]/ensure: removed warning: /Stage[main]/Apt::Cleaner/Tidy[/var/cache/apt/archives]: appears to have a negative number of dependencies warning: Class[Apt::Cleaner]: appears to have a negative number of dependencies ... </pre> The Tidy resource code that generates this error is very simple: <pre> tidy{'/var/cache/apt/archives': age => '1d', rmdirs => false, recurse => true, matches => '*.deb', } </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
