On 02/10/2014 12:09 PM, Rafael Cristaldo wrote:
> Hi Joseph Swick !
> 
> Thanks for the answer !
> 
> This really can help me! .. but thereis some questions about your manifest.
> 
> Did you build custom factes for ${username} and ${homedir_real} ? Or you 
> propose to edit it and change this values to the real Username and Homdir ?

Sorry, I should have pointed out that those are parameters/variables in
our custom module.  For $homedir_real, it takes homedir as an optional
parameter, if it's not set, then it uses a default based on the
username, then assigns it to $homedir_real.  If $homedir is set, then it
gets assigned to $homedir_real.

For $username, that's taken from the title of the define for actually
creating the users in our user management module as we're managing users
from within Puppet.  After re-reading your original message, I noticed
that you stated you're managing users from LDAP, so I'm not sure if this
is something you could easily incorporate into puppet to take care of,
unless it's a custom script that you push out via puppet and create a
cronjob for.


> This is really a very valid option to keep both directories (/etc/skel and 
> /home/USER) with same files...but it does not REMOVE files from the HOME 
> directory that i don't need anymore, just remove from /etc/skel

Unfortunately no, it won't clean up anything that's been removed from
/etc/skel, only update user's home directories with new items in there.
 But that's likely due to our different use case.


> Anyway thanks for your help.
> 


-- 
Joseph Swick <joseph.sw...@meltwater.com>
Operations Engineer
Meltwater Group

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to