Bug #3364
tidy does not work with age=>0 (maybe not at all)
| Status: | Duplicate | Start date: | 03/11/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | - | |||
| Affected Puppet version: | 0.25.4 | Branch: | ||
| Keywords: | tidy | |||
| Votes: | 0 |
Description
the following example does not act as I expect:
root@ubuntu:/tmp# cd /tmp root@ubuntu:/tmp# mkdir blah2 root@ubuntu:/tmp# touch blah2/one root@ubuntu:/tmp# touch blah2/two root@ubuntu:/tmp# puppet -e ‘tidy{“/tmp/blah2/”: age=> 0}’ root@ubuntu:/tmp# ls /tmp/blah2/ one two
after I run tidy, these files should not be there. right?
I verified this behavior on Mac and Ubuntu.
History
Updated by Dan Bode about 2 years ago
actually, this works if I specify
recurse => true
what is the expected behavior of tidy without recurse => true? to do nothing?
Updated by James Turnbull about 2 years ago
- Status changed from Unreviewed to Needs More Information
- Assignee set to Dan Bode
- Priority changed from High to Normal
Is this fixed by #3162?
Updated by Dan Bode about 2 years ago
- Status changed from Needs More Information to Duplicate
This is clearly a duplicate of #3162. I will verify that its fixed in HEAD. I somehow missed that bug when I searched before.