search for: active_interfac

Displaying 1 result from an estimated 1 matches for "active_interfac".

Did you mean: active_interface
2011 May 20
1
puppet code to find out which is the first active network interface
I have a piece of shell script as below: ACTIVE_INTERFACE=`/sbin/ifconfig | /bin/gawk '' /^eth/ { print $1 } '' | /usr/bin/head -1` How do I translate it to puppet code, for example to assign the result as a variable to use? Thanks, -Haiyan -- You received this message because you are subscribed to the Google Groups "Puppet Users...