문제

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"] = ?????
도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top