Bug #505
file's recurse=> breaks when specifying a numeric depth
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | - | |||
| Affected Puppet version: | 0.25.4 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
When doing something like this:
file { “/home/$name”: ensure => present, source => “puppet://puppet/export/users/$name”, recurse => 2 }
The use of a numeric value for ‘recurse’ results in the following error:
Failed to generate additional resources during transaction: comparison of String with 0 failed
This should do something similar to ‘find -maxdepth 2’
History
Updated by Luke Kanies about 5 years ago
- Status changed from 1 to Closed
- 7 set to fixed
Fixed in r2219.