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). Thanks, Felix -- 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/54F9B3CA.7030700%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/d/optout.