- From: "David F. Severski" <
>
- To:
- Subject: [chef] Detecting AWS VPC w/OHAI
- Date: Thu, 1 May 2014 09:42:45 -0700
Ohai, Chefs!
I'm a relative newbie with Chef and I need to put some conditional logic in a recipe to branch on whether or not a node is running on AWS. I've seen some search results that indicate ohai won't pick up if a node is running on AWS VPC (like mine are) without a specific hints file being added, but I'm not sure how to do that. Is there some guidance or docs that detail how to set things up so that my node attributes have something that indicates whether or not the node is on AWS VPC? I'm launching nodes via Vagrant w/Chef-Solo V11 and assume there's some magic around the node.json and/or ohai cookbook that's needed.
Thanks!
David
- [chef] Detecting AWS VPC w/OHAI, David F. Severski, 05/01/2014
Archive powered by MHonArc 2.6.16.