Issue #22229 has been reported by Carl Caum.

----------------------------------------
Bug #22229: File resources created by managing directories recursively have no 
containment
https://projects.puppetlabs.com/issues/22229

* Author: Carl Caum
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
When a directory is being managed recursively, the file resources created 
within the directory do not have any class containment.  
For example:

```
  file { '/tmp/example':
    source  => 'puppet:///modules/example/example',
    recurse => true,
  }
```

Will result in:
```
Notice: /Stage[main]/Example/File[/tmp/example]/ensure: created
Notice: /File[/tmp/example/example_directory]/ensure: created
Notice: /File[/tmp/example/example_directory/example_file3]/ensure: defined 
content as '{md5}d41d8cd98f00b204e9800998ecf8427e'
Notice: /File[/tmp/example/example_file2]/ensure: defined content as 
'{md5}d41d8cd98f00b204e9800998ecf8427e'
Notice: /File[/tmp/example/example_file1]/ensure: defined content as 
'{md5}d41d8cd98f00b204e9800998ecf8427e'
```


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to