[chef] Re: Creating authorized_keys for LDAP users.


Chronological Thread 
  • From: David Petzel < >
  • To:
  • Subject: [chef] Re: Creating authorized_keys for LDAP users.
  • Date: Mon, 26 Jan 2015 17:40:57 -0500

Have you tried reloading Ohai after your recipe that sets up LDAP runs? I would presume Chef doesn't know about your users because Ohai is run before you have LDAP setup. Reloading Ohai might get the ball rolling and your users might get discovered.

https://docs.chef.io/resource_ohai.html#examples

On Mon, Jan 26, 2015 at 5:29 PM, Douglas Garstang < " target="_blank"> > wrote:
I'm having trouble setting up users authorized keys. A cookbook that runs earlier in the runlist sets up LDAP. However, due to reasons I don't understand, none of that user information is available during the chef run.




Archive powered by MHonArc 2.6.16.

§