0

I have some doubts about a specific attribute of bluepill cookbook.

default["bluepill"]["bin"] = "#{node['languages']['ruby']['bin_dir']}/bluepill

Where and when is defined this value?

I want to use the bluepill as a system's gem and not as a chef's gem, What values or options I have for this attribute:

default["bluepill"]["bin"] = ?????
Robert
  • 10,403
  • 14
  • 67
  • 117

1 Answers1

1

That value comes from Ohai, which is a tool used by Chef to get the JSON representation of important system information (like where a Ruby lives or what users are present on a system).

That attribute may be changed to any value, but it must point to a Ruby that exists on the system. Note: that attribute does not install Ruby - it just tells Bluepill where to find Ruby.

sethvargo
  • 26,739
  • 10
  • 86
  • 156