That's a really good point and an unfortunate situation, kind of like the group/user dependency chain for removals.
So, there goes that thread :-) On Fri, Mar 6, 2015 at 9:23 AM, Erik Dalén <[email protected]> wrote: > > > On Fri, 6 Mar 2015 at 15:04 Felix Frank <[email protected]> > wrote: > >> On 03/06/2015 02:45 PM, Trevor Vaughan wrote: >> > file { '/export': ensure => 'directory' } >> > file { '/export/home': ensure => 'directory' } >> > user { 'foo': home => '/export/home/foo' } # This probably needs to come >> > after /export/home, otherwise the user will get a nasty surprise when >> > they first login >> > >> > Sure, I *can* create the user without having the directory in place. But >> > what good does that do anyone? >> >> Ah, a misunderstanding. It had actually not occured to me that users >> might manage the $HOME dir as a file resource as well, and that we >> should autorequire that. I'm all caught up in autorequiring the parent. >> >> And yes, both these things do make sense. I see no issues with adding >> the relationship to either homedir or parent. (It's parent+1 that makes >> no sense, but we agree on that as well). >> > > Won't the $HOME file resource autorequire the user resource already? At > least if $HOME is owned by $USER, which it usually is. So then you would > get a dependency loop. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-dev/CAAAzDLfcUqwhAAg-k_KF%2BGU%2B1txbSfg6%2Bbgh6Y1OXjojfK5e5w%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-dev/CAAAzDLfcUqwhAAg-k_KF%2BGU%2B1txbSfg6%2Bbgh6Y1OXjojfK5e5w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 [email protected] -- This account not approved for unencrypted proprietary information -- -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoVim-bzk3XPt0NDQxGWYCTJ5-JSBikZxm49ELLAeFxA9w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
