Jira (PUP-11079) Setting age=0 on a tidy resource does not remove all files
Title: Message Title Claire Cadman updated an issue Puppet / PUP-11079 Setting age=0 on a tidy resource does not remove all files Change By: Claire Cadman Labels: doc-reviewed Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.401529.1622726494000.79605.1626178020027%40Atlassian.JIRA.
Jira (PUP-11079) Setting age=0 on a tidy resource does not remove all files
Title: Message Title Victor Bobosila updated an issue Puppet / PUP-11079 Setting age=0 on a tidy resource does not remove all files Change By: Victor Bobosila Fix Version/s: PUP 7.9.0 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.401529.1622726494000.76936.1625742060035%40Atlassian.JIRA.
Jira (PUP-11079) Setting age=0 on a tidy resource does not remove all files
Title: Message Title Victor Bobosila updated an issue Puppet / PUP-11079 Setting age=0 on a tidy resource does not remove all files Change By: Victor Bobosila Fix Version/s: PUP 6.24.0 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.401529.1622726494000.73551.1625486460043%40Atlassian.JIRA.
Jira (PUP-11079) Setting age=0 on a tidy resource does not remove all files
Title: Message Title Gabriel Nagy updated an issue Puppet / PUP-11079 Setting age=0 on a tidy resource does not remove all files Change By: Gabriel Nagy Release Notes: Bug Fix Release Notes Summary: Previously, the `age` parameter of the `tidy` resource did not work according to the documentation and only removed files older than the specified time. Now it removes files whose age is equal to or greater than the specified time. Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.401529.1622726494000.59224.1623935160040%40Atlassian.JIRA.
Jira (PUP-11079) Setting age=0 on a tidy resource does not remove all files
Title: Message Title Josh Cooper commented on PUP-11079 Re: Setting age=0 on a tidy resource does not remove all files Merged to 6.x in https://github.com/puppetlabs/puppet/commit/78a9f15b5bcbccc88c102ddbb1355706a0fd5e48 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.401529.1622726494000.58897.1623879600196%40Atlassian.JIRA.
Jira (PUP-11079) Setting age=0 on a tidy resource does not remove all files
Title: Message Title Gabriel Nagy assigned an issue to Gabriel Nagy Puppet / PUP-11079 Setting age=0 on a tidy resource does not remove all files Change By: Gabriel Nagy Assignee: Gabriel Nagy Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.401529.1622726494000.57989.1623854580028%40Atlassian.JIRA.
Jira (PUP-11079) Setting age=0 on a tidy resource does not remove all files
Title: Message Title Ciprian Badescu updated an issue Puppet / PUP-11079 Setting age=0 on a tidy resource does not remove all files Change By: Ciprian Badescu Story Points: 1 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.401529.1622726494000.57795.1623837120114%40Atlassian.JIRA.
Jira (PUP-11079) Setting age=0 on a tidy resource does not remove all files
Title: Message Title Ciprian Badescu updated an issue Puppet / PUP-11079 Setting age=0 on a tidy resource does not remove all files Change By: Ciprian Badescu Sprint: ready for triage NW-2021-06-30 Add Comment This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.401529.1622726494000.50939.1623138840030%40Atlassian.JIRA.
Jira (PUP-11079) Setting age=0 on a tidy resource does not remove all files
Title: Message Title Gabriel Nagy created an issue Puppet / PUP-11079 Setting age=0 on a tidy resource does not remove all files Issue Type: Bug Assignee: Unassigned Created: 2021/06/03 6:21 AM Priority: Normal Reporter: Gabriel Nagy Puppet Version: any Puppet Server Version: n/a OS Name/Version: n/a The documentation for the age parameter for the tidy type states: Tidy files whose age is equal to or greater than the specified time. You can choose seconds, minutes, hours, days, or weeks by specifying the first letter of any of those words (for example, ‘1w’ represents one week). Docs: https://puppet.com/docs/puppet/7.7/types/tidy.html#tidy-attribute-age Specifying 0 will remove all files. Desired Behavior: Setting age=0 removes all files Actual Behavior: Setting age=0 requires the target file to be at least 1 second old. This was discovered when writing integration tests for the puppet resource subcommand (PUP-11074). Relevant code: https://github.com/puppetlabs/puppet/blob/b91e53a38cb4671d4de9078837c05931c69121f9/lib/puppet/type/tidy.rb#L147 def tidy?(path, stat) # If the file's older than we allow, we should get rid of it.