This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ grep 'node\[:network\]\[:interfaces\].' \#chef.log | |
10:15 < mkent_> node[:network][:interfaces][:eth1][:addresses] | |
22:24 <+Damm> msf, just pulling in the node[:network][:interfaces] attributes | |
20:44 < randybias> node[:network][:interfaces][:eth0][:addresses] | |
09:13 < sinBot> so fujin if I wanted to use that in an erb template, it'd be <%= @node[:network][:interfaces]["en1"]["addresses"].select{address}.flatten.to_str %> ? | |
12:27 < cwj> if i have an ipv4 ip address set on eth0, will it always be in @node[:network][:interfaces][:eth0][1] ? | |
02:19 < pluesch0r> however, i don't seem to be able to access @node[:network][:interfaces]... from inside the attributes file. | |
19:52 <@jtimberman> or node[:network][:interfaces][:eth0][:addresses][0] | |
20:09 < seryl> well, it's searchable. I'm trying the @node[:network][:interfaces][:eth0][:addresses][0] route, but getting blanks right now, playing around with it in chef solo | |
20:29 < kallistec> pp node[:network][:interfaces].current_attribute |