curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -v 13.6.0
Note: If you don't have the /tmp/node.json file, you can get it by running
sudo cfn-init -v -c secondpass -s <StackName> -r AllInOneEC2Instance --region <AWS::Region>
"java" : {
"install_flavor" : "oracle",
"jdk_version" : "8",
"oracle" : {
"accept_oracle_download_terms" : true
}
"java":{
"install_flavor":"openjdk",
"jdk_version":"8"
}
sudo chef-solo -j /tmp/base_enterprise_allinone_ubuntu.json