I've got a module that installs and configures LDAP for user authentication. I've got another module that creates user directories and another that assigns ssh keys.
Using runstages I force the "ldap" module to run first and the "user" and "ssh_keys" modules to run last. LDAP is installed but the exec that creates user directories and the ssh_authorized_key type fail since they can't see the LDAP users. The reason being, I'm assuming, is because when the manifest is compiled, the LDAP users don't exist. So ssh_authorized_key fails, even if the LDAP user information can be retrieved, by the time the ssh_keys module runs. Is there any way around this? If I run the puppet agent twice, all is well. It would just be nice to do it in one run. Thanks, -- Kent -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2BnSE38wWZn5vgv0bKC8kb5pjtdoQ8hHPK%2BWdajXGdssbOdHpA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
