Am 01.04.2011 11:11, schrieb spidernik84:
1. puppet detects the logged in username and sets this as a variable 2. puppet outputs a customized .gtk-bookmarks file with the network paths inside, in this format smb://domain.com;[email protected]/home$/johndoe Johndoe share 3. puppet saves this file as /home/johndoe/.gtk-bookmarks
I don't think that Puppet is designed to support this sort of interactive behavior. I'd rather suggest to deploy a custom shell script via Puppet that performs the outlined actions on a user's first login. For example, pam_exec is providing this functionality. Something in /etc/profile (or your login shell's equivalent) would also be feasible.
Regards Christian -- Dipl.-Inf. Christian Kauhaus <>< · [email protected] · systems administration gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 11 · fax +49 345 1229889 1 Zope and Plone consulting and development -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
