Having a brain storm this morning I had a thought.  This can be dangerous
at times.

I have an infrastructure where I am moving user authentication to be LDAP
based. Further I am working out how to create host groups in LDAP such that
I can group which user can log into what hosts.  For instance I have

$users = ['tom','dick','jaine','harry','sally']

apple_host_users = ['tom','jane','sally']

bannana_host_users=['dick','harry']
etc.

Only instead of puppet arrays I'd be doing this in LDAP.

Has anybody managed to come up with a class or define that would query an
LDAP server for a hostgroup and create the home directories and apply a
skeleton to those directories based on the users in the host group?

I'm thinking this is probably going to have to be a custom fact...


-- 
Peter L. Berghold
Owner, Shark River Technical Solutions LLC

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to