On Wednesday, February 25, 2015 at 5:41:19 PM UTC-6, Raphaël Pinson wrote: > > Hello, > > > As per Kylo's comment in PR for PUP-4036 > <https://github.com/puppetlabs/puppet/pull/3645#issuecomment-76032829>, > I'd like to discuss the possibility and implications of autorequiring > parent directories of the home directory for user resources. > > As stated in the PR, the idea came from stumbling upon a code like this > one: > > file { '/srv/home': ensure => directory }file { '/home': ensure => link, > target => '/srv/home' } -> User <| |> > > > where it made a lot of sense that all users should just autorequire the > nearest parent directory to their home directory. > > What are your thoughts on this feature? > >
My sincere apologies for my part in what I now recognize as taking this thread off on a tangent. The lively discussion we had, however, did allow me to frame my general position on autorequirements, which is that they should be implemented only when they are directly indicated by the nature of the resource. If User resources *can* be applied without first applying the File resources representing their home directories, then there should be no autorequirement. John -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/b8d5e560-9357-4d8f-8234-3b593d9be246%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.