How do I create local user's account and LDAP user's account in a mixed environment
We have a mixed environment that most servers (Linux) are LDAP clients that are managed by LDAP servers. User's account information is stored on LDAP servers (Sun One Directory Server). However, there are a number of servers that are not LDAP managed and user's accounts are stored locally. We try to manage adding new user's account in an automated fashion using puppet. But I don't know how I can accomplish this thing in such a mixed environment. Typically when we do this task not using puppet, we'll add an entry to LDAP servers then create new user's home directory only on LDAP clients, then we'll update local /etc/passwd, /etc/shadow files then create new user's home directory on non-LDAP clients. How do I do this in puppet?