Bug #2100

recurse off by one

Added by Hari Sekhon almost 3 years ago. Updated 6 months ago.

Status:Closed Start date:03/23/2009
Priority:Normal Due date:
Assignee:Jesse Wolfe % Done:

0%

Category:file
Target version:-
Affected Puppet version:0.24.7 Branch:
Keywords:
Votes: 0

Description

setting recurse => 1 in a file resource does not cause it to descend into the first level (as opposed to 0 or false which is no recursion).

It seems I have to do recurse => 2 to get it to source the files immediately in the directory specified by the file resource and stop there without entering any subdirectories.

This is not documented in the Type Reference, is not the expect intuitive behaviour and seems like an off by one bug.

History

Updated by James Turnbull almost 3 years ago

  • Status changed from Unreviewed to Needs More Information
  • Assignee set to Luke Kanies
  • Target version set to 4

Okay – that doesn’t sound right? Luke?

Updated by Luke Kanies almost 3 years ago

  • Status changed from Needs More Information to Accepted

Yeah, if that’s happening it’s a bug. But I seem to recall that being fixed, either in 0.24.8 or in master. Anyone care to test those branches?

Updated by Luke Kanies over 1 year ago

  • Assignee changed from Luke Kanies to Jesse Wolfe
  • Target version changed from 4 to 2.7.x

Updated by James Turnbull 6 months ago

  • Status changed from Accepted to Closed

Please re-open if still an issue.

Updated by James Turnbull 6 months ago

  • Target version deleted (2.7.x)

Also available in: Atom PDF