Issue #5012 has been updated by Nigel Kersten. Status changed from Needs design decision to Code Insufficient
We're not rejecting these, just waiting till issues are resolved. ---------------------------------------- Bug #5012: File should autorequire Mounts https://projects.puppetlabs.com/issues/5012 Author: Stefan Schulte Status: Code Insufficient Priority: Normal Assignee: Nigel Kersten Category: file Target version: Affected Puppet version: 2.6.1 Keywords: communitypatch Branch: I want to control mounpoints and files with Puppet. This is a common example: file {'/foo': ensure => directory} mount {'/foo': ensure => mounted } file {'/foo/bar': ensure => file} Unfortunately `File[/foo/bar]` just autorequires `File[/foo]` so it can happen that puppet creates `/foo` and `/foo/bar` and then mount `/foo`, so `/foo/bar` disappears and consumes diskspace. Because I cannot think of an use case where a directory or file does NOT depend on the parent mount, I propose to add an autorequire statement in the file-type. -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
