Rafael Cristaldo
2014-Feb-10 14:15 UTC
[Puppet Users] Puppet manage HOMES on Desktop Computers
Hi All! Has anybody already needed to manage HOMES on desktops computers with puppet ? I have create a class to manage the /etc/skel directory...so the problem is that after thet the user loggin ... the home has been created em copied all /etc/skel files.. But NOW i need to put another LINK for exemplo.... The class create the new LINK at /etc/skel ...but how to create the link into /home/$USER ?? I have more than 500 computers... and they are into a Domain Controller with samba and winbind and LDAP. With shell script is something like this: ########################################################### #/bin/bash for i in /home/* do if [ -d "$i" ] then touch $i/Desktop/teste.txt fi done ############################################################ This works fine..but how to create this like a class in PUPPET? Thanks!! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/04a754f5-0220-4639-9cf4-6fda0e9a5c0a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.