[chef] Re: How do I configure /etc/network/interfaces using chef?


Chronological Thread 
  • From: Kenneth Barry < >
  • To:
  • Subject: [chef] Re: How do I configure /etc/network/interfaces using chef?
  • Date: Wed, 19 Mar 2014 09:08:56 -0700

I'm going to take an initial whack at this, and say I "think" its going to be something like

node[network][interfaces].each do |nic|
[whatever you want to do here]

Youll probably wanna add a bit of logic just after that first line to help ignore it is the nic is the lo nic.

Other will certainly improve on this.


On Wed, Mar 19, 2014 at 8:10 AM, Maciek Misztal < " target="_blank"> > wrote:
I'm looking for a way to configure N (N=3) ubuntu nodes with 2 network interfaces each - since I'm a complete newb, what is the proper way to do it?

Regards,
Maciej




Archive powered by MHonArc 2.6.16.

§