[chef] Chef Search for Node Discovery.


Chronological Thread 
  • From: Douglas Garstang < >
  • To:
  • Subject: [chef] Chef Search for Node Discovery.
  • Date: Fri, 12 Jun 2015 22:01:40 -0700

I haven't tried this for a while, so I thought I'd see if there was any progress.

I need to write a cookbook that discovers other chef nodes. The issue with chef search is that nodes don't report in until they've done their first chef client run, which means that the client has to run twice on the one doing the discovering, but... that also applies to the one that wants to be discovered. End result, not automated. This has basically made chef search unusable in every situation for me where it might otherwise be useful.

Is there a better way? I'm on EC2. My other option was to write an ohai plugin to scan ec2 and return instances matching the correct criteria.

Thanks,
Doug



Archive powered by MHonArc 2.6.16.

§