use chef generate to create cookbook

add ip address
use java cookbook